l3-agent errors in DVR configuration

asked 2018-02-11 01:30:48 -0500

davec gravatar image

We have an RDO/packstack installed Pike Controller/Neutron node and 7 Compute nodes that we are trying to configure using DVR. Following various guides I have placed configs in place but the l3agent on Controller is currently logging errors non-stop in the form of:

2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent [-] Failed to process compatible router: 00bfd2a0-c804-4b25-8f2a-30992fa6aa2e: ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: Device "qg-fedcd71c-d8" does not exist.
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent Traceback (most recent call last):
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 538, in _process_router_update
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     self._process_router_if_compatible(router)
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 475, in _process_router_if_compatible
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     self._process_updated_router(router)
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/agent.py", line 490, in _process_updated_router
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     ri.process()
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/dvr_local_router.py", line 750, in process
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     self.fip_ns.scan_fip_ports(self)
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/dvr_fip_ns.py", line 449, in scan_fip_ports
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     if len(ri.get_router_cidrs(device)):
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/dvr_edge_router.py", line 288, in get_router_cidrs
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     centralized_cidrs = self._get_centralized_fip_cidr_set()
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/dvr_edge_router.py", line 288, in get_router_cidrs
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     centralized_cidrs = self._get_centralized_fip_cidr_set()
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/l3/dvr_edge_router.py", line 274, in _get_centralized_fip_cidr_set
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     return set([addr['cidr'] for addr in device.addr.list()])
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 653, in list
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     self.name, scope, to, filters, ip_version)
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 621, in get_devices_with_ip
2018-02-11 01:03:16.239 31742 ERROR neutron.agent.l3.agent     for ...
(more)
edit retag flag offensive close merge delete

Comments

if we delete all routers (clearing the gw and removing ports) and then recreate them - the errors are gone, and the missing qg-ports are present on controller.

however restarting neutron or rebooting the controller - the errors come back. Neutron is using 100% of cpu when its in error state

davec gravatar imagedavec ( 2018-02-11 12:00:24 -0500 )edit

hi @davec - Sorry to hear you're having trouble. Are you still running into this issue?

mary_grace gravatar imagemary_grace ( 2018-06-25 23:40:08 -0500 )edit