Bug 886816

Summary: <hypervisor/> with op="!=" in hostRequires does not include bare metal systems
Product: [Retired] Beaker Reporter: Marian Ganisin <mganisin>
Component: schedulerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.10CC: aigao, asaha, dcallagh, llim, qwan, rmancy, xjia
Target Milestone: 0.15.4   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Misc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-18 01:38:55 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:

Description Marian Ganisin 2012-12-13 09:05:24 UTC
Description of problem:

This line in hostRequires of xml recipe:

<hypervisor op="!=" value="KVM"/>

selects just all other hypervisors. Bare metal machines are not included.

Actual results:

Just machines with hypervisor, but the specified are selected. machines without hypervisor (bare metal) are not included.

Expected results:

Filter out just machines as defined, include all other hypervisors as well as bare metal.

Comment 1 Dan Callaghan 2012-12-13 23:16:14 UTC
An unfortunate result of SQL's NULL comparison rules (NULL != 'KVM' is NULL, not 1).

Comment 3 Dan Callaghan 2014-02-05 03:13:27 UTC
On Gerrit: http://gerrit.beaker-project.org/2776

Comment 6 Dan Callaghan 2014-02-18 01:38:55 UTC
Beaker 0.15.4 has been released.