Description of problem: When trying to add disk with missing parameters I get error with superfluous 0: Disk [format, interface] required for invoke0 I saw this invoke error in other places as well . 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)]# add disk --name oded error: status: 400 reason: Bad Request detail: Disk [format, interface] required for invoke0
Link : http://gerrit.ovirt.org/#/c/10820/ change id : Idc57a93fee99859ba26bcc0bd5b25035358f5734
still function name appears in error message: [imeerovi@imeerovi ART]$ /usr/bin/rhevm-shell -c --url=https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I ========================================== >>> connected to RHEVM manager 3.1.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# add disk --name this_is_bug error: status: 400 reason: Bad Request detail: Disk [format, interface] required for validateDiskForCreation [RHEVM shell (connected)]# exit [imeerovi@imeerovi ART]$ rpm -q rhevm-cli rhevm-cli-3.2.0.3-1.el6ev.noarch [imeerovi@imeerovi ART]$
It works for me with 3.2. Why does it say >>> connected to RHEVM manager 3.1.0.0 <<< in your message? (In reply to comment #2) > still function name appears in error message: > > [imeerovi@imeerovi ART]$ /usr/bin/rhevm-shell -c > --url=https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal > -I > > ========================================== > >>> connected to RHEVM manager 3.1.0.0 <<< > ========================================== > > > > ++++++++++++++++++++++++++++++++++++++++++ > > Welcome to RHEVM shell > > ++++++++++++++++++++++++++++++++++++++++++ > > > [RHEVM shell (connected)]# add disk --name this_is_bug > > error: > status: 400 > reason: Bad Request > detail: Disk [format, interface] required for validateDiskForCreation > > [RHEVM shell (connected)]# exit > [imeerovi@imeerovi ART]$ rpm -q rhevm-cli > rhevm-cli-3.2.0.3-1.el6ev.noarch > [imeerovi@imeerovi ART]$
(In reply to comment #2) > still function name appears in error message: > > [imeerovi@imeerovi ART]$ /usr/bin/rhevm-shell -c > --url=https://leonid_rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal > -I > > ========================================== > >>> connected to RHEVM manager 3.1.0.0 <<< > ========================================== > > Ilia, this is 3.2 bug, but from your cli prompt, looks like you verifying it against 3.1, please recheck on 3.2 build >= sf4
>>> connected to RHEVM manager 3.2.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# add disk --name this_is_bug --format bug --interface bug error: status: 400 reason: Bad Request detail: Disk [provisionedSize|size] required for invoke [RHEVM shell (connected)]#
with sf15: ========================================== >>> connected to RHEVM manager 3.2.0.0 <<< ========================================== ++++++++++++++++++++++++++++++++++++++++++ Welcome to RHEVM shell ++++++++++++++++++++++++++++++++++++++++++ [RHEVM shell (connected)]# add disk --name this_is_bug --format bug --interface bug error: status: 400 reason: Bad Request detail: Disk [provisionedSize|size] required for add [RHEVM shell (connected)]# [imeerovi@imeerovi ART]$ rpm -q rhevm-cli rhevm-cli-3.2.0.9-1.el6ev.noarch
3.2 has been released