L3 agent notify error after HA router deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Expired
|
Medium
|
Unassigned |
Bug Description
$ uname -a
Linux compute02 3.10.0-
$ neutron-server --version
neutron-server 2015.1.0
Reproduce the bug:
1. Two network node running l3, dhcp, metadata
2. ml2 ovs + gre
3. enable neutron l3 ha
4. create ha router
5. set router gateway
6. add router interface to a subnet
7. create an instance
8. set a floating IP to the instance
9. unset and release the floating IP
10. unset the router gateway and the interface to a subnet
11. delete the router
Assert that the master vRouter is running in host A,
the second network node host B which is the stand-by vrrp qrouter-ns, it will get errors:
l3-agent.log
2015-07-31 12:10:01.886 7017 ERROR neutron.
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/
Exit code: 1
Stdin:
Stdout:
Stderr: Cannot open network namespace "qrouter-
2015-07-31 12:10:01.887 7017 DEBUG oslo_concurrenc
2015-07-31 12:10:01.887 7017 DEBUG oslo_concurrenc
2015-07-31 12:10:01.887 7017 DEBUG neutron.
2015-07-31 12:10:01.888 7017 ERROR neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.888 7017 TRACE neutron.
2015-07-31 12:10:01.889 7017 INFO neutron.
This message:
"Error during notification for neutron.
came from the code:
class MetadataDriver(
def __init__(self, l3_agent):
The router resources was deleted, but it seems that the Metadata was not notified.
summary: |
- l3 notify error afger ha router delete + l3 notify error after ha router delete |
summary: |
- l3 notify error after ha router delete + L3 agent notify error after HA router deletion |
description: | updated |
description: | updated |
description: | updated |
Changed in neutron: | |
status: | New → Confirmed |
tags: | added: l3-ha |
Changed in neutron: | |
importance: | Undecided → Medium |
Sorry I couldn't reproduce on master. I checked and the relevant code didn't seem to change much from Kilo to Liberty release or current master. I also switched to stable/kilo and ran a functional test that created and immediately deleted an HA router (While it's still standby / not master) and I didn't see any traces.