+++ This bug was initially created as a clone of Bug #1164215 +++ sos 3.2 has been released Tue Sep 30 2014. Using sos 3.2 for collecting vdsm data it fails with the following error: # sosreport -o vdsm sosreport (version 3.2) plugin vdsm does not install, skipping: No module named config a non-existing plugin (vdsm) was specified in the command line [root@mididell ~]# sosreport -o vdsm --verbose sosreport (version 3.2) plugin vdsm does not install, skipping: No module named config a non-existing plugin (vdsm) was specified in the command line # sosreport -o vdsm --debug sosreport (version 3.2) plugin vdsm does not install, skipping: No module named config Traceback (most recent call last): File "/usr/sbin/sosreport", line 25, in <module> main(sys.argv[1:]) File "/usr/lib/python2.7/site-packages/sos/sosreport.py", line 1411, in main sos.execute() ImportError: No module named config > /usr/lib/python2.7/site-packages/sos/plugins/vdsm.py(39)_importVdsmPylibModule() -> modName, [os.path.join(get_python_lib(True), "vdsm")]) side note: pep8 /usr/lib/python2.7/site-packages/sos/plugins/vdsm.py /usr/lib/python2.7/site-packages/sos/plugins/vdsm.py:130:80: E501 line too long (83 > 79 characters) vdsm-4.16.7-39.gitd88aba8.fc20.x86_64 --- Additional comment from Sandro Bonazzola on 2014-11-18 07:41:05 EST --- Verified on CentOS 6.6, it doesn't work on sos 2.2 too. # sosreport --diagnose --verbose -o vdsm sosreport (version 2.2) plugin vdsm.py does not install, skipping no valid plugins were enabled --- Additional comment from Sandro Bonazzola on 2014-11-18 09:01:05 EST --- After further investigation, looks like vdsm sos plugin is trying to load a config python module from /usr/lib64/python2.6/site-packages/vdsm being on a x86_64 system, but fails since that direcotry doesn't exist and the config module is in /usr/lib/python2.6/site-packages/vdsm --- Additional comment from Sandro Bonazzola on 2014-11-20 06:01:26 EST --- just a note for the test case: functional test exist: - install vdsm-tests.rpm - get vdsm to run - go to /usr/share/vdsm/tests - execute ./run_tests.sh functional/sosPluginTests.py
Marking as test only since it seems it can't be reproduced on EL7 with vdsm-4.14.18-3.el7ev.x86_64.
ok ppc64: ****** vdsm-4.14.18-0.pkvm2_1_1.1.ppc64 sos-3.1-1.1.pkvm2_1_1.7.noarch tar tJvf /tmp/sosreport-LogCollector-20141216172025.tar.xz './log-collector-data/ibm-p8-rhevm-hv-01.klab.eng.bos.redhat.com/*.xz' -rw------- root/root 90039808 2014-12-16 17:19 ./log-collector-data/ibm-p8-rhevm-hv-01.klab.eng.bos.redhat.com/ibm-p8-rhevm-hv-01.klab.eng.bos.redhat.com-sosreport-ibm-p8-rhevm-hv-01.klab.eng.bos.redhat.com-20141216161522.tar.xz x86_64 (with sos-3.2-8.el7.noarch): *********************************** vdsm-4.14.18-5.el7ev.x86_64 sos-3.2-8.el7.noarch # tar tJvf log-collector-data/dell-r210ii-04.rhev.lab.eng.brq.redhat.com/dell-r210ii-04.rhev.lab.eng.brq.redhat.com-sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234.tar.xz | tail lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/uname -> sos_commands/kernel/uname_-a lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/lsmod -> sos_commands/kernel/lsmod lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/free -> sos_commands/memory/free lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/route -> sos_commands/networking/route_-n lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/netstat -> sos_commands/networking/netstat_-neopa lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/ps -> sos_commands/process/ps_auxwww lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/pstree -> sos_commands/process/pstree lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/lsof -> sos_commands/process/lsof_-b_M_-n_-l lrwxrwxrwx root/root 0 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/installed-rpms -> sos_commands/rpm/sh_-c_rpm_--nodigest_-qa_--qf_NAME_-_VERSION_-_RELEASE_._ARCH_INSTALLTIME_date_INSTALLTIME_VENDOR_BUILDHOST_SIGPGP_SIGPGP_pgpsig_awk_-F_printf_-59s_s_n_1_2_sort -rw-r--r-- root/root 301 2014-12-16 17:52 sosreport-dell-r210ii-04.rhev.lab.eng.brq.redhat.com-20141216175234/version.txt