Bug 804479

Summary: RFE: manipulate system Condition via command line
Product: [Retired] Beaker Reporter: Sage Grigull <mgrigull>
Component: command lineAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.8CC: bpeck, dakini, dcallagh, dowang, ltoscano, mcsontos, rmancy, stl, tools-bugs
Target Milestone: 19.0Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: CommandLineEnhancement
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-25 07:17:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sage Grigull 2012-03-19 02:17:25 UTC
Description of problem:
Often a larger number of systems get marked broken, due to the way we track this it is easy enough to build a hostlist.

It would be awesome if one could perform administrative tasks against a system in beaker via the command line.

In particular, it would be very handy if one was able to set a system back to 'Automated' via bkr.  It is anticipated that this action will also be noted in the systems history tab.


Version-Release number of selected component (if applicable):
beaker-client-0.8.1-4


Additional info:
This would be an improvement upon using sql statements file generated by intermediate scripts  or  manipulating via csv export/modify/import.

Comment 1 Sage Grigull 2012-03-19 02:27:59 UTC
Optionally an alias for marking the system as unbroken could be implemented, and it would revert the status to that before it was last marked broken.

Comment 2 Dan Callaghan 2012-09-28 00:20:26 UTC
*** Bug 840556 has been marked as a duplicate of this bug. ***

Comment 3 Nick Coghlan 2012-10-17 04:37:33 UTC
Bulk reassignment of issues as Bill has moved to another team.

Comment 5 Nick Coghlan 2013-12-13 05:16:55 UTC
As per bug 1037592, this is currently referred to as the system Condition in the web UI (although the system search options still refer to it as "Status").

However, we're not completely happy with the current condition modelling, so I'd prefer to revisit that before adding a command line interface for it.

Comment 6 Nick Coghlan 2014-07-21 02:55:25 UTC
*** Bug 1119930 has been marked as a duplicate of this bug. ***

Comment 7 Dan Callaghan 2014-11-05 03:57:39 UTC
We do still need to deal with the issues around Condition/Status (bug 1039842) but we won't hold up this RFE for that.

Comment 8 Dan Callaghan 2014-11-05 04:28:43 UTC
http://gerrit.beaker-project.org/3463

Comment 14 Dan Callaghan 2014-11-25 07:17:39 UTC
Beaker 19.0 has been released.