Bug 2221602
| Summary: | libvirt is loosing paths to vhba storage pool | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Marian Jankular <mjankula> |
| Component: | libvirt | Assignee: | Virtualization Maintenance <virt-maint> |
| libvirt sub component: | Storage | QA Contact: | Meina Li <meili> |
| Status: | CLOSED MIGRATED | Docs Contact: | |
| Severity: | high | ||
| Priority: | low | CC: | hhan, jsuchane, jtomko, lmen, meili, virt-maint, yafu |
| Version: | 9.2 | Keywords: | MigratedToJIRA, Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-22 17:20:32 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: | |
| Embargoed: | |||
|
Description
Marian Jankular
2023-07-10 09:12:41 UTC
Assigning to Jano for further investigation. I can't reproduce it now. Due to the limitation of the test environment, I can only test two LUNs on the same port now. Please help point out if there is something wrong with my test steps Test Version: libvirt-8.0.0-10.4.module+el8.7.0+18295+4ee500a4.x86_64 qemu-kvm-6.2.0-22.module+el8.7.0+18170+646069c1.2.x86_64 Test Steps: 1. Prepare two vhba pools. # cat vhba-pool1.xml <pool type="scsi"> <name>fc-pool1</name> <source> <adapter type='fc_host' parent_wwnn="2000f4e9d4eb02c9" parent_wwpn="2001f4e9d4eb02c9" managed='yes' wwnn="2001f4e9d4eb02c9" wwpn="1000000000000001"/> </source> <target> <path>/dev/disk/by-path</path> </target> </pool> # cat vhba-pool2.xml <pool type="scsi"> <name>fc-pool2</name> <source> <adapter type='fc_host' parent_wwnn="2000f4e9d4eb02c9" parent_wwpn="2001f4e9d4eb02c9" managed='yes' wwnn="2001f4e9d4eb02c9" wwpn="1000000000000002"/> </source> <target> <path>/dev/disk/by-path</path> </target> </pool> 2. Define and start the first pool. # virsh pool-define vhba-pool1.xml Pool fc-pool1 defined from vhba-pool1.xml # virsh pool-start fc-pool1 Pool fc-pool1 started # virsh vol-list fc-pool1 --details Name Path Type Capacity Allocation ----------------------------------------------------------------------------------------------------------------- unit:0:1:0 /dev/disk/by-path/fc-0x1000000000000001-0x50050768030939b7-lun-0 block 10.00 GiB 10.00 GiB unit:0:1:1 /dev/disk/by-path/fc-0x1000000000000001-0x50050768030939b7-lun-1 block 20.00 GiB 20.00 GiB 3. Refresh the pool and check the vol. # virsh pool-refresh fc-pool1 Pool fc-pool1 refreshed # virsh pool-list --all Name State Autostart -------------------------------- fc-pool1 active no images active yes # virsh vol-list fc-pool1 --details Name Path Type Capacity Allocation ----------------------------------------------------------------------------------------------------------------- unit:0:1:0 /dev/disk/by-path/fc-0x1000000000000001-0x50050768030939b7-lun-0 block 10.00 GiB 10.00 GiB unit:0:1:1 /dev/disk/by-path/fc-0x1000000000000001-0x50050768030939b7-lun-1 block 20.00 GiB 20.00 GiB 4. Define and start the second pool. virsh pool-define vhba-pool2.xml Pool fc-pool2 defined from vhba-pool2.xml # virsh pool-start fc-pool2 Pool fc-pool2 started # virsh vol-list fc-pool2 --details Name Path Type Capacity Allocation --------------------------------------------------------------------------------------------------------------- unit:0:1:0 /dev/disk/by-path/pci-0000:06:00.1-fc-0x50050768030939b7-lun-0 block 15.00 GiB 15.00 GiB unit:0:1:1 /dev/disk/by-path/pci-0000:06:00.1-fc-0x50050768030939b7-lun-1 block 20.00 GiB 20.00 GiB 5. Refresh the pool and check the vol. # virsh pool-refresh fc-pool2 Pool fc-pool2 refreshed # virsh vol-list fc-pool1 --details Name Path Type Capacity Allocation ----------------------------------------------------------------------------------------------------------------- unit:0:1:0 /dev/disk/by-path/fc-0x1000000000000001-0x50050768030939b7-lun-0 block 10.00 GiB 10.00 GiB unit:0:1:1 /dev/disk/by-path/fc-0x1000000000000001-0x50050768030939b7-lun-1 block 20.00 GiB 20.00 GiB We found a previous WONTFIX bug "Bug 1665458 - When different fc connected block devices having same backend luns, only the latest ones displayed under /dev/disk/by-path" which is related to the /dev/disk/by-path. So I'm not sure if the customer will reappear if they switch to by-id. Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |