Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DDescription of problem:
Disable spice filetransfer for guest, start guest, open remote-viewer, try to drag a file into guest from host, a "File transfer" dialog box pops up, but it can't be closed by click "X" or "cancel" or "right click + close"
Version-Release number of selected component:
libvirt-2.0.0-6.el7.x86_64
virt-viewer-2.0-11.el7.x86_64
spice-gtk3-0.31-5.el7.x86_64
spice-server-0.12.4-18.el7.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Prepare a guest with spice graphic and filetransfer enable='no':
# virsh edit rhel7.3-0817
...
<graphics type='spice' autoport='yes' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
<filetransfer enable='no'/>
</graphics>
2. Start guest
# virsh start rhel7.3-0817
3. Connect to guest by remote-viewer:
# remote-viewer spice://<ip>:<port>
4. Drag a file from host into guest.
5. Try to close the "File transfer" diglog
Actual results:
The "File transfer" dialog can't be closed
Expected results:
The "File transfer" dialog can be closed normally
There are two problems:
1. the dialog showing up & transfer going on - spice server should tell spice-gtk, that file transfer is disabled
2. the dialog window cannot be closed - that is virt-viewer's problem
(In reply to Pavel Grunt from comment #2)
> There are two problems:
> 1. the dialog showing up & transfer going on - spice server should tell
> spice-gtk, that file transfer is disabled
> 2. the dialog window cannot be closed - that is virt-viewer's problem
I opened the bug 1373830 for 2.
(In reply to Pavel Grunt from comment #2)
> There are two problems:
> 1. the dialog showing up & transfer going on - spice server should tell
> spice-gtk, that file transfer is disabled
> 2. the dialog window cannot be closed - that is virt-viewer's problem
The dialog showing up, but the transfer has no progress, which can be seen from the screenshot
(In reply to JinFangge from comment #5)
> (In reply to Pavel Grunt from comment #2)
> > There are two problems:
> > 1. the dialog showing up & transfer going on - spice server should tell
> > spice-gtk, that file transfer is disabled
> > 2. the dialog window cannot be closed - that is virt-viewer's problem
>
> The dialog showing up, but the transfer has no progress, which can be seen
> from the screenshot
Yes, it has no progress because the file transfer is disabled in spice-server.
All should be upstream now:
* Spice-protocol
Shortlog: agent: Add capability for disabled file transfer
Commit : 3f27d410b45262829897227abf64d57a81ff4910
Pavel Grunt on Fri, 10 Mar 2017 10:43:21 +0100
Shortlog: agent: Add macro for clearing capability
Commit : b9bfbd2f7bc14274bb84364e9fd75e1448e3eaf5
Pavel Grunt on Fri, 3 Mar 2017 13:00:36 +0000
* Spice
Shortlog: reds: Adjust agent capabilites to disabled features
Commit : 366b5b96c21579156b6ef5601d6d458899269d99
Pavel Grunt on Tue, 6 Jun 2017 17:53:42 +0100
* Spice-gtk
Shortlog: main: Handle disabled file transfer
Commit : 40b0dbf3175ed8c5dba7f5a8058774c3aec93d9c
Pavel Grunt on Fri, 10 Mar 2017 16:24:28 +0100
Comment 15Christophe Fergeau
2017-09-25 15:57:46 UTC
Fixed as part of the rebase, should be fixed client-side with the rebase to spice-gtk 0.34.
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-2018:0802
DDescription of problem: Disable spice filetransfer for guest, start guest, open remote-viewer, try to drag a file into guest from host, a "File transfer" dialog box pops up, but it can't be closed by click "X" or "cancel" or "right click + close" Version-Release number of selected component: libvirt-2.0.0-6.el7.x86_64 virt-viewer-2.0-11.el7.x86_64 spice-gtk3-0.31-5.el7.x86_64 spice-server-0.12.4-18.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Prepare a guest with spice graphic and filetransfer enable='no': # virsh edit rhel7.3-0817 ... <graphics type='spice' autoport='yes' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> <filetransfer enable='no'/> </graphics> 2. Start guest # virsh start rhel7.3-0817 3. Connect to guest by remote-viewer: # remote-viewer spice://<ip>:<port> 4. Drag a file from host into guest. 5. Try to close the "File transfer" diglog Actual results: The "File transfer" dialog can't be closed Expected results: The "File transfer" dialog can be closed normally