Nova VM rebuild causes the VM to not get an IP during boot when the VM ends up on a different host
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-vsphere |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is caused by the learning activity of the openvswitch in one of the bridges that are connected to the control plane.
The physical bridge (br-eth3 in this case) has a MAC learning table and it takes 300sec for it to age out. It can only learn the MAC from its physical interface that is connected to the bridge 'eth3' and does not have a way to learn from the internal patch ports that are connected to the br-eth3.
So when the VM is rebuilt and moves to a different node, the MAC association does not time out until 300 sec, and the new upcoming VM instance timesout in 60 secs to get an IP address. After 300 sec, if you re-initiate a DHPC request, it receives the packet.
The reason behind this issue is because the incoming packets on the physical port are forwarded to the NORMAL flow on the bridge instead of forwarding it to the inner patch port. This causes the physical bridge to learn from the physical port and it only removes it when it ages out.
Submitted https:/ /review. openstack. org/#/c/ 465732/ 5 to fix this issue for VLAN overlay.