yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29273
[Bug 1431077] [NEW] TRACE: attribute error when trying to fetch the router.snat_namespace.name
Public bug reported:
TRACE seen in the vpn-agent log when configured with DVR router.
A recent refactoring to the agent have introduced this problem.
http://logs.openstack.org/71/130471/6/check/check-tempest-dsvm-neutron-
dvr/10208dc/logs/screen-q-vpn.txt.gz?level=TRACE
2015-03-11 14:09:03.570 ERROR neutron.agent.l3.agent [req-1c27f913-7f3c-40ff-8b86-f915fdde4be9 None None] Failed to process compatible router '25160ab1-c55e-424a-b209-a98f6b2bf769'
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent Traceback (most recent call last):
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/agent.py", line 895, in _process_router_update
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self._process_router_if_compatible(router)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/agent.py", line 843, in _process_router_if_compatible
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self._process_added_router(router)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/agent.py", line 854, in _process_added_router
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent adv_svc.AdvancedService.after_router_added, ri)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/event_observers.py", line 40, in notify
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent getattr(observer, method_name)(*args, **kwargs)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/vpn_service.py", line 61, in after_router_added
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent device.sync(self.context, [ri.router])
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 431, in inner
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent return f(*args, **kwargs)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 773, in sync
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self._delete_vpn_processes(sync_router_ids, router_ids)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 795, in _delete_vpn_processes
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self.ensure_process(process_id)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 643, in ensure_process
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent namespace = self.get_namespace(process_id)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 535, in get_namespace
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent return router.snat_namespace.name
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent AttributeError: 'NoneType' object has no attribute 'name
** Affects: neutron
Importance: Undecided
Status: New
** Tags: vpnaas
** Tags removed: neutron-vpnaas
** Tags added: vpnaas
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1431077
Title:
TRACE: attribute error when trying to fetch the
router.snat_namespace.name
Status in OpenStack Neutron (virtual network service):
New
Bug description:
TRACE seen in the vpn-agent log when configured with DVR router.
A recent refactoring to the agent have introduced this problem.
http://logs.openstack.org/71/130471/6/check/check-tempest-dsvm-
neutron-dvr/10208dc/logs/screen-q-vpn.txt.gz?level=TRACE
2015-03-11 14:09:03.570 ERROR neutron.agent.l3.agent [req-1c27f913-7f3c-40ff-8b86-f915fdde4be9 None None] Failed to process compatible router '25160ab1-c55e-424a-b209-a98f6b2bf769'
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent Traceback (most recent call last):
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/agent.py", line 895, in _process_router_update
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self._process_router_if_compatible(router)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/agent.py", line 843, in _process_router_if_compatible
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self._process_added_router(router)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/agent.py", line 854, in _process_added_router
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent adv_svc.AdvancedService.after_router_added, ri)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron/neutron/agent/l3/event_observers.py", line 40, in notify
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent getattr(observer, method_name)(*args, **kwargs)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/vpn_service.py", line 61, in after_router_added
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent device.sync(self.context, [ri.router])
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 431, in inner
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent return f(*args, **kwargs)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 773, in sync
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self._delete_vpn_processes(sync_router_ids, router_ids)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 795, in _delete_vpn_processes
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent self.ensure_process(process_id)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 643, in ensure_process
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent namespace = self.get_namespace(process_id)
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent File "/opt/stack/new/neutron-vpnaas/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 535, in get_namespace
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent return router.snat_namespace.name
2015-03-11 14:09:03.570 3909 TRACE neutron.agent.l3.agent AttributeError: 'NoneType' object has no attribute 'name
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1431077/+subscriptions
Follow ups
References