Bug 1054743

Summary: Run Once - no way how to start without a CD if one is defined in Edit VM
Product: Red Hat Enterprise Virtualization Manager Reporter: Michal Skrivanek <michal.skrivanek>
Component: ovirt-engine-webadmin-portalAssignee: Martin Betak <mbetak>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Novotny <pnovotny>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: djasa, ecohen, gklein, iheim, mavital, mbetak, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: ovirt-3.5.0-alpha1 Doc Type: Bug Fix
Doc Text:
Cause: CD-rom setting was always taken from VM configuration. Run once value of selected CD was ignored. Consequence: Impossible to "eject" CD for run once. Fix: Now run once setting always overrides persistent configuration.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 08:27:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1026306, 1142923, 1156165    

Description Michal Skrivanek 2014-01-17 11:24:01 UTC
in is30, VM without HD or NIC

Edit VM -> Boot Options -> Attach CD, attach something

go to Run Once -> Boot Options, Attach CD is unchecked, but if you run the VM it will be booted with the original CD

The Boot Sequence is all greyed out(like there's nothing to boot from), yet it boots from CD.

OTOH if you add NIC, put CDROM as the first device to boot from, allow PXE boot as the second device. 
Run Once
boots via PXE but if it fails it's still booting from CD
(boot sequence is "greyed out HD, greyed out CD, PXE")

Comment 1 Michal Skrivanek 2014-02-05 14:54:48 UTC
may be related to bug 1026306

Comment 2 Michal Skrivanek 2014-03-26 13:04:17 UTC
*** Bug 1026306 has been marked as a duplicate of this bug. ***

Comment 3 Pavel Novotny 2014-08-12 12:24:06 UTC
Verified upstream in ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch (rc1).

Verification steps:
1. VM -> edit -> Boot Options -> Attach CD: CentOS-6.5-x86_64-minimal.iso (for example).
2. VM -> Run Once -> Boot Options:

Results:
Attach CD is checked and set to CentOS-6.5-x86_64-minimal.iso.
Boot Sequence is enabled and can be changed.
The VM then boots according to the boot sequence set in run once dialog.

Comment 4 Omer Frenkel 2015-02-17 08:27:21 UTC
RHEV-M 3.5.0 has been released