Created attachment 454735 [details] rhel3u9-The CDROM could not be mounted On rhel5.6 host, rhel3u9 also can not install from cdrom. The error is different with Bug #609342. After insert CD2 when require CD2 prompted, it shows that 'The CDROM could not be mounted'.
Is this a Xen or KVM guest?
Both on Kvm and Xen Hypervisor.
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.6 and Red Hat does not plan to fix this issue the currently developed update. Contact your manager or support representative in case you need to escalate this bug.
Since the original bug is reproducible with plain qemu, reassigning to qemu-kvm.
I don't think so, but I don't know. The bug that I am handling is that cdrom is not "inserted" after migration, that is a different bug that what we are talking here. Will take a look through (althought I think that I have not installed from 2 CD's in something like 8 years). Later, Juan.
It does seem, however, the same issue as 491068
can reproduce this issue using kvm directly:kvm-83-231.el5 steps: 1. Download rhel3u9 isos from http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-3/U9/AS/i386/ftp-isos/ and burned cdrom 2.use cdrom to install guest /usr/libexec/qemu-kvm -no-hpet -usbdevice tablet -rtc-td-hack -name 57 -smp 2 -m 4G -uuid 9e6f04cf-2ad7-45aa-9333-2d2ee26570c6 -boot dc -drive file=/usr/tools/39.qcow2,if=ide,cache=none,boot=on,format=qcow2,werror=stop -drive file=/dev/sr0,media=cdrom,if=ide,format=raw -net nic,vlan=1,macaddr=52:54:00:94:a3:8b,model=virtio -net tap,vlan=1,script=/etc/qemu-ifup -notify all -balloon none -monitor stdio -vnc :1 3.when inserted the second disk and clicked ok button, it will show below error messages "The CDROM could not be mounted"
We've fixed a bunch of CD-ROM issues since comment#13, e.g. bug 652135. Could you retest?
I retest this bug on rhel6.2, and still have a problem. In fact, when user insert the second CD, the host can mount it, but virt-manager still connect the last CD and can't update it until we update the CDROM manually. FYI, there's also several related bugs about CDROM. Such as: Bug 575160, and Bug 723272, maybe there's some similarities with this bug. the related pkg version" # rpm -q libvirt libvirt-0.9.4-1.el6.x86_64 # rpm -q qemu-kvm qemu-kvm-0.12.1.2-2.172.el6.x86_64 # rpm -q virt-manager virt-manager-0.9.0-5.el6.x86_64
Looks like you retested with RHEL-6. That's bug 609342. It's currently VERIFIED. If you think it's still broken, update it! For this bug, we need a retest with RHEL-5. Best to stick to the common "steps to reproduce, actual results, expected results" pattern.
Could reproduce this bug on RH5.7 with the following packages virt-manager-0.6.1-14.el5 libvirt-0.8.2-22.el5 xen-3.0.3-132.el5 kvm-qemu-img-83-239.el5 Both on xen and kvm Hypervisor. Steps: 1. Download rhel3u9 isos from http://download.englab.nay.redhat.com/pub/rhel/released/RHEL-3/U9/AS/i386/ftp-isos/ and burned cdrom 2.use cdrom to install guest 3.when inserted the second disk and clicked ok button, it will show below error messages "The CDROM could not be mounted"
About kvm guest, the actual results just like Comment 19 shows. In fact, if we install rhel3u9 guest by CDROM, when insert the second CD, virt-manager don't notice there's a new CD in CDROM, and shows "The CDROM could not be mounted". If mount the cdrom manually: 1.Use virt-manager, 'Disconnect' the cdrom; 2.Insert CD2 on host; 3.'Connect' cdrom again. Then, the installation process can go on well. About xen guest, when i try to disconnect the cdrom, there's an error popup, and the installation process can't go on. The error details as following: Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/details.py", line 1749, in toggle_cdrom self.vm.disconnect_cdrom_device(info[1]) File "/usr/share/virt-manager/virtManager/domain.py", line 1271, in disconnect_cdrom_device self._change_cdrom(result, dev_id_info) File "/usr/share/virt-manager/virtManager/domain.py", line 1205, in _change_cdrom self.attach_device(newdev) File "/usr/share/virt-manager/virtManager/domain.py", line 1167, in attach_device self.vm.attachDevice(xml) File "/usr/lib64/python2.4/site-packages/libvirt.py", line 266, in attachDevice if ret == -1: raise libvirtError ('virDomainAttachDevice() failed', dom=self) libvirtError: Requested operation is not valid: Xm driver only supports modifying persistent config
According to bullet#3 in https://bugzilla.redhat.com/show_bug.cgi?id=645266#c20 ('Connect' cdrom again, Then, the installation process can go on well). We have a workaround, which is satisfactory for RHEL5.8. Yanbing, please write an exact description for this workaround in the "Technical Notes:" of this bug. As far as 5.8 is concerned, this bug is CLOSED, but there are 2 issues. 1. From https://bugzilla.redhat.com/show_bug.cgi?id=645266#c17 it seems as if BZ#609342 should be reopened. 2. c#20 suggests that XEN has a "bigger" bug, so I transfer it to XEN.
Moving back to kvm to track technical note. Clonning bz to solve xen issue.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. Thanks!
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Use virt-manager, when install rhel3u9 guest by CDROM, we can mount the cdrom manually to finish the installation: 1. After CD-1 installed, on the "Show virtual hardware details" panel, choose the "IDE CDROM 1" device and click the "Disconnect" button; 2. Insert CD-2 on host; 3. Still on the "Show virtual hardware details" panel, choose the "IDE CDROM 1" device and click the "Connect" button and choose the correct CD-ROM,then click "OK", then CD-2 mount manually, and we can go on installation process.