Description of problem: calling /usr/share/vdsm/daemonAdapter -h does not only give help but produces traceback too. Version-Release number of selected component (if applicable): yum list installed | grep vdsm vdsm.x86_64 4.14.9-0.fc20 How reproducible: 100% Steps to Reproduce: 1. /usr/share/vdsm/daemonAdapter -h Actual results: Output gives: usage: daemonAdapter [-h] [-0 dest] [-1 dest] [-2 dest] [--syslog] targetFullPath ... Start daemon process with various daemon options positional arguments: targetFullPath Full path of the target binary to start target_opt0 target_opt1 ... Add options to be passed to target optional arguments: -h, --help show this help message and exit -0 dest, --stdin dest Redirect stdin to new destination -1 dest, --stdout dest Redirect stdout to new destination -2 dest, --stderr dest Redirect stderr to new destination --syslog Reporting errors to syslog when specified Traceback (most recent call last): File "/usr/share/vdsm/daemonAdapter", line 68, in execute self._parse_args() File "/usr/share/vdsm/daemonAdapter", line 57, in _parse_args self._args = parser.parse_args(sys.argv[1:]) File "/usr/lib64/python2.7/argparse.py", line 1688, in parse_args args, argv = self.parse_known_args(args, namespace) File "/usr/lib64/python2.7/argparse.py", line 1720, in parse_known_args namespace, args = self._parse_known_args(args, namespace) File "/usr/lib64/python2.7/argparse.py", line 1926, in _parse_known_args start_index = consume_optional(start_index) File "/usr/lib64/python2.7/argparse.py", line 1866, in consume_optional take_action(action, args, option_string) File "/usr/lib64/python2.7/argparse.py", line 1794, in take_action action(self, namespace, argument_values, option_string) File "/usr/lib64/python2.7/argparse.py", line 995, in __call__ parser.exit() File "/usr/lib64/python2.7/argparse.py", line 2349, in exit _sys.exit(status) SystemExit: 0 Error in daemonAdapater: None Expected results: call should only show help.
Error still exists on vdsm 4.16.10
ovirt-3.6.0-3 release
Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA.
This issue should be fixed in oVirt 3.6.0 released on November 4th 2015 but still need to be checked by QE
verified in vdsm-4.17.13-1.el7ev.noarch
oVirt 3.6.0 has been released and the bz verified, moving to closed current release.