Bug 1220652 - workflow commands should let Beaker pick default method instead of defaulting to method=nfs
Summary: workflow commands should let Beaker pick default method instead of defaulting...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: command line
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 22.0
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-12 05:58 UTC by Dan Callaghan
Modified: 2018-02-06 00:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-14 05:33:02 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.