Bug 688541

Summary: virt-manager doesn't show mounted CD/DVD device on guest wizard
Product: Red Hat Enterprise Linux 6 Reporter: Toni Willberg <twillber>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-08 07:01:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Toni Willberg 2011-03-17 10:44:30 UTC
Description of problem:

 Cannot install guest OS from DVD if the DVD was already mounted. Virt-manager doesn't show the DVD device.
 
Version-Release number of selected component (if applicable):

 virt-manager-0.8.4-8.el6.noarch

How reproducible:

 Always.

Steps to Reproduce:
 1. insert a CD/DVD (I used Windows 2008 R2 installation DVD)
 2. ensure it's automatically mounted (default behaviour on desktop)
 3. start virt-manager
 4. start new guest wizard, try to install from DVD
  
Actual results:

 CD/DVD device not shown at all, no error/explanation provided to user.

Expected results:

 CD/DVD device shown always. If mounted, virt-manager should give option to unmount and use that device.

Additional info:

 My CD device appears as /dev/sr0. USB-connected SONY device.

 scsi 11:0:0:0: CD-ROM            SONY     DVD RW DRX-S70U  1.D4 PQ: 0 ANSI: 0
 sr0: scsi3-mmc drive: 62x/62x writer dvd-ram cd/rw xa/form2 cdda tray
 sr 11:0:0:0: Attached scsi CD-ROM sr0
 sr 11:0:0:0: Attached scsi generic sg1 type 5

Comment 1 Toni Willberg 2011-03-17 10:52:16 UTC
Actually, this could be duplicate or related to these:
 bug 610978
 bug 611291
 bug 608548
 bug 616480

Comment 3 RHEL Program Management 2011-04-04 02:15:07 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Cole Robinson 2011-04-07 19:46:12 UTC
Hmm, I can't reproduce.

Running as root or a regular user? Aren't using a remote connection, correct?

Are you inserting the cdrom after starting virt-manager? If so does restarting the app help?

Does unmounting the CDROM and restarting virt-manager make any difference?

Please provide the output of virt-manager --debug when reproducing the issue

Comment 5 Toni Willberg 2011-04-08 07:01:56 UTC
Seems that I also cannot reproduce this anymore. virt-manager is still in same version.

Not sure what if anything in my setup has changed.

Tried as root and non-root.

Closing as notabug.