Bug 1079211
| Summary: | virt-viewer --direct fails to connect to remote guest configured with listen="0.0.0.0" | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | tingting zheng <tzheng> | |
| Component: | virt-viewer | Assignee: | Christophe Fergeau <cfergeau> | |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 7.0 | CC: | cfergeau, codong, dblechte, dyuan, jjongsma, marcandre.lureau, mzhan, rbalakri | |
| 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: |
The scenario described in comment 7 (https://bugzilla.redhat.com/show_bug.cgi?id=1079211#c7) failed. It now should work.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1085210 (view as bug list) | Environment: | ||
| Last Closed: | 2015-03-05 13:38:58 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: | ||||
| Bug Blocks: | 1085210 | |||
|
Description
tingting zheng
2014-03-21 08:45:15 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. For scenario 2, I had to disable firewalld on the host (systemctl stop firewalld.service) before being able to successfully run the command, but after that it worked. Please test remote-viewer vnc://10.66.5.145:5900 if scenario 2 is still not working for you after disabling the firewall. If it's working with the firewall disabled, then a bug should be opened against 'another' component to have it fixed (dunno if libvirt or firewalld is the relevant component). If you can still hit the bug with the firewall disabled, can you open a new bug for that as the issue would be different from scenario 3. For scenario 3, this should be fixed by https://www.redhat.com/archives/virt-tools-list/2014-April/msg00021.html This bug has been present since virt-viewer 0.5.5 so it most likely impacts RHEL6 as well. (In reply to Christophe Fergeau from comment #3) > For scenario 2, I had to disable firewalld on the host (systemctl stop > firewalld.service) before being able to successfully run the command, but > after that it worked. Please test remote-viewer vnc://10.66.5.145:5900 if > scenario 2 is still not working for you after disabling the firewall. If > it's working with the firewall disabled, then a bug should be opened against > 'another' component to have it fixed (dunno if libvirt or firewalld is the > relevant component). If you can still hit the bug with the firewall > disabled, can you open a new bug for that as the issue would be different > from scenario 3. I tested again with scenario 2: When I disable firewalld service on host 10.66.5.145,then virt-viewer works.After start the firewalld service,error shows as description.So I filed a new firewalld bug 1084367. Hi, Christophe
I noticed that you changed the title of the bug,What about scenario 1? Why does local vm affect --direct to launch remote vm as step 2.2 in scenario 1 describes.
I totally missed this (too many separate issues in the same bug :( I opened bug #1084393 to track scenario 1 To make things clear, this bug is now only about scenario 3:
Scenario 3:
1.On host A(ip:10.66.5.145),prepare a vnc guest.
# virsh dumpxml demo-vnc
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'/>
2.On host B(ip:10.66.5.7),use virt-viewer --direct to launch the guest on host A,it fails with error:
# virt-viewer --direct -c qemu+ssh://10.66.5.145/system demo-vnc
Unable to connect to the graphic server localhost:5900
Tested pass with:
virt-viewer-0.6.0-1.el7.x86_64
Steps:
1.On host A,prepare a vnc guest.
# virsh dumpxml demo-vnc
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'/>
2.On host B,use virt-viewer --direct to launch the guest on host A.
# virt-viewer --direct -c qemu+ssh://$hostA/system demo-vnc
guest can be launched successfully and the password only need once authtication.
Tested the above steps for spice guest and get the same results,so move the bug to 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 |