← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1255442] Re: VPNaaS Service driver should check whether router has gateway

 

It is the same bug with Bug #1258379 which has been resolved.

** Changed in: neutron
       Status: In Progress => Fix Released

** Changed in: neutron
       Status: Fix Released => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1255442

Title:
  VPNaaS Service driver should check whether router has gateway

Status in OpenStack Neutron (virtual network service):
  Invalid

Bug description:
  When getting the external ip of vpnservice written in https://github.com/openstack/neutron/blob/master/neutron/services/vpn/service_drivers/ipsec.py#L172, it didn't check whether the router has gateway which would lead to the following error:
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp   File "/opt/stack/neutron/neutron/services/vpn/service_drivers/ipsec.py", line 55, in get_vpn_services_on_host
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp     for vpnservice in vpnservices]
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp   File "/opt/stack/neutron/neutron/services/vpn/service_drivers/ipsec.py", line 173, in _make_vpnservice_dict
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp     'fixed_ips'][0]['ip_address']
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp TypeError: 'NoneType' object has no attribute '__getitem__'
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp
  2013-11-25 19:11:49.176 TRACE neutron.openstack.common.rpc.amqp

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