Connectivity to instance after L3 router migration from Legacy to HA fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Slawek Kaplonski |
Bug Description
Scenario test neutron.
fails because of no connectivity to VM after migration.
We observed it on Pike version mostly but I think that the same issue might be also in newer versions.
Traceback (most recent call last):
File "/usr/lib/
after_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
ssh_
File "/usr/lib/
connection = self._get_
File "/usr/lib/
password=
tempest.
User: cirros, Password: None
From my investigation it looks that it is because of race between two different operations on router.
1. router is switched to admin_state down, so port is set to DOWN also,
2. neutron-server got info from ovs agent that port is down
3. but now, other thread changes router from legacy to ha so owner of this port changes from DEVICE_
I tried to run this tests with waiting until router's port will be really down before calling migration to HA and then it passed 151 times for me. So it clearly shows that this is an issue here.
I think that it should be fixed in neutron's code instead of test as this isn't test-only issue.
Changed in neutron: | |
assignee: | nobody → Slawek Kaplonski (slaweq) |
Related fix proposed to branch: stable/pike /review. openstack. org/589412
Review: https:/