Bug 857878

Summary: Update ipmitool to support getsysinfo and setsysinfo
Product: [Fedora] Fedora Reporter: Charles Rose <charles_rose>
Component: ipmitoolAssignee: Ales Ledvinka <aledvink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: aledvink, charles_rose, jordan_hargrave, jsafrane, tsmetana
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-12-20 16:05:35 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:
Bug Depends On:    
Bug Blocks: 880545    
Attachments:
Description Flags
ipmitool getsysinfo and setsysinfo none

Description Charles Rose 2012-09-17 11:09:30 UTC
Description of problem:
Update ipmitool to support setting OS name and Hostname on BMC:

Attached patch adds getsysinfo and setsysinfo to ipmitool (in upstream CVS).

Version-Release number of selected component (if applicable):
ipmitool-1.8.12

This adds functionality to ipmitool to set and get osname, primary_os_name and system_name values.

Usage:
ipmitool mc setsysinfo os_name "Fedora 18"
ipmitool mc setsysinfo primary_os_name "Fedora 18"
ipmitool mc setsysinfo system_name "server1.example.org"

Comment 1 Charles Rose 2012-09-17 11:10:37 UTC
Created attachment 613630 [details]
ipmitool getsysinfo and setsysinfo

Author: Jordan_Hargrave@Dell.com

Comment 2 Ales Ledvinka 2012-10-17 15:45:39 UTC
rawhide, f18

Comment 3 Fedora Update System 2012-10-17 15:57:34 UTC
ipmitool-1.8.12-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ipmitool-1.8.12-4.fc18

Comment 4 Fedora Update System 2012-10-17 17:35:52 UTC
Package ipmitool-1.8.12-4.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ipmitool-1.8.12-4.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-16327/ipmitool-1.8.12-4.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-10-18 08:07:57 UTC
ipmitool-1.8.12-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ipmitool-1.8.12-5.fc18

Comment 6 Charles Rose 2012-10-19 06:05:57 UTC
(In reply to comment #5)
> ipmitool-1.8.12-5.fc18 has been submitted as an update for Fedora 18.
> https://admin.fedoraproject.org/updates/ipmitool-1.8.12-5.fc18

I have proposed a start up script upstream to can use these features in ipmitool to set the system's hostname, OS string and get the BMC's IP and expose it in a /run/bmc-info file.

I have a systemd unit for F18 that I am testing with.

It would be possible to pull the start-up script into ipmitool as well after upstream acceptance?

Comment 7 Charles Rose 2012-10-19 06:08:43 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > ipmitool-1.8.12-5.fc18 has been submitted as an update for Fedora 18.
> > https://admin.fedoraproject.org/updates/ipmitool-1.8.12-5.fc18
> 
> I have proposed a start up script upstream to can use these features in
> ipmitool to set the system's hostname, OS string and get the BMC's IP and
> expose it in a /run/bmc-info file.

http://sourceforge.net/mailarchive/message.php?msg_id=29982028

> 
> I have a systemd unit for F18 that I am testing with.
> 
> It would be possible to pull the start-up script into ipmitool as well after
> upstream acceptance?

Comment 8 Fedora Update System 2012-12-20 16:05:38 UTC
ipmitool-1.8.12-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.