Bug 814039

Summary: Beaker should report anaconda logs during install
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: schedulerAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: bpeck, dcallagh, mkovarik, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-26 06:40:39 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:
Bug Depends On:    
Bug Blocks: 781918    

Description Dan Callaghan 2012-04-19 05:21:53 UTC
Cobbler does this using anamon, a script which is fetched and executed in kickstart %pre. It watches various anaconda logs and reports them back to Cobbler. We should do a similar thing in Beaker, by taking the anamon script and modifying it to submit the logs to Beaker instead.

Comment 1 Bill Peck 2012-04-19 13:40:29 UTC
I think we should take this opportunity to improve the anamon script, currently every time a watched file grows it re-sends the file from the beginning.  It should keep track of the offset and only transfer the delta.

Comment 2 Steven Lawrance 2012-04-20 12:05:37 UTC
We should also submit logs by recipe ID (or task or provision ID, or whatever), instead of by system name.

Comment 3 Dan Callaghan 2012-04-24 08:53:41 UTC
This patch is anamon copied mostly as is:

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

The main difference is that it uses the recipe id instead of hostname, as per comment 2.

I haven't tackled Bill's suggestion in comment 1 to make the log uploads smarter.

Comment 7 Dan Callaghan 2012-06-26 06:40:39 UTC
Beaker 0.9.0 has been released.