diff options
author | Mukesh Ojha <mukesh02@linux.vnet.ibm.com> | 2016-12-02 16:05:16 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-12-02 16:06:58 +0000 |
commit | 62a70f4c00e6101ef2421cb6b4574a43b8eff9c3 (patch) | |
tree | a8050f686641b79cc6c3fa7e6401ef3f314eba33 /po/lo.po | |
parent | 2a02bd2ba2a1c48331262e2ec4bda547c32b3419 (diff) | |
download | sos-62a70f4c00e6101ef2421cb6b4574a43b8eff9c3.tar.gz |
[ipmitool] use usb interface if available
SOSREPORT generally uses the default interface (/dev/ipmi0) while
executing ipmitool command, which is quite slow as compare to
usb interface.
This usb interface uses the virtual device exposed from BMC like
in OpenPower system AMI exposes virtual USB interface. IPMITOOL
command with usb interface sends the data to the kernel drivers
which inturn sends it to the BMC.
This patch enables ipmitool command to use usb interface if available.
With this patch:
================
root@ubuntu1604:/home/mukesh/sos# ./sosreport --config sos.conf -o ipmitool
sosreport (version 3.2)
This command will collect system configuration and diagnostic
information from this Ubuntu system. An archive containing the collected
information will be generated in /tmp/sos.TF8N8E.
For more information on Ubuntu visit:
http://www.ubuntu.com/
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Press ENTER to continue, or CTRL-C to quit.
Please enter your first initial and last name [ubuntu1604]:
Please enter the case id that you are generating this report for []:
Setting up archive ...
Setting up plugins ...
Running plugins. Please wait ...
Running 1/1: ipmitool...
Creating compressed archive...
Your sosreport has been generated and saved in:
/tmp/sosreport-ubuntu1604-20161130110402.tar.xz
The checksum is: adfdbc8475874d7ad1077a3d2eda151b
Please send this file to your support representative.
root@ubuntu1604:/home/mukesh/sos# tar -xvf /tmp/sosreport-ubuntu1604-20161130110402.tar.xz
sosreport-ubuntu1604-20161130110402/
sosreport-ubuntu1604-20161130110402/version.txt
sosreport-ubuntu1604-20161130110402/sos_reports/
sosreport-ubuntu1604-20161130110402/sos_reports/sos.txt
sosreport-ubuntu1604-20161130110402/sos_reports/sos.html
sosreport-ubuntu1604-20161130110402/sos_commands/
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/ipmitool_-I_usb_sel_list
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/ipmitool_-I_usb_sdr_info
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/ipmitool_-I_usb_chassis_status
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/ipmitool_-I_usb_fru_print
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/ipmitool_-I_usb_sensor_list
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/ipmitool_-I_usb_sel_info
sosreport-ubuntu1604-20161130110402/sos_commands/ipmitool/ipmitool_-I_usb_mc_info
sosreport-ubuntu1604-20161130110402/sos_logs/
sosreport-ubuntu1604-20161130110402/sos_logs/ui.log
sosreport-ubuntu1604-20161130110402/sos_logs/sos.log
Signed-off-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
---
Changes in V3:
- Forgot to remove import subprocess in the last version.
Changes in V2:
- Used existing wrapper instead of subprocess.
- Removed camelCase for identifier.
sos/plugins/ipmitool.py | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
Diffstat (limited to 'po/lo.po')
0 files changed, 0 insertions, 0 deletions