Steps to Reproduce: 1. Create a VM. 2. Set boot sequence for the VM as follows: First Device: Hard Disk Second Device: [None] 3. Add network to the VM. 4. Run Once the VM. In the Run Once dialog select the following boot sequence: First Device: Network (PXE) Second Device: Hard Disk 5. The VM is booting from the network. 6. Shutdown the VM. 7. Remove the network from the VM and add it again. 8. Verify that VM boot sequence is still as described in step 2. 9. Run the VM. Actual results: The VM is booting from the network. Expected results: The VM is booting from the hard disk.
The problem is in VmDeviceCommonUtils.updateVmDevicesBootOrder() method that is called indirectly by AddVmInterfaceCommand.addInterfaceToDb(). The VmDeviceCommonUtils.updateVmDevicesBootOrder() uses RunOnce boot sequence if vm.isRunOnce() is true.
ok, rhevm-webadmin-portal-3.6.0.2-0.1.el6.noarch boot ok as described in #0
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue. If problems still persist, please open a new BZ and reference this one.