Bug 1411765
Summary: | virt-viewer cannot connect to remote guest which is running on rhel6 and the listen type is network | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xiaodai Wang <xiaodwan> |
Component: | virt-viewer | Assignee: | Pavel Grunt <pgrunt> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.4 | CC: | dblechte, juzhou, kuwei, mxie, mzhan, pgrunt, rbalakri, tzheng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | virt-viewer-5.0-3.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 15:06:41 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: | 1410671 |
Description
Xiaodai Wang
2017-01-10 12:36:36 UTC
"socket" has same problem as "listen". <graphics type='vnc' socket='/var/lib/libvirt/qemu/domain-5-rhel7.2/vnc.sock'> <listen type='socket' socket='/var/lib/libvirt/qemu/domain-5-rhel7.2/vnc.sock'/> </graphics> <graphics type='spice'> <listen type='socket' socket='/var/lib/libvirt/qemu/domain-1-fedora25-workstation/spice.sock'/> <image compression='off'/> </graphics> It is partially blocking the bug 1335832 I verified below two scenarios with virt-viewer-5.0-3.el7.x86_64. 1) <graphics type='spice'> <listen type='socket' socket='/var/lib/libvirt/qemu/domain-4-rhel7.3-1005/spice.sock'/> <image compression='off'/> </graphics> # virt-viewer rhel7.3-1005 --debug (virt-viewer:23789): virt-viewer-DEBUG: connecting ... (virt-viewer:23789): virt-viewer-DEBUG: Opening connection to libvirt with URI <null> (virt-viewer:23789): virt-viewer-DEBUG: initial connect (virt-viewer:23789): virt-viewer-DEBUG: notebook show status 0x561e489ba2c0 (virt-viewer:23789): virt-viewer-DEBUG: virt_viewer_app_set_uuid_string: UUID changed to e8fc0fd9-8415-44b6-9ef9-cd9a8d5b05f2 (virt-viewer:23789): virt-viewer-DEBUG: notebook show status 0x561e489ba2c0 (virt-viewer:23789): virt-viewer-DEBUG: Guest rhel7.3-1005 is running, determining display (virt-viewer:23789): virt-viewer-DEBUG: Set connect info: (null),(null),-1,-1,(null),(null),(null),0 (virt-viewer:23789): virt-viewer-DEBUG: Guest rhel7.3-1005 has a spice display (virt-viewer:23789): virt-viewer-DEBUG: Guest graphics address is /var/lib/libvirt/qemu/domain-4-rhel7.3-1005/spice.sock (virt-viewer:23789): virt-viewer-DEBUG: Guest graphics listen '' is NULL or a wildcard, replacing with 'localhost' (virt-viewer:23789): virt-viewer-DEBUG: Set connect info: localhost,localhost,-1,-1,(null),/var/lib/libvirt/qemu/domain-4-rhel7.3-1005/spice.sock,(null),0 (virt-viewer:23789): virt-viewer-DEBUG: Error operation forbidden: read only access prevents virDomainOpenGraphicsFD (virt-viewer:23789): virt-viewer-DEBUG: After open connection callback fd=-1 (virt-viewer:23789): virt-viewer-DEBUG: Opening direct UNIX connection to display at /var/lib/libvirt/qemu/domain-4-rhel7.3-1005/spice.sock 2) <graphics type='spice' port='5900' autoport='yes'> <listen type='network' address='192.168.122.1' network='default'/> </graphics> (virt-viewer:15436): virt-viewer-DEBUG: Guest rhel6.9 has a spice display (virt-viewer:15436): virt-viewer-DEBUG: Guest graphics address is 192.168.122.1:5900 (virt-viewer:15436): virt-viewer-DEBUG: Set connect info: 192.168.122.1,192.168.122.1,5900,-1,ssh,(null),root,0 (virt-viewer:15436): virt-viewer-DEBUG: Error operation forbidden: read only access prevents virDomainOpenGraphicsFD (virt-viewer:15436): virt-viewer-DEBUG: After open connection callback fd=-1 (virt-viewer:15436): virt-viewer-DEBUG: Opening indirect TCP connection to display at 192.168.122.1:5900 (virt-viewer:15436): virt-viewer-DEBUG: Setting up SSH tunnel via root.122.1 virt-viewer can connect to the guests successfully. 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://access.redhat.com/errata/RHBA-2017:1849 |