-
Bug
-
Resolution: Unresolved
-
Undefined
-
rhel-9.5
-
libvirt-10.9.0-1.el9
-
None
-
Moderate
-
rhel-sst-virtualization-networking
-
ssg_virtualization
-
3
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
None
-
-
10.8.0
-
None
What were you trying to do that didn't work?
Try to update network interface of ovs bridge type, it failed even though nothing is changed in the updated xml.
Please provide the package NVR for which bug is seen:
libvirt-10.5.0-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
- Prepare a ovs network
[root@dell-per740-78 ~]# /usr/share/openvswitch/scripts/ovs-ctl start [root@dell-per740-78 ~]# ovs-vsctl add-br ovsbr0 [root@dell-per740-78 ~]# virsh net-dumpxml ovs-net <network> <name>ovs-net</name> <uuid>1546c287-e22f-41c5-8eef-12ccb8a54af6</uuid> <forward mode='bridge'/> <bridge name='ovsbr0'/> <virtualport type='openvswitch'> <parameters interfaceid='09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f'/> </virtualport> </network>
- Start a guest, attach an interface from network ovs-net
[root@dell-per740-78 ~]# virsh attach-interface vm1 --source ovs-net --model virtio --type network Interface attached successfully [root@dell-per740-78 ~]# virsh dumpxml vm1 --xpath //interface <interface type="bridge"> <mac address="52:54:00:0e:0a:9b"/> <source network="ovs-net" portid="46f027c9-ad64-4ba8-a4ef-55cde0ed3428" bridge="ovsbr0"/> <virtualport type="openvswitch"> <parameters interfaceid="09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f"/> </virtualport> <target dev="vnet31"/> <model type="virtio"/> <alias name="net3"/> <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/> </interface>
- Save the interface xml to a file update-ovs.xml, and try to update device:
[root@dell-per740-78 ~]# cat update-ovs.xml <interface type="bridge"> <mac address="52:54:00:0e:0a:9b"/> <source network="ovs-net" portid="46f027c9-ad64-4ba8-a4ef-55cde0ed3428" bridge="ovsbr0"/> <virtualport type="openvswitch"> <parameters interfaceid="09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f"/> </virtualport> <target dev="vnet31"/> <model type="virtio"/> <alias name="net3"/> <address type="pci" domain="0x0000" bus="0x09" slot="0x00" function="0x0"/> </interface> [root@dell-per740-78 ~]# virsh update-device vm1 update-ovs.xml error: Failed to update device from update-ovs.xml error: Unable to add bridge ovsbr0 port vnet31: Operation not supported
Expected results
Updating device succeeds
Actual results
Updating device failed
- is blocked by
-
RHEL-50574 Rebase libvirt in RHEL-9.6.0
- In Progress
- links to