Description of problem: Can't run hardware-detect Version-Release number of selected component (if applicable): # rpm -qa python-hardware-detect python-hardware-detect-0.17-6.el7ost.noarch How reproducible: 100% Steps to Reproduce: 1. install the package 2. run the hardware detection Actual results: # yum install -y python-hardware-detect # hardware-detect Traceback (most recent call last): File "/bin/hardware-detect", line 6, in <module> from hardware.detect import main File "/usr/lib/python2.7/site-packages/hardware/__init__.py", line 15, in <module> import pbr.version ImportError: No module named pbr.version Expected results: A working hardware detection Additional info: Installing python-pbr package solves the issue
http://review.rdoproject.org/r/1390
https://review.rdoproject.org/r/#/c/1390/ - for rpm master merged
The dependency is present in a recent puddle: [stack@host07 ~]$ rpm -q python-hardware-detect python-hardware-detect-0.18.1-0.20161003155245.e36c931.el7ost.noarch [stack@host07 ~]$ rpm -qR python-hardware-detect | grep pbr python-pbr I can also verity that the command works as expected, both locally and on the introspection ramdisk.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2948.html