HA networks are not removed from EOS in certain circumstances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-arista |
Fix Committed
|
High
|
Shashank Hegde |
Bug Description
This happens on Openstack Kilo, with networking-arista installed from git master (1aa15e8).
Here's the relevant output in /var/log/
2015-09-10 11:13:56.474 19952 INFO networking_
2015-09-10 11:18:25.234 19952 INFO networking_
2015-09-10 11:18:25.530 19952 ERROR networking_
The first line shows the HA network being created when the HA router is created in Neutron by the "admin" user logged in the "admin" tenant (cda858c828c9ed
neutron --os-username admin --os-tenant-name admin router-create --ha True --tenant-id 3b5acfe5891d536
The second and third lines show the ml2 driver trying (and failing) to remove the HA network from EOS, because the request was initiated from another tenant (413856f63356ce
This is due (I think) to the following logic in create_
tenant_id = network[
if not tenant_id:
tenant_id = context.
If the context is different during network creation and deletion, the tenant_id will be wrong in the end.
Changed in networking-arista: | |
assignee: | nobody → Shashank Hegde (hegde-shashank) |
Changed in networking-arista: | |
importance: | Undecided → High |
Changed in networking-arista: | |
status: | New → In Progress |
Hi Benoit,
Can you let me know when the network is being deleted? Neutron does not delete the HA network even when the last HA router is deleted (https:/ /bugs.launchpad .net/neutron/ +bug/1367157).