Bug 1024312
| Summary: | The viewer window still open if remote-viewer gui tool cannot connect the guest | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | CongDong <codong> |
| Component: | virt-viewer | Assignee: | Christophe Fergeau <cfergeau> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | cfergeau, codong, dblechte, dyuan, jjongsma, mzhan, rbalakri, tzheng |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | virt-viewer-0.6.0-1.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Connection failures not handled properly
Consequence: After retrying and connecting properly, the window will show the old (failed) URL as the window title
Fix: Close the display window upon connection failure, and reset the title on each retry
Result: Windows always show the correct title.
|
Story Points: | --- |
| Clone Of: | 1024309 | Environment: | |
| Last Closed: | 2015-03-05 13:38:28 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: | |||
| Bug Depends On: | 1024309 | ||
| Bug Blocks: | |||
|
Description
CongDong
2013-10-29 11:24:12 UTC
I can reproduce the bug with package below: # rpm -qa virt-viewer virt-viewer-0.5.7-2.el7.x86_64 remote-viewer gui tool fail to connect the guest, and the viewer window still open. Open viewer by the correct url, the window title will keep the wrong one (In reply to CongDong from comment #0) > If the remote-viewer gui tool fail to connect the guest, the viewer window > still open. Should be fixed by https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=2f890cf2f5faec0d859df3d8ce91a8f9ad7f5dfd > After that, input a right uri to connect a guest, the window title will keep > the wrong one you input first time. And this one should be fixed by https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=b19a246c5cac54ff0570d482f78cc0172ea2d884 Fixed by rebase to 0.6.0 I can reporduce with : virt-viewer-0.5.7-7.el7.x86_64 VERIFY: Steps: 1. # remote-viewer 2. Input a wrong address which does not exist, and try to connect "spice://123456" 3. An error dialog comes out: "Unable to connect to the graphic server spice://123456" 4. Click "OK" button, the gui tool will show again. 5. Input a right uri and connect the guest. Result: Step4, error message is ok, and after the gui show again, no other window Step5, can connect guest, the message in window title is right. Also test with other uri like: vnc://xxx.xxx.xxx.xxx:xxxx spice://xxx.xxx.xxx.xxx:xxxx $connection_file All of them can get the expected result. As the result, set VERIFIED. 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-0295.html |