Bug 2045953
Summary: | 'virsh nodedev-list --cap storage' doesn't list host nvme storage | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Yiding Liu (Fujitsu) <yidliu> | |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> | |
libvirt sub component: | Storage | QA Contact: | Han Han <hhan> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | unspecified | |||
Priority: | unspecified | CC: | jdenemar, jsuchane, lizhu, lmen, mprivozn, nilal, tumeya, virt-maint, xuzhang | |
Version: | 9.1 | Keywords: | Triaged, Upstream | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-8.1.0-1.el9 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2056673 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-15 10:03:03 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | 8.1.0 | |
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2002451 |
Description
Yiding Liu (Fujitsu)
2022-01-26 03:13:53 UTC
From @lizhu. Set the bug as all platform. ``` Lili Zhu 11:12 AM (2 minutes ago) to me, s3-bug-review Hi,Yiding I tested on x86 libvirt-8.0.0-1.el9.x86_64 # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 558.4G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 557.4G 0 part ├─rhel_dell--per730--37-root 253:0 0 70G 0 lvm / ├─rhel_dell--per730--37-swap 253:1 0 15.7G 0 lvm [SWAP] └─rhel_dell--per730--37-home 253:3 0 471.7G 0 lvm /home nvme0n1 259:0 0 1.1T 0 disk ├─nvme0n1p1 259:1 0 1G 0 part └─nvme0n1p2 259:2 0 1.1T 0 part ├─rhel_dell--per730--3700-swap 253:2 0 15.7G 0 lvm ├─rhel_dell--per730--3700-home 253:4 0 1T 0 lvm └─rhel_dell--per730--3700-root 253:5 0 70G 0 lvm # virsh nodedev-list --cap storage block_sda_361866da06615c000278963e4096def72 (no nvme) ``` Patches posted on the list: https://listman.redhat.com/archives/libvir-list/2022-January/msg01185.html Merged upstream as: f103976ff3 node_device: Treat NVMe disks as regular disks ec9e2adb96 node_device: Rework udevKludgeStorageType() v8.0.0-199-gf103976ff3 Hi Masa, Can you please help us understand what is the impact (severity) of this bug for FJ? Is there an expectation that this needs to be fixed in 8.7? I am asking because if that is the case then we should create a clone for the bug so that we don't miss it. Thanks Hi Nitesh, Thank you for asking! Yes, Fujitsu expects the fix is backported to 8.7 as well. I have cloned this BZ for RHEL8: Bug 2056673 Tested with: libvirt-8.1.0-1.el9.x86_64 # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 558.4G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 0 557.4G 0 part ├─rhel_dell--per730--37-root 253:0 0 70G 0 lvm / ├─rhel_dell--per730--37-swap 253:1 0 15.7G 0 lvm [SWAP] └─rhel_dell--per730--37-home 253:2 0 471.7G 0 lvm /home nvme0n1 259:0 0 1.1T 0 disk enumerate storage devices on this host # virsh nodedev-list --cap storage block_nvme0n1_INTEL_SSDPEDMX012T7_BTPF81240DQ01P2JGN block_sda_361866da06615c000278963e4096def72 nvme disk is listed Works on libvirt-8.3.0-1.el9.x86_64: ➜ ~ virsh nodedev-list --cap storage block_nvme0n1_INTEL_SSDPEDMX012T7_BTPF81240DQ01P2JGN ➜ ~ virsh nodedev-dumpxml block_nvme0n1_INTEL_SSDPEDMX012T7_BTPF81240DQ01P2JGN <device> <name>block_nvme0n1_INTEL_SSDPEDMX012T7_BTPF81240DQ01P2JGN</name> <path>/sys/devices/pci0000:80/0000:80:03.2/0000:87:00.0/nvme/nvme0/nvme0n1</path> <devnode type='dev'>/dev/nvme0n1</devnode> <devnode type='link'>/dev/disk/by-id/nvme-INTEL_SSDPEDMX012T7_BTPF81240DQ01P2JGN</devnode> <devnode type='link'>/dev/disk/by-id/nvme-nvme.8086-4254504638313234304451303150324a474e-494e54454c205353445045444d583031325437-00000001</devnode> <devnode type='link'>/dev/disk/by-path/pci-0000:87:00.0-nvme-1</devnode> <parent>pci_0000_87_00_0</parent> <capability type='storage'> <block>/dev/nvme0n1</block> <drive_type>disk</drive_type> <model>INTEL SSDPEDMX012T7</model> <serial>INTEL_SSDPEDMX012T7_BTPF81240DQ01P2JGN</serial> <size>1200243695616</size> <logical_block_size>512</logical_block_size> <num_blocks>2344225968</num_blocks> </capability> </device> 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 (Low: libvirt security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2022:8003 |