PowerNV: ipmitool -I usb interface is missing

Bug #1652257 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipmitool (Ubuntu)
Fix Released
Undecided
Steve Langasek

Bug Description

== Comment: #0 - PAVAMAN SUBRAMANIYAM <email address hidden> - 2016-12-23 00:13:34 ==
---Problem Description---
ipmitool -I usb interface is missing

Contact Information = <email address hidden>

---uname output---
Linux ltc-test-hab02 4.9.0-11-generic #12-Ubuntu SMP Mon Dec 12 16:16:45 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = P8

---Debugger---
A debugger is not configured

---Steps to Reproduce---
Install a P8 Open Power Machine with Ubuntu 17.04 OS.
Then install the ipmitool package on the Ubuntu OS.

Then checked the below command is working with ipmitool.

root@ltc-test-hab02:~# ipmitool -I usb lan print 1
Error loading interface usb
root@ltc-test-hab02:~# echo $?
1

root@ltc-test-hab02:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="17.04 (Zesty Zapus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Zesty Zapus (development branch)"
VERSION_ID="17.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=zesty
UBUNTU_CODENAME=zesty

root@ltc-test-hab02:~# ipmitool -I
ipmitool: option requires an argument -- 'I'
ipmitool version 1.8.18

usage: ipmitool [options...] <command>

       -h This help
       -V Show version information
       -v Verbose (can use multiple times)
       -c Display output in comma separated format
       -d N Specify a /dev/ipmiN device to use (default=0)
       -I intf Interface to use
       -H hostname Remote host name for LAN interface
       -p port Remote RMCP port [default=623]
       -U username Remote session username
       -f file Read remote session password from file
       -z size Change Size of Communication Channel (OEM)
       -S sdr Use local file for remote SDR cache
       -D tty:b[:s] Specify the serial device, baud rate to use
                      and, optionally, specify that interface is the system one
       -4 Use only IPv4
       -6 Use only IPv6
       -a Prompt for remote password
       -Y Prompt for the Kg key for IPMIv2 authentication
       -e char Set SOL escape character
       -C ciphersuite Cipher suite to be used by lanplus interface
       -k key Use Kg key for IPMIv2 authentication
       -y hex_key Use hexadecimal-encoded Kg key for IPMIv2 authentication
       -L level Remote session privilege level [default=ADMINISTRATOR]
                      Append a '+' to use name/privilege lookup in RAKP1
       -A authtype Force use of auth type NONE, PASSWORD, MD2, MD5 or OEM
       -P password Remote session password
       -E Read password from IPMI_PASSWORD environment variable
       -K Read kgkey from IPMI_KGKEY environment variable
       -m address Set local IPMB address
       -b channel Set destination channel for bridged request
       -t address Bridge request to remote target address
       -B channel Set transit channel for bridged request (dual bridge)
       -T address Set transit address for bridge request (dual bridge)
       -l lun Set destination lun for raw commands
       -o oemtype Setup for OEM (use 'list' to see available OEM types)
       -O seloem Use file for OEM SEL event descriptions
       -N seconds Specify timeout for lan [default=2] / lanplus [default=1] interface
       -R retry Set the number of retries for lan/lanplus interface [default=4]

Interfaces:
        open Linux OpenIPMI Interface [default]
        imb Intel IMB Interface
        lan IPMI v1.5 LAN Interface
        lanplus IPMI v2.0 RMCP+ LAN Interface
        free FreeIPMI IPMI Interface
        serial-terminal Serial Interface, Terminal Mode
        serial-basic Serial Interface, Basic Mode

Commands:
        raw Send a RAW IPMI request and print response
        i2c Send an I2C Master Write-Read command and print response
        spd Print SPD info from remote I2C device
        lan Configure LAN Channels
        chassis Get chassis status and set power state
        power Shortcut to chassis power commands
        event Send pre-defined events to MC
        mc Management Controller status and global enables
        sdr Print Sensor Data Repository entries and readings
        sensor Print detailed sensor information
        fru Print built-in FRU and scan SDR for FRU locators
        gendev Read/Write Device associated with Generic Device locators sdr
        sel Print System Event Log (SEL)
        pef Configure Platform Event Filtering (PEF)
        sol Configure and connect IPMIv2.0 Serial-over-LAN
        tsol Configure and connect with Tyan IPMIv1.5 Serial-over-LAN
        isol Configure IPMIv1.5 Serial-over-LAN
        user Configure Management Controller users
        channel Configure Management Controller channels
        session Print session information
        dcmi Data Center Management Interface
        nm Node Manager Interface
        sunoem OEM Commands for Sun servers
        kontronoem OEM Commands for Kontron devices
        picmg Run a PICMG/ATCA extended cmd
        fwum Update IPMC using Kontron OEM Firmware Update Manager
        firewall Configure Firmware Firewall
        delloem OEM Commands for Dell systems
        shell Launch interactive IPMI shell
        exec Run list of commands from file
        set Set runtime variable for shell and exec
        hpm Update HPM components using PICMG HPM.1 file
        ekanalyzer run FRU-Ekeying analyzer using FRU files
        ime Update Intel Manageability Engine Firmware
        vita Run a VITA 46.11 extended cmd
        lan6 Configure IPv6 LAN Channels

As can be seen above with ipmitool version 1.8.18, there is no usb interface being listed.

The usb interface was there earlier with ipmitool verison 1.8.17

Userspace tool common name: /usr/bin/ipmitool

The userspace tool has the following bit modes: 64-bit

Userspace rpm: ipmitool-1.8.18-2

Userspace tool obtained from project website: na

*Additional Instructions for <email address hidden>:
-Post a private note with access information to the machine that the bug is occuring on.
-Attach ltrace and strace of userspace application.

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-150101 severity-critical targetmilestone-inin1704
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
affects: ubuntu → ipmitool (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-12-23 04:33 EDT-------
# ipmitool -I usb lan print 1
Error loading interface usb <--- Error
# echo $?
1
# ipmitool -I
ipmitool: option requires an argument -- 'I'
ipmitool version 1.8.18

usage: ipmitool [options...] <command>

Interfaces:
open Linux OpenIPMI Interface [default]
imb Intel IMB Interface
lan IPMI v1.5 LAN Interface
lanplus IPMI v2.0 RMCP+ LAN Interface
free FreeIPMI IPMI Interface
serial-terminal Serial Interface, Terminal Mode
serial-basic Serial Interface, Basic Mode <--- No USB

Hello Canonical,

Can you please help with missing usb interface support with ipmitool
shipped with 17.04. I has been available with 1.8.17 version currently.

Steve Langasek (vorlon)
Changed in ipmitool (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → Steve Langasek (vorlon)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ipmitool - 1.8.18-2ubuntu1

---------------
ipmitool (1.8.18-2ubuntu1) zesty; urgency=medium

  * Enforce enablement of the usb interface, which failed to be autodetected
    in latest build. LP: #1652257.

 -- Steve Langasek <email address hidden> Sun, 25 Dec 2016 22:44:23 +0000

Changed in ipmitool (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :
Download full text (6.6 KiB)

------- Comment From <email address hidden> 2016-12-26 05:40 EDT-------
I have updated the packages of Ubuntu 17.04 OS installed on P8 Hardware.

root@ltc-garri2:~# uname -a
Linux ltc-garri2 4.9.0-11-generic #12-Ubuntu SMP Mon Dec 12 16:16:45 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
root@ltc-garri2:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="17.04 (Zesty Zapus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Zesty Zapus (development branch)"
VERSION_ID="17.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=zesty
UBUNTU_CODENAME=zesty

root@ltc-garri2:~# which ipmitool
/usr/bin/ipmitool
root@ltc-garri2:~# dpkg -S /usr/bin/ipmitool
ipmitool: /usr/bin/ipmitool
root@ltc-garri2:~# dpkg --list | grep ipmitool
ii ipmitool 1.8.18-2ubuntu1 ppc64el utility for IPMI control with kernel driver or LAN interface (daemon)

Then executed the scenario again to verify if the fixes are working fine.

root@ltc-garri2:~# ipmitool -I usb lan print 1
Set in Progress : Set Complete
Auth Type Support : MD5
Auth Type Enable : Callback : MD5
: User : MD5
: Operator : MD5
: Admin : MD5
: OEM : MD5
IP Address Source : Static Address
IP Address : 9.40.193.26
Subnet Mask : 255.255.255.0
MAC Address : 70:e2:84:14:0d:04
SNMP Community String : AMI
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control : ARP Responses Enabled, Gratuitous ARP Disabled
Gratituous ARP Intrvl : 0.0 seconds
Default Gateway IP : 9.40.193.1
Default Gateway MAC : 00:00:00:00:00:00
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : caaaaaaaaaaaXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : 0
Invalid password disable: no
Attempt Count Reset Int.: 0
User Lockout Interval : 0

root@ltc-garri2:~# ipmitool -I
ipmitool: option requires an argument -- 'I'
ipmitool version 1.8.18

usage: ipmitool [options...] <command>

-h This help
-V Show version information
-v Verbose (can use multiple times)
-c Display output in comma separated format
-d N Specify a /dev/ipmiN device to use (default=0)
-I intf Interface to use
-H hostname Remote host name for LAN interface
-p port Remote RMCP port [default=623]
-U username Remote session username
-f file Read remote session password from file
-z size Change Size of Communication Channel (OEM)
-S sdr Use local file for remote SDR cache
-D tty:b[:s] Specify the serial device, baud rate to use
and, optionally, specify that interface is the system one
-4 Use only IPv4
-6 Use only IPv6
-a Prompt for remote password
-Y ...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.