Bug 1200427

Summary: [RFE] support wildcards in distro name
Product: [Retired] Beaker Reporter: Bill Peck <bpeck>
Component: command lineAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: aigao, asaha, dcallagh, dowang
Target Milestone: 20.0Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-20 02:23:01 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 Bill Peck 2015-03-10 14:27:01 UTC
Description of problem:
Currently choosing by family only allows you to chose the osmajor.  If you want to chose the latest RHEL7.1 but not RHEL7.2 you can't.  You can specify the <distroName op="like" value="RHEL-7.1%/> from the xml but not from the cli or the api.

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

Comment 1 Bill Peck 2015-03-10 14:28:30 UTC
Possible patch. (not tested)

http://gerrit.beaker-project.org/4036

Comment 2 Dan Callaghan 2015-03-11 06:01:41 UTC
Thanks for the patch Bill.

I wonder, should we also just allow raw <distroRequires/> XML to be passed in?

Comment 3 Amit Saha 2015-03-27 05:50:55 UTC
This fix is available in beaker-client-19.4-0.git.113.fe15a9f from https://beaker-project.org/nightlies/develop/

Verification instructions:

1. Pass --distro="MyDistro%" to a workflow command
2. The Job XML generated should have:<distro_name op="like" value="MyDistro%"/>' in it.

Comment 5 Dan Callaghan 2015-04-20 02:23:01 UTC
Beaker 20.0 has been released.