IPMI USB SCSI endpoint discovery can fail on OpenPower machines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipmitool (Ubuntu) |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Trusty |
Fix Released
|
Medium
|
Mathieu Trudel-Lapierre | ||
Vivid |
Won't Fix
|
Medium
|
Mathieu Trudel-Lapierre | ||
Wily |
Won't Fix
|
Medium
|
Mathieu Trudel-Lapierre |
Bug Description
[Impact]
The current ipmitool code can fail to find an IPMI device on my OpenPower machine, due to bug in the USB SCSI device discovery process.
This will only happen if the user has adjusted the number of virtual USB devices that the BMC exports. However, the failure mode isn't obvious, and it prevents the user from using the 'USB' IPMI channel, which is required for firmware upgrades.
This is fixed in upstream commit 607cfe6f4, can we backport this to the Ubuntu ipmitool for versions at 1.8.15 or earlier?
[Test case]
1- Increase number of virtual USB devices exported by BMC
2- Run ipmitool -I usb lan print
[Regression Potential]
Low potential for regression. This increases the number of devices allowed for SCSI; since following spec there may be up to 16 devices on a bus. This might cause issues still for out of spec systems with more devices on the bus, or buggy BIOS incorrectly cleaning up memory for devices that are not present (ie. non-zeroed memory that could make ipmi think there is a device when there is not).
Changed in ipmitool (Ubuntu): | |
assignee: | nobody → Taco Screen team (taco-screen-team) |
Changed in ipmitool (Ubuntu): | |
assignee: | Taco Screen team (taco-screen-team) → Mathieu Trudel-Lapierre (mathieu-tl) |
importance: | Undecided → Medium |
Changed in ipmitool (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in ipmitool (Ubuntu Vivid): | |
importance: | Undecided → Medium |
Changed in ipmitool (Ubuntu Wily): | |
importance: | Undecided → Medium |
description: | updated |
Changed in ipmitool (Ubuntu Vivid): | |
status: | New → In Progress |
Changed in ipmitool (Ubuntu Wily): | |
status: | New → In Progress |
Changed in ipmitool (Ubuntu Vivid): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in ipmitool (Ubuntu Wily): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
Changed in ipmitool (Ubuntu Trusty): | |
assignee: | nobody → Mathieu Trudel-Lapierre (mathieu-tl) |
tags: | removed: verification-done |
tags: |
added: verification-done removed: verification-needed |
This bug was fixed in the package ipmitool - 1.8.15-1ubuntu2
---------------
ipmitool (1.8.15-1ubuntu2) xenial; urgency=medium
* debian/ patches/ 0001-ID- 394-plugins- usb-Fix- probe-for- SCSI-devices. patch:
fix probing for SCSI devices in the USB plugin. (LP: #1509896)
-- Mathieu Trudel-Lapierre <email address hidden> Wed, 28 Oct 2015 09:59:09 -0400