← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1481329] [NEW] VPN agent works incorrectly with DVR on multinode setup

 

Public bug reported:

VPN agent works incorrectly with DVR on multi-node setup. It looks like
VPN agents on network nodes try to find snat namespace which in fact
presents only on one of the nodes, it leads to errors on nodes without
this namespace when IPSec connection is created.

The following errors are observed:
2015-08-04 11:41:36.354 12343 ERROR oslo_messaging.rpc.dispatcher [req-bed314eb-329d-47de-ab7a-e63d893949e6 ] Exception during message handling: 'NoneType' object has no attribute 'name
-----------
2015-08-04 11:41:36.354 12343 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 561, in get_namespace
2015-08-04 11:41:36.354 12343 TRACE oslo_messaging.rpc.dispatcher     return router.snat_namespace.name
2015-08-04 11:41:36.354 12343 TRACE oslo_messaging.rpc.dispatcher AttributeError: 'NoneType' object has no attribute 'name'

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: 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/1481329

Title:
  VPN agent works incorrectly with DVR on multinode setup

Status in neutron:
  New

Bug description:
  VPN agent works incorrectly with DVR on multi-node setup. It looks
  like VPN agents on network nodes try to find snat namespace which in
  fact presents only on one of the nodes, it leads to errors on nodes
  without this namespace when IPSec connection is created.

  The following errors are observed:
  2015-08-04 11:41:36.354 12343 ERROR oslo_messaging.rpc.dispatcher [req-bed314eb-329d-47de-ab7a-e63d893949e6 ] Exception during message handling: 'NoneType' object has no attribute 'name
  -----------
  2015-08-04 11:41:36.354 12343 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 561, in get_namespace
  2015-08-04 11:41:36.354 12343 TRACE oslo_messaging.rpc.dispatcher     return router.snat_namespace.name
  2015-08-04 11:41:36.354 12343 TRACE oslo_messaging.rpc.dispatcher AttributeError: 'NoneType' object has no attribute 'name'

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1481329/+subscriptions


Follow ups