Bug 885994

Summary: [User Portal] Run Once - Boot Options should not list Hard Disk when the VM is diskless - consistency with PXE/network boot
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-userportalAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: dyasny, ecohen, hateya, iheim, michal.skrivanek, ofrenkel, oramraz, Rhev-m-bugs, sgrinber, ykaul
Target Milestone: ---Keywords: Reopened
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: sf10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 915537, 922807, 948448    

Description Jiri Belka 2012-12-11 09:30:17 UTC
Description of problem:

In User Portal -> Run Once - Boot Options - when the VM has no network card 'Network (PXE)' is unavailable in 'Boot sequence', this is OK. While the VM is diskless 'Hard Disk' still can be selected/is available in 'Boot sequence' list. When selecting 'Hard Disk' for diskless VM an user sees logically/correctly error popup window but still there's inconsitency - networkless VM = no network/PXE available vs. diskless VM = booting from HD available.

Version-Release number of selected component (if applicable):

si25

How reproducible:
100%

Steps to Reproduce:
1. Create a new VM in User Portal without network and disk (default, just 'New Server')
2. Check Run Once -> Boot options
  
Actual results:

'Hard Disk' is present in 'Boot sequence' for diskless VM.

Expected results:

'Hard Disk' should be not available for diskless VM, same consitency for unavailable booting from network/PXE when a VM has no network interface.
Additional info:

Comment 2 Jiri Belka 2013-03-05 09:30:33 UTC
Not fully OK - I created a diskless VM, in 'Run Once' dialog there's correctly 'Network (PXE)' in 'Boot Sequence' but when starting it in paused mode and later clicked 'Run' icon, I got:

diskless:

    Cannot run VM without at least one bootable disk.
    Alternatives:
    -Create a disk for this VM, and rerun the VM.
    -Change the boot sequence using the Edit VM command (Boot Option Sub-Tab).
    -Use the Run-Once command to select a different boot option and rerun the VM.

When starting directly (not via paused mode), it works OK.

Comment 4 Jiri Belka 2013-03-12 11:39:16 UTC
ok, sf10, now it works even in paused mode.

Comment 5 Roy Golan 2013-04-10 05:42:18 UTC
*** Bug 947849 has been marked as a duplicate of this bug. ***

Comment 6 Itamar Heim 2013-06-11 08:35:56 UTC
3.2 has been released

Comment 7 Itamar Heim 2013-06-11 08:35:59 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 08:36:01 UTC
3.2 has been released

Comment 9 Itamar Heim 2013-06-11 08:44:36 UTC
3.2 has been released