Description of problem: Currently the inventory task uses libparted (using ctypes) to retrieve disk information. Knowing the exact libparted version (for different distros) to load is a a trial and error operation and has led to trying a number of libparted libraries before one is found. Using a solution such as 'lshw' eradicates that problem. Besides, it also falls in place with the move to 'lshw' for gathering other inventory data. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
On Gerrit: http://gerrit.beaker-project.org/#/c/1659/
Check it on s390 (and other platforms - ppc64?), please. I tried using lshw in the past and the output on s390 was far from complete.
Updated patch in http://gerrit.beaker-project.org/#/c/3139/
(In reply to Amit Saha from comment #4) > Updated patch in http://gerrit.beaker-project.org/#/c/3139/ Separated out into it's own patch: http://gerrit.beaker-project.org/#/c/3141/
(In reply to Marian Csontos from comment #2) > Check it on s390 (and other platforms - ppc64?), please. I tried using lshw > in the past and the output on s390 was far from complete. Yes indeed. We will have to rectify that. Started off with this: http://gerrit.beaker-project.org/#/c/3142/2
lshw doesn't bring up anything with VirtIO disks
(In reply to Amit Saha from comment #7) > lshw doesn't bring up anything with VirtIO disks http://gerrit.beaker-project.org/#/c/3169/
We have virtio disks and IBM vio disks (bug 1212291) and S/390 DASD (bug 1212311) in lshw now, so I think we are in a good position to switch to using that instead of libparted.
http://gerrit.beaker-project.org/4312
It's an lshw bug: https://git.beaker-project.org/cgit/lshw/commit/?id=78bb0ffbecf3b0f7dfb7e7042c6eb59dbd540e1a Filed upstream but it's still in the moderation queue.
Beaker 21.0 has been released.