Red Hat Bugzilla – Bug 1453094
Inaccurate information shows when reconnect to the same Floppy device
Last modified: 2018-04-10 07:42:12 EDT
Created attachment 1280918 [details] Screenshot for step3.4 Description of problem: Inaccurate information shows when reconnect to the same Floppy device Version-Release number of selected component (if applicable): libvirt-3.2.0-5.virtcov.el7.x86_64 virt-manager-1.4.1-4.el7.noarch qemu-kvm-rhev-2.9.0-5.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Prepare a health guest then add a floppy device to it. 1.1 Launch virt-manager. 1.2 Double click one connection to active it. 1.3 Double click vm:beta-vnc, then turn to 'virtual machine hardware details' page. 1.4 Click 'Add Hardware' button, click 'Select or create custom storage', then input path "/usr/share/virtio-win/virtio-win-1.9.0_amd64.vfd", set Device type: 'Floppy disk', click 'Apply'. 2. Disconnect to floppy image "/usr/share/virtio-win/virtio-win-1.9.0_amd64.vfd". 2.1 Click Floppy 1. 2.2 Click Disconnect button at right area. 3. Reconnect to floppy image "/usr/share/virtio-win/virtio-win-1.9.0_amd64.vfd" again 3.1 Click Floppy 1. 3.2 Click Connect button at right area 3.3 In put source image location "/usr/share/virtio-win/virtio-win-1.9.0_amd64.vfd". 3.4 Click 'OK' Actual results: After step1.4, Floppy disk added to guest successfully. After step2.2, Floppy disk source removed. After step3.4, an error message pops up: Disk "/usr/share/virtio-win/virtio-win-1.9.0_amd64.vfd" is already in use by other guests ['beta-vnc'] Do you really want to use this disk? If click 'No', back to 'Choose Media' page. If click 'Yes', floppy disk will add to guest. Expected results: There is no inaccurate information shows when reconnect to the same Floppy device, for i have disconnect floppy device before i reconnect again. Additional info:
Created attachment 1280919 [details] virt-manager debug log
Upstream patch posted: https://www.redhat.com/archives/virt-tools-list/2017-September/msg00103.html
Upstream commit: commit c0710c74ff4d3d19fe035c2d3451cb62af5958ea Author: Pavel Hrdina <phrdina@redhat.com> Date: Tue Sep 19 16:18:49 2017 +0200 choosecd: change order of check operations
I can reproduce this issue with package: virt-manager-1.4.1-7.el7.noarch virt-install-1.4.1-7.el7.noarch virt-manager-common-1.4.1-7.el7.noarch Then try to verify this bug with new build: virt-manager-1.4.3-1.el7.noarch virt-install-1.4.3-1.el7.noarch virt-manager-common-1.4.3-1.el7.noarch Steps: 1. Prepare a shutoff guest then add a floppy device to it. 1.1 Launch virt-manager. 1.2 Double click one connection to active it. 1.3 Double click vm:beta-vnc, then turn to 'virtual machine hardware details' page. 1.4 Click 'Add Hardware' button, click 'Select or create custom storage', then input path "/usr/share/virtio-win/virtio-win-1.9.3_amd64.vfd", set Device type: 'Floppy disk', click 'Apply'. 2. Disconnect to floppy image "/usr/share/virtio-win/virtio-win-1.9.3_amd64.vfd". 2.1 Click Floppy 1. 2.2 Click Disconnect button at right area. 3. Reconnect to floppy image "/usr/share/virtio-win/virtio-win-1.9.3_amd64.vfd" again 3.1 Click Floppy 1. 3.2 Click Connect button at right area 3.3 In put source image location "/usr/share/virtio-win/virtio-win-1.9.3_amd64.vfd". 3.4 Click 'OK' Actual results: After step1.4, Floppy disk added to guest successfully. After step2.2, Floppy disk source removed. After step3.4, The same Floppy disk added to guest successfully and no other infomation pops up. So move this bug from ON_QA to VERIFIED, thanks.
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/RHEA-2018:0726