Metadata service broken after minor neutron update when OVN 21.09+ is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Ihar Hrachyshka |
Bug Description
Originally reported at: https:/
Prerequisites:
1. OVN 21.09+ that includes https:/
2. Existing metadata namespace created by OVN agent before commit https:/
Steps to reproduce:
1. Neutron OVN metadata agent updated to include the patch from prereq (2).
2. Neutron OVN metadata agent is restarted. It will create a new network namespace to host the metadata vif. It will also remove the old vif.
3. curl http://
This happens because the agent first creates new vif, then deletes the old vif. Which puts OVN into a situation where 2 interfaces exist in parallel assigned to the same LSP. This scenario is considered invalid by OVN core team. There's a patch up for review for OVN core to handle the situation more gracefully: https:/
The reason why this was not a problem with OVN 21.06 or earlier is because the patch referred in prereq (1) changed the behavior in this invalid / undefined scenario.
Changed in neutron: | |
status: | New → In Progress |
tags: | added: ovn |
Changed in neutron: | |
importance: | Undecided → High |
Fix: https:/ /review. opendev. org/c/openstack /neutron/ +/864777