Bug 1076488

Summary: VMs with 3 IDE disks cannot run
Product: [Retired] oVirt Reporter: Vitor de Lima <vitor.lima>
Component: ovirt-engine-coreAssignee: Shahar Havivi <shavivi>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: medium    
Version: 3.4CC: bugs, gklein, gustavo.pedrosa, leonardo.bianconi, michal.skrivanek, pkubica, rbalakri, shavivi, vitor.lima, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: 3.6.0-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 11:20:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vitor de Lima 2014-03-14 12:55:42 UTC
Description of problem:
After creating a VM with 3 IDE disks, it does not go up because besides the virtual CD-ROM containing the ISO, there is a virtual CD with the payload.

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

How reproducible:
Always

Steps to Reproduce:
1. Configure a Data Center with Cluster, Hosts and a VM
2. Add 3 IDE disks to the VM and enable cloud-init 
3. Run the VM

Actual results:
The VM fails to go up.

Expected results:
The VM should warn about this limitation when the IDE disks are being added.

Additional info:
The checkPciAndIdeLimit in the VmCommand class does not check for the payload when it calculates the total number of IDE devices in the VM.

Comment 2 Michal Skrivanek 2015-07-30 08:40:09 UTC
Shahar, still relevant?

Comment 3 Shahar Havivi 2015-08-17 11:14:07 UTC
Yes,
I submitted a new patch

Comment 4 Petr Kubica 2015-09-16 08:46:41 UTC
Verified in 3.6.0-12, rhevm-webadmin-portal-3.6.0-0.15.master.el6.noarch

Comment 5 Sandro Bonazzola 2015-11-04 11:20:05 UTC
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.