Red Hat Bugzilla – Bug 520171
Unable to reconnect the CDROM to an ISO after the first boot
Last modified: 2015-06-21 20:07:11 EDT
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
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.
An error message is shown (error is below).
The VM to boot with the CDROM that uses the ISO file.
The error message is:
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 567, in run_domain
File "/usr/share/virt-manager/virtManager/domain.py", line 652, in startup
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'>
<target dev='hdc' bus='ide'/>
*** This bug has been marked as a duplicate of bug 516116 ***