Bug 548434

Summary: [RFE] journal should contain basic HW profile of a guest
Product: [Fedora] Fedora Reporter: Jan Hutař <jhutar>
Component: beakerlibAssignee: Jan Hutař <jhutar>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: pmuller, psplicha, qa-errata-list
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 893054 (view as bug list) Environment:
Last Closed: 2013-06-27 16:33:22 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:
Bug Depends On: 555302    
Bug Blocks: 893054    
Attachments:
Description Flags
propposed patch
none
New version of the patch including option for journalling.py and tests
none
Option for journalling.py and tests to add HW info to the journal none

Description Jan Hutař 2009-12-17 13:19:49 UTC
Description of problem:
journal should contain basic HW profile of a guest. Maybe we can also print something in the rlJournalPrintText.


Version-Release number of selected component (if applicable):
beaker-lib-0.4.64-0.el5.noarch


Expected results:
I'm going to use:
CPU info:
  # dmidecode --type 4
RAM info:
  # dmidecode --type 17
HDD info:
  # df --portability
  # swapon -s   # maybe
Other possibility is to use `lshal` which depends on HAL.

Any comments welcome.

Comment 1 Jan Hutař 2010-03-15 07:50:52 UTC
Hmm, no, will use something like this:

CPU info:
  # grep '^model name' /proc/cpuinfo
RAM info:
  # free -m | grep '^Mem' | sed 's/^Mem: \+\([0-9]\+\) \+.*/\1/'
HDD info (will summarize this):
  # df -k -P --local --exclude-type=tmpfs | grep '^/'

Comment 2 Jan Hutař 2010-03-15 11:47:45 UTC
Created attachment 400191 [details]
propposed patch

Comment 3 Jan Hutař 2010-07-27 08:35:16 UTC
Created attachment 434624 [details]
New version of the patch including option for journalling.py and tests

Comment 4 Petr Muller 2011-03-02 15:39:43 UTC
This is still not commited, I believe?

Comment 5 Jan Hutař 2011-03-04 13:26:33 UTC
Yep, I haven't commited it.

Comment 6 Petr Muller 2011-04-29 14:29:04 UTC
I've tried to apply this, but it won't apply anymore. Removing the 'Patch' keyword. I'll try to include this in the journal overhaul effort.

Comment 7 Jan Hutař 2011-07-18 11:57:45 UTC
Created attachment 513602 [details]
Option for journalling.py and tests to add HW info to the journal

Comment 8 Jan Hutař 2011-07-18 11:58:17 UTC
Re-created against current git.

Comment 9 Petr Muller 2011-07-22 14:58:00 UTC
I've tested this a bit, seems good. OK to commit.

Comment 13 Petr Muller 2013-01-08 14:24:44 UTC
beakerlib-1.6-1 is already in fedora