[ovirt-users] vm install via iso - optical drive eject behaviour?

Jorick Astrego j.astrego at netbulae.eu
Wed Aug 20 09:53:56 UTC 2014


On 08/20/2014 11:21 AM, Omer Frenkel wrote:
>
> ----- Original Message -----
>> From: "Paul Jansen" <vlaero at yahoo.com.au>
>> To: "users" <users at ovirt.org>
>> Sent: Tuesday, August 19, 2014 2:25:41 PM
>> Subject: [ovirt-users] vm install via iso - optical drive eject behaviour?
>>
>> Hello.
>> I currently have oVirt 3.4.x set up.
>> A colleague mentioned that he was having an issue where booting a VM with an
>> attached iso and installing via cd/dvd does not allow the contents of the
>> 'drive' to eject after the install. Sure enough, I have tested this myself
>> and observed the same behaviour.
>> Installing an EL/fedora iso image with a kickstart that has a 'reboot
>> --eject' line in will eject the 'drive' after the installing when doing the
>> exact same thing on VMware ESXi (and 'real' hardware).
>> A suggestion was made that VMware emulates a laptop style optical drive that
>> once the disk ejects the system cannot close the drive bay upon reboot -
>> this is a manual operation.
>> Does oVirt emulate a destop style drive where even if the disk is ejected,
>> when a reboot occurs the drive will close?
>>
>> The long an short of this that even though the 'reboot --eject' option is in
>> the kickstart, the iso image seems be be reattached when the VM reboots and
>> the installs process starts again. An infinite loop effectively.
>>
>> I'm told this isn't an issue with an KVM/Qemu VM under virt-manager.
>>
>> Any suggestions as to how to solve this?
>> I should point out that I cannot simply extract files and boot via PXE as
>> this process is supposed to be testing an install process via generated
>> media.
>>
>> Thanks.
> there is an open RFE for detecting the reboot and eject the cd in run once.
>
> until that, what i do is: (assuming the HD doesn't have anything bootable on it)
> edit the vm,
> select in 'boot options':
>   first device- hard disk,
>   second device-CD and select the CD file you want to use.
>
> start the vm regularly (not run once)
Does this work for you?

In 3.5rc1, I have the following issue:

https://bugzilla.redhat.com/show_bug.cgi?id=1131018

    Description of problem:
    Installing a VM with the Second Boot device CDROM. After installation, I choose reboot in the VM and the installer of the CDROM appears again even though I have the HDD as first boot device.

    When I power down the VM, don't change anything, and power it up again. It does start from the local HDD

Kind regards,

Jorick Astrego
Netbulae

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140820/46d0fb5d/attachment-0001.html>


More information about the Users mailing list