Bug 1348479
| Summary: | [OpenBSD] opening spice console fails with Error: spice-client-error-quark: USB redirection support not compiled in (0) | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Jiri Belka <jbelka> |
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | berrange, crobinso, gscrivan, rbalakri |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-21 13:03:44 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: | |||
Thanks for the report, should be fixed upstream now:
commit e69cc002b10b49a77f1cd5170931e5e9209ab240
Author: Cole Robinson <crobinso>
Date: Tue Jun 21 09:01:32 2016 -0400
viewers: spice: Catch failure to setup usbdev manager
Since some distros like openbsd don't compile support for
usb redirection, which makes this fail
https://bugzilla.redhat.com/show_bug.cgi?id=1348479
If that doesn't work, please reopen
git clone git://github.com/virt-manager/virt-manager
cd virt-manager
./virt-manager --debug
Works fine with above diff which SPICE server listening on all interfaces though. |
Description of problem: I used virt-manager installed on OpenBSD 6.0-beta (x86-64 aka amd64) and connected via qemu+tls to RHEV EL7 host. When I tried to open SPICE console of a VM, it always fails with: ~~~ [Tue, 21 Jun 2016 10:55:28 virt-manager 72140] DEBUG (console:717) Starting connect process for proto=spice trans= connhost=dell-r210ii-04.example.com connuser= connport= gaddr=127.0.0.1 gport=5902 gtlsport=5903 gsocket=None [Tue, 21 Jun 2016 10:55:28 virt-manager 72140] ERROR (console:736) Error connection to graphical console Traceback (most recent call last): File "/usr/local/share/virt-manager/virtManager/console.py", line 734, in _init_viewer self._viewer.console_open() File "/usr/local/share/virt-manager/virtManager/viewers.py", line 247, in console_open return self._open() File "/usr/local/share/virt-manager/virtManager/viewers.py", line 166, in _open self._open_host() File "/usr/local/share/virt-manager/virtManager/viewers.py", line 706, in _open_host self._create_spice_session() File "/usr/local/share/virt-manager/virtManager/viewers.py", line 542, in _create_spice_session self._spice_session) Error: spice-client-error-quark: USB redirection support not compiled in (0) ~~~ OpenBSD does not have usbredir. OpenBSD spice-gtk[1] package is built with '--disable-usbredir' option. I'm not sure why usbredir is used, the VM does not have 'USB redirection' device at all. [1] http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/x11/spice-gtk/Makefile Version-Release number of selected component (if applicable): 1.4.0 How reproducible: 100% Steps to Reproduce: 1. have a VM with spice console on a Linux box (I have RHEV EL7 host) 2. have OpenBSD client with virt-manager 3. connect to remote libvirtd and open spice console of a VM Actual results: spice console cannot be opened because of usbredir issue Expected results: should work as the VM does not have usbredir device thus it should be not an issue Additional info: ping me on irc if needed any help with the client part