Bug 890524
Summary: | [REST-API] : error when adding disk with missing parameters need to be fixed [TEXT] | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Oded Ramraz <oramraz> |
Component: | ovirt-engine-restapi | Assignee: | Ravi Nori <rnori> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilia Meerovich <iliam> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.2.0 | CC: | dyasny, ecohen, iheim, mpastern, oramraz, Rhev-m-bugs, sgrinber, ykaul |
Target Milestone: | --- | ||
Target Release: | 3.2.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | sf9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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: | |||
Bug Depends On: | |||
Bug Blocks: | 915537, 917401 |
Description
Oded Ramraz
2012-12-27 14:16:40 UTC
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 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |