Bug 971285
| Summary: | Rhevm-shell fails on "exit" command when "disconnect" command is used just before it in batch mode | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Michael Pasternak <mpastern> | |
| Component: | ovirt-engine-cli | Assignee: | Michael Pasternak <mpastern> | |
| Status: | CLOSED ERRATA | QA Contact: | Ilia Meerovich <iliam> | |
| Severity: | low | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.2.0 | CC: | acathrow, bazulay, iheim, jkt, oramraz, Rhev-m-bugs, rhodain, sgrinber | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | 3.2.1 | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | infra | |||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 971277 | |||
| : | 997891 (view as bug list) | Environment: | ||
| Last Closed: | 2013-07-16 15:30:35 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: | ||||
| Bug Depends On: | 971277 | |||
| Bug Blocks: | 997891 | |||
|
Description
Michael Pasternak
2013-06-06 08:05:07 UTC
Hello, I have some additional information. This issue is not exactly related to the command sequence of the commands, but rather to the state of the connection. Simply if the cli is not connected, the "exit" command triggers the error message. [imeerovi@imeerovi ~]$ rpm -qa | grep rhevm-cli rhevm-cli-3.2.1.1-1.el6ev.noarch [imeerovi@imeerovi ~]$ vim foo [imeerovi@imeerovi ~]$ rhevm-shell -f ./foo error: missing configuration variable: url. [RHEVM shell (disconnected)]# connect -l https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I ========================================== >>> connected to RHEVM manager 3.2.0.0 <<< ========================================== [RHEVM shell (connected)]# disconnect ======================================= >>> disconnected from RHEVM manager <<< ======================================= [RHEVM shell (disconnected)]# exit [imeerovi@imeerovi ~]$ cat ./foo connect -l https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I disconnect exit [imeerovi@imeerovi ~]$ 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-1079.html |