Bug 1356607
| Summary: | GET calls are broken on CLI | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | sefi litmanovich <slitmano> |
| Component: | ovirt-engine-cli | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.2 | CC: | bcholler, bugs, gklein, lsurette, lsvaty, mperina, oourfali, rbalakri, Rhev-m-bugs, srevivo, tjelinek, ykaul |
| Target Milestone: | ovirt-3.6.8 | Keywords: | Rebase, Regression, ZStream |
| Target Release: | 3.6.8 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rhevm-cli-3.6.8.1-1.el6ev | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 14:11:36 UTC | 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: | |||
Included in latest 3.6.8 build, moving to ON_QA verified in rhevm-cli-3.6.8.1-1.el6ev.noarch see steps: 1. [RHEVM shell (connected)]# list datacenters id : 00000001-0001-0001-0001-0000000000ab name : Default description: The default Data Center 2. list based on autocomplete help on name - should work -> BZ#1358227 [RHEVM shell (connected)]# show datacenter --name Default ====== ERROR ===== datacenter identifier or name required. ================== 3. list based on autocomplete help on id - should work -> BZ#1358227 [RHEVM shell (connected)]# show datacenter --id 00000001-0001-0001-0001-0000000000ab ====== ERROR ===== option "--id" is not supported, see help for more details. ================= 4. supported command on name [RHEVM shell (connected)]# show datacenter Default id : 00000001-0001-0001-0001-0000000000ab name : Default description : The default Data Center local : False mac_pool-id : 0000000d-000d-000d-000d-0000000003cd quota_mode : disabled status-state : uninitialized supported_versions-version-major: 3 supported_versions-version-minor: 6 version-major : 3 version-minor : 6 5. supported command on id [RHEVM shell (connected)]# show datacenter 00000001-0001-0001-0001-0000000000ab id : 00000001-0001-0001-0001-0000000000ab name : Default description : The default Data Center local : False mac_pool-id : 0000000d-000d-000d-000d-0000000003cd quota_mode : disabled status-state : uninitialized supported_versions-version-major: 3 supported_versions-version-minor: 6 version-major : 3 version-minor 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. https://rhn.redhat.com/errata/RHEA-2016-1511.html |
Description of problem: Hi, there seems to be a regression on rhevm-cli, it looks like all the actions that require GET calls are not working. I was able e.g. to create a new vmpool which is POST. But then when I try to update it, I get : vmpool {vmpool_id} does not exist. got the same when tried to update a vm. Then tried to call show vm {vm_name} or show datacenter default.. got the same. Version-Release number of selected component (if applicable): rhevm-cli-3.6.2.1-1.el6ev.noarch rhevm-3.6.8-0.1.el6.noarch rhevm-sdk-python-3.6.8.0-1.el6ev.noarch How reproducible: always Steps to Reproduce: 1. install latest rhevm-cli and rhevm-sdk-python. 2. connect to rhevm-shell: a. download certificate from server. b. rhevm-shell -c -l https://{engine_url}/api -u admin@internal -A rhevm.cer 3. try to get information on datacenter or vm or whatver, e.g. show datacenter default Actual results: datacenter default does not exist. Expected results: get information for datacenter default. Additional info: no info in engine.log