Bug 1881751
| Summary: | Create vhba failed with empty wwnn number in split daemon | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | gaojianan <jgao> |
| Component: | libvirt | Assignee: | Virtualization Maintenance <virt-maint> |
| libvirt sub component: | Storage | QA Contact: | yisun |
| Status: | CLOSED WONTFIX | Docs Contact: | |
| Severity: | medium | ||
| Priority: | low | CC: | dyuan, jsuchane, lmen, virt-maint, xuzhang, yafu |
| Version: | 9.0 | Keywords: | Automation, Triaged |
| Target Milestone: | rc | ||
| 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: | 2022-03-24 07:27:23 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: | |||
Bulk update: Move RHEL-AV bugs to RHEL9. If necessary to resolve in RHEL8, then clone to the current RHEL8 release. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |
Description of problem: As subject Version-Release number of selected component (if applicable): libvirt-6.6.0-6.module+el8.3.0+8125+aefcf088.x86_64 How reproducible: 100% Steps to Reproduce: 1.Enable libvirt split daemon #systemctl stop libvirtd.service #systemctl stop libvirtd{,-ro,-admin,-tcp,-tls}.socket #systemctl disable libvirtd.service #systemctl disable libvirtd{,-ro,-admin,-tcp,-tls}.socket #systemctl enable virtlogd; systemctl enable virtlogd.socket; systemctl start virtlogd.socket #for drv in qemu interface network nodedev nwfilter secret storage proxy; do systemctl unmask virt${drv}d.service; systemctl unmask virt${drv}d{,-ro,-admin}.socket; systemctl enable virt${drv}d.service; systemctl enable virt${drv}d{,-ro,-admin}.socket; systemctl start virt${drv}d{,-ro,-admin}.socket ; done # systemctl status virtqemud ● virtqemud.service - Virtualization qemu daemon Loaded: loaded (/usr/lib/systemd/system/virtqemud.service; enabled; vendor preset: disabled) Active: active (running) (thawing) since Tue 2020-09-22 22:30:36 EDT; 983ms ago Docs: man:libvirtd(8) https://libvirt.org Main PID: 125543 (virtqemud) Tasks: 16 (limit: 32768) Memory: 19.9M CGroup: /system.slice/virtqemud.service └─125543 /usr/sbin/virtqemud --timeout 120 Sep 22 22:30:36 dell-per730-58.lab.eng.pek2.redhat.com systemd[1]: Starting Virtualization qemu daemon... Sep 22 22:30:36 dell-per730-58.lab.eng.pek2.redhat.com systemd[1]: Started Virtualization qemu daemon. 2.Prepare a nodedev xml to create new vhba # cat vhba.xml <device> <capability type="scsi_host"> <capability type="fc_host"> <wwnn /> <wwpn /> </capability> </capability> <parent>scsi_host12</parent> </device> 3.Try to create vhba with xml above # virsh nodedev-create vhba.xml error: Failed to create node device from vhba.xml error: internal error: no WWNN supplied for 'new device', and auto-generation failed Actual results: Create vhba failed with empty wwnn/wwpn number Expected results: Can auto generate wwpn/wwnn number for vhba creation as libvirt normal daemon: # virsh nodedev-create vhba.xml Node device scsi_host14 created from vhba.xml # virsh nodedev-dumpxml scsi_host14 <device> <name>scsi_host14</name> <path>/sys/devices/pci0000:00/0000:00:03.2/0000:06:00.1/host12/vport-12:0-28/host14</path> <parent>scsi_host12</parent> <capability type='scsi_host'> <host>14</host> <unique_id>14</unique_id> <capability type='fc_host'> <wwnn>5001a4aa2fe4be20</wwnn> <wwpn>5001a4a6912fefc1</wwpn> <fabric_wwn>ffffffffffffffff</fabric_wwn> </capability> </capability> </device> Additional info: