Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1488466

Summary: [RFE] Improve taskcleaner & unlock_entity execution
Product: [oVirt] ovirt-engine Reporter: Yaniv Kaul <ykaul>
Component: Tools.ExtensionsAssignee: Miroslava Voglova <mvoglova>
Status: CLOSED CURRENTRELEASE QA Contact: Gonza <grafuls>
Severity: high Docs Contact:
Priority: low    
Version: 4.2.0CC: apinnick, bgraveno, bugs, mperina, ylavi
Target Milestone: ovirt-4.2.0Keywords: FutureFeature
Target Release: 4.2.0Flags: mperina: ovirt-4.2?
grafuls: testing_plan_complete-
rule-engine: planning_ack?
mperina: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The taskcleaner and unlock_entity execution scripts have both had options for user, database, port and server names removed (-u, -d, -p, -s). Also there is no more need to export PGPASSWORD. All values are now obtained from the Manager configuration files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 11:46:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yaniv Kaul 2017-09-05 12:53:15 UTC
Description of problem:
This is the current way to execute the task cleaner:
# source /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
# export PGPASSWORD=$ENGINE_DB_PASSWORD
# cd /usr/share/ovirt-engine/setup/dbutils
# ./taskcleaner.sh -A -J -z -R -u engine -d engine


I'm sure the task cleaner could easily get the password from /etc/ovirt-engine/engine.conf.d/10-setup-database.conf and save at least 2 lines of copy-paste, which may cause errors.

Comment 2 Gonza 2017-11-22 08:06:12 UTC
Verified with:
ovirt-engine-4.2.0-0.0.master.20171119135709.git6d448d3.el7.centos.noarch

Comment 3 Red Hat Bugzilla Rules Engine 2017-11-22 08:06:17 UTC
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.

Comment 4 Sandro Bonazzola 2017-12-20 11:46:55 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.