Bug 1209398
| Summary: | virt-viewer --wait option should require a domain name | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Pavel Grunt <pgrunt> |
| Component: | virt-viewer | Assignee: | Pavel Grunt <pgrunt> |
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.7 | CC: | cfergeau, dblechte, fidencio, juzhou, mzhan, rbalakri, tpelka, tzheng, xiaodwan |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-viewer-2.0-5.el6 | Doc Type: | Bug Fix |
| Doc Text: |
No doc needed
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-22 06:32:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pavel Grunt
2015-04-07 09:43:03 UTC
I can reproduce this bug with: virt-viewer-2.0-4.el6.x86_64 Tested with: virt-viewer-2.0-5.el6.x86_64 # virt-viewer --wait Missing argument for --wait Run 'virt-viewer --help' to see a full list of available command line options Refer to the above comments,the bug has been fixed,so move the bug to VERIFIED. Since a new fix in virt-viewer for "--wait" option: https://bugzilla.redhat.com/show_bug.cgi?id=1211573#c2 Test this bug again with new virt-viewer virt-viewer-2.0-6.el6.x86_64 1. Check virt-viewer help info # virt-viewer --help ... -w, --wait Wait for domain to start ... 2. # virt-viewer --wait No DOMAIN-NAME|ID|UUID was specified for '--wait' Result: Above result is as expected, '--wait' shouldn't be used without a domain name, keep this bug in VERIFIED status. Changing this behaviour was a command line API breakage. We decided for reverting the patch to avoid the breakage. (In reply to Fabiano FidĂȘncio from comment #6) > Changing this behaviour was a command line API breakage. > We decided for reverting the patch to avoid the breakage. Hi fidenci, I have tested the behavior of "--wait" in bug 1211573 and showing here, thanks. Test it with new virt-viewer version: virt-viewer-2.0-6.el6.x86_64 1. # virt-viewer --wait --debug No DOMAIN-NAME|ID|UUID was specified for '--wait' Result: Error message is expected, to tell user '--wait' shouldn't be used without a domain name. 2. Running guest: # virt-viewer --wait --debug cdrom-rhel6u7-x64 Result: Guest launch with debug information displayed. Shutdown guest: virt-viewer window launched and showing "waiting for guest domain for start" and debug info displayed. 3. Running guest: # virt-viewer --debug --wait cdrom-rhel6u7-x64 Result: Guest launch with debug information displayed. Shutdown guest: virt-viewer window launched and showing "waiting for guest domain for start" and debug info displayed. 4. --wait sequence testing: Running guest: # virt-viewer --wait cdrom-rhel6u7-x64 # virt-viewer cdrom-rhel6u7-x64 --wait Result: Guest launched successfully. Shutdown guest: virt-viewer window launched and showing "waiting for guest domain for start" 5. Negative testing # virt-viewer --wait=cdrom-rhel6u7-x64 No DOMAIN-NAME|ID|UUID was specified for '--wait' All above steps and results are as expected. 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/RHBA-2015-1322.html |