Public bug reported:

== Comment: #0 - Mukesh K. Ojha <[email protected]> - 2016-05-09 13:50:48 ==
---Problem Description---
ipmi sel time set is setting 30 mins less than given time in OOB, and 30 mins 
more than given time in in-band method (ipmitool)
 
---uname output---
Ubuntu 16.04
 
Machine Type = All Power System 
 
---Debugger---
A debugger is not configured
 
---Steps to Reproduce---
  Install a Open Power Firmware(OP810) on BMC machine and try to set sel time 
using ipmitool.

ipmi sel time set is setting 30 mins less than given time in Out-of-
band(OOB), and 30 mins more than given time in in-band method.

Here there are two problems
1. sel time set function setting time incorrectly.
2. same ipmi command behaves differently in in-band and out-of-band.


[pridhiviraj@localhost sl_ga]$ ipmitool -I lanplus -H 9.3.23.199 -U ADMIN -P 
admin sel time get
03/02/2016 11:43:07
[pridhiviraj@localhost sl_ga]$ ipmitool -I lanplus -H 9.3.23.199 -U ADMIN -P 
admin sel time set "03/02/2016 11:43:07"
03/02/2016 11:13:07
[pridhiviraj@localhost sl_ga]$ 
[pridhiviraj@localhost sl_ga]$ ipmitool -I lanplus -H 9.3.23.199 -U ADMIN -P 
admin sel time get
03/02/2016 11:15:20

Here we can observe in OOB method sel time set is setting 30 minutes
less than given time.

This is tried on a machine which is having custom firmware for SL GA2
testing.

Tried on another machine having OP810 firmware, same problem appears.
[pridhiviraj@localhost sl_ga]$ ipmitool -I lanplus -H 9.47.70.200 -U ADMIN -P 
admin sel time get
02/20/2014 23:51:35
[pridhiviraj@localhost sl_ga]$ ipmitool -I lanplus -H 9.47.70.200 -U ADMIN -P 
admin sel time set "02/20/2014 23:51:35"
02/20/2014 23:21:35
[pridhiviraj@localhost sl_ga]$ 


Try to set sel time using in-band method:
[root@ite037 ~]# ipmitool sel time get
03/02/2016 11:06:55
[root@ite037 ~]# ipmitool sel time set "03/02/2016 11:06:55"
03/02/2016 11:36:55
[root@ite037 ~]# 
[root@ite037 ~]# 
[root@ite037 ~]# ipmitool sel time get
03/02/2016 11:37:17
[root@ite037 ~]# 
 
Contact Information = [email protected] 
 
Userspace tool common name: ipmitool 
 
The userspace tool has the following bit modes: both 

Userspace package: ipmitool

Userspace tool obtained from project website:  na 
 
*Additional Instructions for [email protected]:
-Attach ltrace and strace of userspace application.

== Comment: #7 - Breno Henrique Leitao <[email protected]> - 2016-05-25 
14:55:13 ==
Canonical,

The solution for this problem is a fix already accepted upstream on
commit:

 * c7169bc27ee407206e768dece2c3f026e02aee02

git://git.code.sf.net/p/ipmitool/source

** Affects: ipmitool (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-141165 severity-high 
targetmilestone-inin16041

** Tags added: architecture-ppc64le bugnameltc-141165 severity-high
targetmilestone-inin16041

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

** Package changed: ubuntu => ipmitool (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586048

Title:
  ipmi sel time set is setting 30 mins less than given time in OOB, and
  30 mins more than given time in in-band method (ipmitool)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipmitool/+bug/1586048/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to