Bug 520171 - Unable to reconnect the CDROM to an ISO after the first boot
Summary: Unable to reconnect the CDROM to an ISO after the first boot
Keywords:
Status: CLOSED DUPLICATE of bug 516116
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Berrangé
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-28 18:03 UTC by Darryl L. Pierce
Modified: 2015-06-22 00:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-31 13:30:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Darryl L. Pierce 2009-08-28 18:03:28 UTC
Description of problem:
When I create a VM and boot it from an ISO, the VM starts fine.

After the node shuts down, I try to reconnect the CDROM device to the ISO that worked previously. However, the domain is given an incorrect driver for the ISO and the VM fails to boot. I have to remove the CDROM device and add a new one pointing to the same ISO in order to boot the domain.

Version-Release number of selected component (if applicable):
(mcpierce@mcpierce-beta:devel)$ rpm -q virt-manager
virt-manager-0.8.0-2.fc12.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a new virtual machine, booted from a CDROM
2. Go through what's necessary to boot and install the virtual machine.
3. Shutdown the VM.
4. Reconnect the CDROM device to the ISO file.
5. Restart teh VM.
  
Actual results:
An error message is shown (error is below).

Expected results:
The VM to boot with the CDROM that uses the ISO file.

Additional info:
The error message is:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 567, in run_domain
    vm.startup()
  File "/usr/share/virt-manager/virtManager/domain.py", line 652, in startup
    self.vm.create()
  File "/usr/lib64/python2.6/site-packages/libvirt.py", line 293, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error unsupported driver name 'file' for disk '/usr/share/ovirt-node-image/ovirt-node-image.iso'

virsh dumpxml [domain] reveals:

<disk type='file' device='cdrom'>                                        
  <driver name='file'/>
  <source file='/usr/share/ovirt-node-image/ovirt-node-image.iso'/>
  <target dev='hdc' bus='ide'/>
  <readonly/>
</disk>

Comment 1 Cole Robinson 2009-08-31 13:30:03 UTC

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


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