Red Hat Bugzilla – Bug 891080
RHEVM-CLI: Wrong error when passing empty kwargs to CLI
Last modified: 2016-02-10 14:32:32 EST
Description of problem: Wrong error when passing empty kwargs ( see additional information ) BTW I'm not sure that kwargs is the best parameter name , since CLI will be used also by non programmers users . Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: [RHEVM shell (connected)]# list quotas --datacenter-identifier 5849b030-626e-47cb-ad90-3ce782d831b3 --kwargs unknown error: 'NoneType' object has no attribute 'split' [RHEVM shell (connected)]# list vms --kwargs unknown error: 'NoneType' object has no attribute 'split'
I would change this error as well: [RHEVM shell (connected)]# list vms --kwargs "ssss" unknown error: need more than 1 value to unpack
http://gerrit.ovirt.org/10620
new patch http://gerrit.ovirt.org/#/c/10678/
[RHEVM shell (connected)]# list quotas --datacenter-identifier e594779b-92ae-4c07-842c-eca3e427ea59 --kwargs error: --kwargs constraint cannot be empty. Verified sf5
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0890.html