Bug 1969660

Summary: error when redirecting usb in virt-manager
Product: [Fedora] Fedora Reporter: Cenk Kulacoglu <cenk>
Component: spice-gtkAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: alon, berrange, cfergeau, hdegoede, marcandre.lureau, sandmann, victortoso
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-08 23:00:20 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:

Description Cenk Kulacoglu 2021-06-08 21:02:22 UTC
Description of problem:
error when redirecting usb in virt-manager

Version-Release number of selected component (if applicable):
spice-gtk3-0.39-1

How reproducible:
When trying to redirect a USB device to a running vm in virt-manager, redirection cannot be done and fails with spice-client-error-quark usb redirection failed.

Steps to Reproduce:
1. Open virt-manager
2. Run a VM
3. Try redirecting a usb device to vm

Actual results:
Redirection fails

Expected results:
Redirection successful

Additional info:
According to https://forum.manjaro.org/t/solved-cannot-redirect-usb-devices-after-moving-vms-to-different-path/50363 and https://bugs.archlinux.org/task/69428 there is an issue with spice-gtk3-0.39-1 and this has been resolved with spice-gtk3-0.39-2. A possible workaround is to downgrade spice-gtk3-0.39-1 to spice-gtk3-0.38-3. I have tested and the downgrade has solved my problem and I can successfully redirect usb devices to a running vm. So it looks like a regression

Unfortunately according to https://rpmfind.net/linux/rpm2html/search.php?query=spice-gtk3 spice-gtk3-0.39-2 is available for Fedora 34 but not for Fedora 33.

Can we make spice-gtk3-0.39-2 available for Fedora 33?

Comment 1 Victor Toso 2021-06-08 23:00:20 UTC
This is unlikely to be in spice-gtk. There was a bug in usbredir 0.9.0 that was fixed in 0.10.0.
I just checked that usbredir 0.10.0 reached stable in F34 but was still on testing in F33, I just pushed it to stable [0].

I'll be closing this as duplicate of bug 1950258 - Feel free to reopen if updating to 0.10.0 does not solve your problem.

[0] https://bodhi.fedoraproject.org/updates/FEDORA-2021-24dd0fa996

*** This bug has been marked as a duplicate of bug 1950258 ***