Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1453094 - Inaccurate information shows when reconnect to the same Floppy device
Inaccurate information shows when reconnect to the same Floppy device
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager (Show other bugs)
7.4
x86_64 Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Pavel Hrdina
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-22 03:11 EDT by zhoujunqin
Modified: 2018-04-10 07:42 EDT (History)
5 users (show)

See Also:
Fixed In Version: virt-manager-1.4.3-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 07:40:46 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screenshot for step3.4 (139.21 KB, image/png)
2017-05-22 03:11 EDT, zhoujunqin
no flags Details
virt-manager debug log (14.78 KB, text/plain)
2017-05-22 03:12 EDT, zhoujunqin
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0726 None None None 2018-04-10 07:42 EDT

  None (edit)
Description zhoujunqin 2017-05-22 03:11:26 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:
Comment 2 zhoujunqin 2017-05-22 03:12 EDT
Created attachment 1280919 [details]
virt-manager debug log
Comment 3 Pavel Hrdina 2017-09-19 10:19:25 EDT
Upstream patch posted:

https://www.redhat.com/archives/virt-tools-list/2017-September/msg00103.html
Comment 4 Pavel Hrdina 2017-09-20 04:30:08 EDT
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
Comment 6 zhoujunqin 2017-09-25 23:40:21 EDT
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.
Comment 9 errata-xmlrpc 2018-04-10 07:40:46 EDT
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

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