RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1377551 - RFE: backport unix sockets support from spice-server upstream
Summary: RFE: backport unix sockets support from spice-server upstream
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice
Version: 7.3
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: 7.4
Assignee: Default Assignee for SPICE Bugs
QA Contact: SPICE QE bug list
Yehuda Zimmerman
URL:
Whiteboard:
Depends On: 1388947
Blocks: 1335832 1395265
TreeView+ depends on / blocked
 
Reported: 2016-09-20 05:57 UTC by Fangge Jin
Modified: 2017-08-01 16:06 UTC (History)
13 users (show)

Fixed In Version: spice-0.12.8-1.el7
Doc Type: If docs needed, set a value
Doc Text:
No documentation needed.
Clone Of:
Environment:
Last Closed: 2017-08-01 16:06:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1866 0 normal SHIPPED_LIVE spice bug fix and enhancement update 2017-08-01 17:52:34 UTC

Description Fangge Jin 2016-09-20 05:57:16 UTC
Description of problem:
Libvirt supports spice graphic to listen on a unix socket since RHEL7.3, but this function is not supported by spice in RHEL7.3.

Version-Release number of selected component (if applicable):
spice-server-0.12.4-18.el7.x86_64
qemu-kvm-rhev-2.6.0-25.el7.x86_64
libvirt-2.0.0-8.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Configure a guest to use spice graphic and listen type='socket':
  # virsh dumpxml rhel7.3-0817
  ...
    <graphics type='spice'>
      <listen type='socket'/>
    </graphics>

2.Start guest
  # virsh start rhel7.3-0817
  error: Failed to start domain rhel7.3-0817
  error: unsupported configuration: unix socket for spice graphics are not  supported with this QEMU


Actual results:
Guest failed to start

Expected results:
Guest can start sucessfully

Additional info:
The upstream spice patch:
commit 5365caeaae537f564d160936e60f71b2dc964ad1
Author: Marc-André Lureau <marcandre.lureau>
Date:   Thu Jan 8 16:05:57 2015 +0100

    reds: add Unix socket support
    
    Learn to listen on a Unix address. In this case, the connection is plain
    only (non-tls).

Comment 2 Christophe Fergeau 2016-09-20 07:38:56 UTC
(In reply to JinFangge from comment #0)
> Description of problem:
> Libvirt supports spice graphic to listen on a unix socket since RHEL7.3, but
> this function is not supported by spice in RHEL7.3.

What is your ultimate usecase for having this feature? I understand it's missing in RHEL7.3, but knowing you would need that feature in order to achieve X and Y would be useful to move this RFE forward.

Comment 3 Xuesong Zhang 2016-09-20 08:26:09 UTC
(In reply to Christophe Fergeau from comment #2)
> (In reply to JinFangge from comment #0)
> > Description of problem:
> > Libvirt supports spice graphic to listen on a unix socket since RHEL7.3, but
> > this function is not supported by spice in RHEL7.3.
> 
> What is your ultimate usecase for having this feature? I understand it's
> missing in RHEL7.3, but knowing you would need that feature in order to
> achieve X and Y would be useful to move this RFE forward.

hi, Christophe,

Please see the description in BZ 1335832, and needinfo phrdina@ if you still have any questions about this feature. 
Since we are the QE of libvirt component, we can not verify the libvirt BZ1335832 with the downstream spice, then file one spice bug for tracking in RHEL7.4.

Comment 5 Radek Duda 2017-04-13 14:02:41 UTC
I wanted to verify this using
libvirt-3.2.0-2.el7.x86_64
spice-server-0.12.8-1.el7.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.9.x86_64

but only reproduced the problem:

error: Failed to start domain rhel7.2-2test
error: unsupported configuration: unix socket for spice graphics are not supported with this QEMU

Is there still some part missing?

Comment 6 Radek Duda 2017-04-13 15:00:40 UTC
Sorry I overlooked relevant qemu-kvm-rhev version

Comment 9 errata-xmlrpc 2017-08-01 16:06:08 UTC
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:1866


Note You need to log in before you can comment on or make changes to this bug.