Red Hat Bugzilla – Bug 497457
media check causes DVD to be lost in HVM install
Last modified: 2015-04-06 23:19:10 EDT
To quote from
"When installing a RHEL guest the installer will initially ask
to do a CD media check. This can be selected or skipped. If
you select the check the media is tested. When you continue
the install, after the check, the message "The Red Hat
Enterprise Linux Server CD was not found in any of your CDROM
drives. Please insert the Red Hat Enterprise Linux Server CD
and press OK to retry". Pressing OK just brings up this
message dialogue over and over, basically stopping the install
This is with RHEL4.6,5.2,5.3 all on Solaris dom0, Xen 3.1.4 and 3.3.2. virt-install line was:
virt-install -n domu-225 -m `~johnlev/bin/maca domu-225` --hvm --os-type=solaris --os-variant=opensolaris -f /dev/zvol/dsk/export/dom/domu-220-root -r 1024 --vnc -c /rhel53.iso
Nothing can be seen in the qemu log file.
Could you please verify whether this is still going to be a problem with F11 (which is not released yet, but will be soon)? If you're not still seeing it there, then we can close this as NEXTRELEASE since it will no longer be a problem in RHEL6. Thanks.
Where is an ISO I can test? Is there a particular reason you think this is fixed?
http://fedoraproject.org/en/get-prerelease is the latest F11 stuff, though keep in mind that due to a pretty major storage rewrite, you may experience some problems with certain partition layouts. The reason I think this could be fixed is that there were several media check related bugs fixed for F10, including one with the symptoms you are describing.
It's still present with the Fedora 11 preview I downloaded today.
For some reason, ejecting the CD/DVD after media check is run causes it to get lost on virt installs. I believe you have to somehow go back and mark it as attached again after media check in order for the system to see it.
Reassigning to xen: virt-install/virt-manager aren't doing any deliberate cd connect/eject here after the media check.
Well, I don't think this is a Xen bug. There is no way Xen could determine why the CD was ejected. Perhaps because another CD has to be inserted? In such case one needs to run 'xm block-configure' or any GUI equivalent of it to point it to the new ISO.
My opinion on this is that it's just pretty stupid of anaconda to eject a CD after testing it. In non-virtual-non-laptop case it's fine because the CD tray is automatically loaded. But even in non-virtual case when the CD is loaded into a laptop drive which cannot be loaded automatically, one would see the same message and would have to load it manually (which is a real-world equivalent of 'xm block-configure').
So we have two options to fix this:
1) fix the test not to eject a CD
2) document what manual steps should users do using virt-manager/virsh to insert the CD again
I'd vote for the former as I don't see any reason for ejecting a CD after testing it, but I may be just missing something...
> My opinion on this is that it's just pretty stupid of anaconda to eject a CD
> after testing it. In non-virtual-non-laptop case it's fine because the CD tray
> is automatically loaded. But even in non-virtual case when the CD is loaded
> into a laptop drive which cannot be loaded automatically, one would see the
> same message and would have to load it manually (which is a real-world
> equivalent of 'xm block-configure').
Well, the most obvious reason for wanting to eject the CD is because you could be testing the CD install media instead of the DVD install media, and therefore want to run media check on a whole stack of discs instead of just one. So, as a nicety to the user we eject the current media and prompt for the next one in the set.
I guess I'm not a normal user. For me, the necessity to manually reinsert ejected media is much more annoying then having to press a button to eject the media when I want to exchange it. Especially considering rack servers which usually come with laptop CD drives with trays that cannot be closed automatically.
Anyway, if you think it's nice to the user and don't want to fix it, we need to document how to insert the media. Where is the best place to document it? I guess it's not xen as we don't want users to interact with xen directly. So is it libvirt for virsh, virt-install, virt-manager or virtualization guide? Or even a combination of some of them?
I'd imagine that the Virtualization Guide would be the best place to discuss this (and other similar) issues.