Description of problem: taskcleaner.sh asks password when no arguments are provided. /usr/share/ovirt-engine/scripts/taskcleaner/taskcleaner.sh;echo $? psql: warning: extra command-line argument "engine" ignored Password for user -h: Version-Release number of selected component (if applicable): sf10.1 How reproducible: 100% Steps to Reproduce: 1. `/usr/share/ovirt-engine/scripts/taskcleaner/taskcleaner.sh` 2. 3. Actual results: Expected results: Additional info: Also default params not working properly (try `taskcleaner.sh -z` only) - same result (asking pwd for user '-h') - I think it's same root cause.
fixed in commit: 9730a85
Verified on sf-13: [root@istein-32 ovirt-engine]# /usr/share/ovirt-engine/scripts/taskcleaner/taskcleaner.sh Usage: taskcleaner.sh [-h] [-s server] [-p PORT]] [-d DATABASE] -u USERNAME [-l LOGFILE] [-t taskId] [-c commandId] [-z] [-R] [-C] [-J] [-A] [-q] [-v] -s SERVERNAME - The database servername for the database (def. localhost) -p PORT - The database port for the database (def. 5432) -d DATABASE - The database name (def. engine) -u USERNAME - The admin username for the database. -l LOGFILE - The logfile for capturing output (def. taskcleaner.sh.log) -t TASK_ID - Removes a task by its Task ID. -c COMMAND_ID - Removes all tasks related to the given Command Id. -z - Removes/Displays a Zombie task. -R - Removes all Zombie tasks. -C - Clear related compensation entries. -J - Clear related Job Steps. -A - Clear all Job Steps and compensation entries. -q - Quite mode, do not prompt for confirmation. -v - Turn on verbosity (WARNING: lots of output) -h - This help text.
3.2 has been released