Description of problem:
Can't run hardware-detect
Version-Release number of selected component (if applicable):
# rpm -qa python-hardware-detect
Steps to Reproduce:
1. install the package
2. run the hardware detection
# yum install -y python-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>
ImportError: No module named pbr.version
A working hardware detection
Installing python-pbr package solves the issue
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
[stack@host07 ~]$ rpm -qR python-hardware-detect | grep 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.