Bug 1220652

Summary: workflow commands should let Beaker pick default method instead of defaulting to method=nfs
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: command lineAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: aigao, dcallagh, dowang, ebaak, rjoost
Target Milestone: 22.0Keywords: NeedsTestCase, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-14 05:33:02 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 Dan Callaghan 2015-05-12 05:58:06 UTC
If --method is not given the workflow commands insert method=nfs into ks_meta by default. But sometimes a tree will only be available over other protocols (commonly HTTP). If the user doesn't request a specific method using the --method option then the workflow commands should leave method= unset in ks_meta (and thus letting Beaker pick any suitable protocol).

Comment 2 Dan Callaghan 2015-10-09 04:24:55 UTC
I just realised we have this old open patch about this:

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

Comment 3 Dan Callaghan 2015-10-21 04:08:15 UTC
This bug fix is included in beaker-client-22.0-0.git.59.cbcb4e8 which is available for download here:

https://beaker-project.org/nightlies/develop/

Comment 4 Dan Callaghan 2015-10-21 04:19:43 UTC
Steps to reproduce:
1. Use bkr workflow-simple to create a job, without using --method option, for example:
bkr workflow-simple --family RedHatEnterpriseLinux6 --arch x86_64 --task /distribution/reservesys

Actual results:
Job XML contains ks_meta="method=nfs". Recipe will therefore abort if the distro is only available over HTTP.

Expected results:
Job XML should not contain any method= argument in ks_meta.

Comment 6 Dan Callaghan 2016-01-14 05:33:02 UTC
Beaker 22.0 has been released.