Bug 1103156

Summary: [RFE] bkr system-release to support releasing more hosts at once
Product: [Retired] Beaker Reporter: David Kutálek <dkutalek>
Component: generalAssignee: Amit Saha <asaha>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developCC: aigao, asaha, dcallagh, ebaak, rmancy, xma
Target Milestone: 0.17.1Keywords: EasyFix, FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-18 08:17:40 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 David Kutálek 2014-05-30 11:44:26 UTC
Description of problem:

As discussed in https://bugzilla.redhat.com/show_bug.cgi?id=639938#c30 it would enhance user comfort to be able to release more hosts at once.
Typical use case would be issuing these two commands:

cssh -l root fqdn1 fqdn2 ... fqdn5
bkr system-release fqdn1 fqdn2 ... fqdn5

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

beaker-client-0.16.2-1.el6eng.noarch

How reproducible:

Always

Steps to Reproduce:
1. bkr system-release a.b b.b c.b
2.
3.

Actual results:

$ bkr system-release a.b b.b c.b
Usage: bkr system-release [options] <fqdn>

bkr: error: Exactly one system fqdn must be given


Expected results:

All three hosts released.


Additional info:

Comment 2 Nick Coghlan 2014-06-02 05:01:30 UTC
As per the discussion in the other bug, this seems like a reasonable harness independent replacement for being able to issue a "return2beaker.sh" command across multiple hosts at once via ssh when using the reservesys task.

Comment 3 Dan Callaghan 2014-06-17 08:09:26 UTC
We can do this easily enough with a loop in the client command. It wouldn't be atomic or anything fancy though.

Comment 4 Amit Saha 2014-06-18 10:39:42 UTC
Patch: http://gerrit.beaker-project.org/#/c/3154/

Comment 7 Dan Callaghan 2014-07-18 08:17:40 UTC
Beaker 0.17.1 has been released.