sosreport fails to collect dmidecode if rhn-client-tools is not installed
Issue
- When attempting to run RHEV Log Collector, the following error is encountered:
INFO: SSH Connected to <ip_address>
ERROR: SSH error: sosreport (version 1.7)
ERROR: SSH error: could not setup plugin hardware
ERROR: SSH error: <type 'instance'>: ('list index out of range',)
sosreport
fails to collectdmidecode
and other hardware info ifrhn-client-tools
is not installed. The following error is encountered when attempting to runsosreport
:
could not setup plugin hardware
<type 'instance'>: ('list index out of range',)
plugin yum finished ...
Completed.
- Cannot collect HW (hardware) information and diagnostics for analysis from sosreport; is this a BUG?
Preloading files and commands to be gathered by plugin hardware could not setup plugin hardware
<type 'instance'>: ('list index out of range',)
Preloading files and commands to be gathered by plugin
- RHEL 5.8+ reports the above message every time you run it because /usr/share/rhn doesn't exist and comes from the run-client-tools package; both physical and KVM tested
Environment
- Red Hat Enterprise Virtualization 2.2
- Red Hat Enterprise Linux (RHEL) 5
sos
prior tosos-1.7-9.66.el5
rhn-client-tools
not installed
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.