Hard Reboot VM with multiple port lost QoS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Nguyen Thanh Cong |
Bug Description
I have a VM with multiple ports, assume port_one and port_two. Both port have QoS. When i hard reboot my VM, port_two still has QoS, port_one loses.
https:/
https:/
It because both ports are located in ports_re_added. It will loop through the ports. port_one is iterated first, events ['re_added'] is assigned port_one, events ['removed'] is assigned port_two. In the second loop, events ['re_added'] is set to port_two instead of adding port_two to list. So after the loop, only port_two is left in events ['re_added'].
Reproduce:
- Create VM with multi port
- Hard Reboot Server
- Check QoS with command ovs-vsctl list interface <port>
tags: | added: qos |
tags: | added: neutron-proactive-backport-potential |
Fix proposed to branch: master /review. opendev. org/709687
Review: https:/