-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.5
-
libvirt-10.4.0-1.el9
-
None
-
None
-
rhel-sst-virtualization
-
ssg_virtualization
-
20
-
2
-
Dev ack
-
False
-
-
None
-
None
-
Pass
-
RegressionOnly
-
-
x86_64
-
10.4.0
-
None
What were you trying to do that didn't work?
'tc' cmd still get outputs after deleting Qos by update-device
Please provide the package NVR for which bug is seen:
libvirt-10.3.0-2.el9
How reproducible:
100%
Steps to reproduce
# virsh start avocado-vt-vm1 Domain 'avocado-vt-vm1' started # tc class show dev vnet0 class htb 1:1 parent 1:fffe prio 0 rate 800Kbit ceil 2400Kbit burst 500Kb cburst 500Kb class htb 1:fffe root rate 2400Kbit ceil 2400Kbit burst 1500b cburst 1500b # tc filter show dev vnet0 parent ffff: filter ingress protocol all pref 1 matchall chain 0 filter ingress protocol all pref 1 matchall chain 0 handle 0x1 not_in_hw action order 1: police 0x1 rate 1600Kbit burst 600Kb mtu 64Kb action drop/continue overhead 0b ref 1 bind 1 # virsh update-device avocado-vt-vm1 iface.xml Device updated successfully # tc class show dev vnet0 class htb 1:1 parent 1:fffe prio 0 rate 800Kbit ceil 2400Kbit burst 500Kb cburst 500Kb class htb 1:fffe root rate 2400Kbit ceil 2400Kbit burst 1500b cburst 1500b # tc filter show dev vnet0 parent ffff: filter ingress protocol all pref 1 matchall chain 0 filter ingress protocol all pref 1 matchall chain 0 handle 0x1 not_in_hw action order 1: police 0x1 rate 1600Kbit burst 600Kb mtu 64Kb action drop/continue overhead 0b ref 1 bind 1 # virsh dumpxml avocado-vt-vm1 --xpath //interface <interface type="bridge"> <mac address="52:54:00:ac:42:67"/> <source bridge="ovsbr0"/> <virtualport type="openvswitch"> <parameters interfaceid="fc419b6a-ef95-4e4d-b7e8-86ec3b1954b7"/> </virtualport> <target dev="vnet0"/> <model type="virtio"/> <alias name="net0"/> <address type="pci" domain="0x0000" bus="0x10" slot="0x01" function="0x0"/> </interface> # virsh domiftune avocado-vt-vm1 vnet0 inbound.average: 0 inbound.peak : 0 inbound.burst : 0 inbound.floor : 0 outbound.average: 0 outbound.peak : 0 outbound.burst : 0 # ovs-vsctl list qos _uuid : a264b273-66bf-42ca-b229-0b9c85167ffa external_ids : {ifname=vnet0, vm-id="61b115cb-d64b-404f-a92d-1743e1102472"} other_config : {burst="4096000", max-rate="2400000", min-rate="800000"} queues : {0=1baebdf5-b090-4b66-b74a-a19eac1aad9b} type : linux-htb # virsh shutdown avocado-vt-vm1 Domain 'avocado-vt-vm1' is being shutdown # ovs-vsctl list qos _uuid : a264b273-66bf-42ca-b229-0b9c85167ffa external_ids : {ifname=vnet0, vm-id="61b115cb-d64b-404f-a92d-1743e1102472"} other_config : {burst="4096000", max-rate="2400000", min-rate="800000"} queues : {0=1baebdf5-b090-4b66-b74a-a19eac1aad9b} type : linux-htb
Expected results
'tc' cmds should get no outputs after qos deleted by update-device.
Actual results
Additional info: 'tc' issue not reproduced on libvirt-10.0.0-7.el9.x86_64
- is blocked by
-
RHEL-29642 Rebase libvirt in RHEL-9.5.0
- Closed
- relates to
-
RHEL-30373 libvirt should delete the qos set to ovs port after vm destroyed
- Closed
- links to
-
RHSA-2024:130953 libvirt bug fix and enhancement update