Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 928402

Summary: [Backend] Manually migratable VM's can use host CPU
Product: Red Hat Enterprise Virtualization Manager Reporter: Ido Begun <ibegun>
Component: ovirt-engineAssignee: ofri <omasad>
Status: CLOSED NOTABUG QA Contact: Ido Begun <ibegun>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, dfediuck, dyasny, iheim, lpeer, oramraz, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-04 06:41:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log none

Description Ido Begun 2013-03-27 15:05:00 UTC
Created attachment 717123 [details]
engine.log

Description of problem:
VM's with migration options of 'Allow manual migration only' (placement affinity of 'user_migratable') and 'Use Host CPU' (host_passthrough)

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

How reproducible:
100%

Steps to Reproduce:
1. Create VM with with 'Use Host CPU' checked and 'Allow manyal migration only' (possible in API)
2. Start VM (in UI or API)
  
Actual results:
VM starts.

Expected results:
Setting a VM with said parameters should fail.
OR
VM should fail to start.

Additional info:

Comment 1 ofri 2013-04-04 06:41:41 UTC
Current Implementation (before 3.3) allows to set the "Use Host CPU" flag when "Allow manual migration only" and "Any Host in Cluster" are selected together.
This was done because "Do Not allow Migration" and "Any Host in Cluster" together are not applicable for this version (Fail on Run-VM).