Description of problem: Version-Release number of selected component (if applicable): 24.3 How reproducible: On any IBM garrison system ( https://beaker.engineering.redhat.com/?simplesearch=garrison) the number of disks appears to returning 4 instead of the actual number 2. Steps to Reproduce: On any of the aforementioned systems run beaker-system-scan -d OR run an inventory on any of the above systems. Actual results: 'Disk': {'Disks': [{'model': 'ST1000NX0313', 'phys_sector_size': 4096, 'sector_size': 512, 'size': '1000204886016'}, {'model': None, 'phys_sector_size': 512, 'sector_size': 512, 'size': '1000204886016'}, {'model': 'ST1000NX0313', 'phys_sector_size': 4096, 'sector_size': 512, 'size': '1000204886016'}, {'model': None, 'phys_sector_size': 512, 'sector_size': 512, 'size': '1000204886016'}]} Expected results: from # lshw: .... *-sata description: SATA controller product: 88SE9235 PCIe 2.0 x2 4-port SATA 6 Gb/s Controller vendor: Marvell Technology Group Ltd. physical id: 0 bus info: pci@0005:04:00.0 logical name: scsi0 logical name: scsi1 version: 11 slot: Backplane SATA width: 32 bits clock: 33MHz capabilities: sata pm msi pciexpress ahci_1.0 bus_master cap_list rom emulated configuration: driver=ahci latency=0 resources: irq:373 memory:3fe280810000-3fe2808107ff memory:3fe280800000-3fe28080ffff *-disk:0 description: ATA Disk product: ST1000NX0313 physical id: 0 bus info: scsi@0:0.0.0 logical name: /dev/sda version: BE33 serial: S4704E31 size: 931GiB (1TB) capabilities: removable configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 *-medium physical id: 0 logical name: /dev/sda size: 931GiB (1TB) capabilities: partitioned partitioned:dos configuration: signature=0009be95 *-volume:0 description: PPC PReP Boot partition physical id: 1 logical name: /dev/sda1 capacity: 4MiB capabilities: primary bootable boot *-volume:1 description: Linux filesystem partition physical id: 2 logical name: /dev/sda2 logical name: /boot capacity: 1GiB capabilities: primary configuration: mount.fstype=xfs mount.options=rw,seclabel,relatime,attr2,inode64,noquota state=mounted *-volume:2 description: Linux LVM Physical Volume partition physical id: 3 logical name: /dev/sda3 serial: hsrIw0-WZ5S-z8cO-53xE-wGQe-vxvu-cP8QO0 size: 930GiB capacity: 930GiB capabilities: primary multi lvm2 *-disk:1 description: ATA Disk product: ST1000NX0313 physical id: 1 bus info: scsi@1:0.0.0 logical name: /dev/sdb version: BE33 serial: S47048R9 size: 931GiB (1TB) capabilities: removable configuration: ansiversion=5 logicalsectorsize=512 sectorsize=4096 *-medium physical id: 0 logical name: /dev/sdb size: 931GiB (1TB) capabilities: partitioned partitioned:dos configuration: signature=0000b6fb *-volume description: Linux LVM Physical Volume partition physical id: 1 logical name: /dev/sdb1 serial: Zcgf2k-Ogis-etcY-6YoY-YnK6-9vbJ-tiWCdJ size: 931GiB capacity: 931GiB capabilities: primary multi lvm2 .... Additional info: The original ticket: https://redhat.service-now.com/surl.do?n=PNT0060266
Here's an example inventory run on one of the garrison systems: https://beaker.engineering.redhat.com/recipes/4252730#task61073987
For clarification, the complaint is that NR_DISKS returns 4 when it should be returning 2 - I manually changed the key on that system's page so they can proceed with their testing.
See bug 1729282 for the same problem on Witherspoon POWER systems.
Patch submitted to Gerrit for review: https://gerrit.beaker-project.org/6620