Bug 1197074
Summary: | logical operators not working inside <disk> hostrequires | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Martin Frodl <mfrodl> |
Component: | general | Assignee: | matt jia <mjia> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | aigao, asaha, dcallagh, dowang, mjia |
Target Milestone: | 20.2 | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-14 08:04:45 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
Martin Frodl
2015-02-27 13:06:47 UTC
I don't think we ever considered this scenario before (using <and/> and <or/> inside <disk/> and <cpu/>). It should be easy enough to implement. (In reply to Dan Callaghan from comment #1) > I don't think we ever considered this scenario before (using <and/> and > <or/> inside <disk/> and <cpu/>). It should be easy enough to implement. We have this scenario in <cpu/> but not in <disk/>. On gerrit: http://gerrit.beaker-project.org/#/c/4208/ Verified steps: As shown in comment 0, use the following commands to check if logical operators are working inside <disk> hostrequires. $ bkr list-systems --available --xml='<hostRequires><disk><model op="like" value="Mega%" /></disk></hostRequires>' | wc -l 3 $ bkr list-systems --available --xml='<hostRequires><disk><and><model op="like" value="Mega%" /></and></disk></hostRequires>' | wc -l 3 $ bkr list-systems --available --xml='<hostRequires><disk><or><model op="like" value="Mega%" /></or></disk></hostRequires>' | wc -l 3 Beaker 20.2 has been released. |