Bug 814039 - Beaker should report anaconda logs during install
Summary: Beaker should report anaconda logs during install
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: scheduler
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 781918
TreeView+ depends on / blocked
 
Reported: 2012-04-19 05:21 UTC by Dan Callaghan
Modified: 2019-05-22 13:41 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-26 06:40:39 UTC
Embargoed:


Attachments (Terms of Use)

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.


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