Details
-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.14.0
-
None
-
Moderate
-
No
-
False
-
Description
Description of problem:
Check on BMH "Disks" tab, the type in table is wrongly set to "Rotational", it should be "HDD" from yaml.
Version-Release number of selected component (if applicable):
4.14.0-0.nightly-2023-09-02-132842
How reproducible:
On some edge cluster
Steps to Reproduce:
1.Go to one BMH "Disks" tab, check if fields in table are consistent with the value in yaml. 2. 3.
Actual results:
1.The "Type" is "Rotational" in table, but it's "HDD" in yaml: # oc get baremetalhosts.metal3.io openshift-master-0-0 -n openshift-machine-api -o json | jq -r '.status.hardware.storage' [ { "hctl": "0:0:0:0", "model": "QEMU HARDDISK", "name": "/dev/disk/by-path/pci-0000:03:00.0-scsi-0:0:0:0", "rotational": true, "serialNumber": "05abcd339cd1301d", "sizeBytes": 107374182400, "type": "HDD", "vendor": "QEMU", "wwn": "0x05abcd339cd1301d", "wwnWithExtension": "0x05abcd339cd1301d" } ]
Expected results:
1. The "Type" in table should be "HDD".
Additional info:
On other Edge cluster, the type is correctly shown as "SSD". $ oc get baremetalhosts.metal3.io master-00 -n openshift-machine-api -o json | jq -r '.status.hardware.storage' [ { "hctl": "1:0:0:0", "model": "MZ7KH960HAJR0D3", "name": "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:0:0", "serialNumber": "S5CPNA0N704352", "sizeBytes": 960197124096, "type": "SSD", "vendor": "ATA", "wwn": "0x5002538e0075dc74", "wwnWithExtension": "0x5002538e0075dc74" } ] Refer to screenshots: https://drive.google.com/drive/folders/1y4YtYLJ9dYfoGKjvaeoQSV99VmiEHMDF?usp=sharing