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',)
sosreportfails to collectdmidecodeand other hardware info ifrhn-client-toolsis 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
sosprior tosos-1.7-9.66.el5rhn-client-toolsnot installed
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
