Bug 1330816

Summary: [RFE] supply implementation of rhts-flush
Product: [Retired] Restraint Reporter: Dan Callaghan <dcallagh>
Component: generalAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.1.24CC: asavkov, bpeck
Target Milestone: 0.1.25Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-26 04:49: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:

Description Dan Callaghan 2016-04-27 03:39:21 UTC
In beah, the rhts-flush command makes the harness write all its buffered "events" (results and logs) up to the LC. Well it tries to anyway. The idea would be to call that before crashing the system or doing some other potentially destructive operation in the test. (I'm not sure exactly because it seems rhts-flush was never documented anywhere.)

Comment 1 Dan Callaghan 2016-04-27 03:41:07 UTC
With restraint I don't think there is anything to actually flush, since it reports results and uploads logs to the LC synchronously, there is no on-disk event buffering stuff like in beah.

So I think it should be enough to just supply an empty script that does nothing, to keep existing tasks that call rhts-flush happy.

Comment 2 Dan Callaghan 2016-04-27 03:44:41 UTC
http://gerrit.beaker-project.org/4837

Comment 3 Dan Callaghan 2016-08-26 04:49:01 UTC
Fixed in 0.1.25.