← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1441793] [NEW] _create_subnet_from_implicit_pool assumes external network

 

Public bug reported:

2015-04-08 11:28:07.968 ERROR neutron.api.v2.resource [req-61265bfc-9503-452d-80e2-022c449feee0 admin f4c311581f4d4d138d87012d00ae3b24] create failed
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource Traceback (most recent call last):
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 461, in create
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 1348, in create_subnet
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     return self._create_subnet_from_implicit_pool(context, subnet)
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 1285, in _create_subnet_from_implicit_pool
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     if network.external:
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource AttributeError: 'Network' object has no attribute 'external'
2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource

** Affects: neutron
     Importance: Undecided
     Assignee: Aaron Rosen (arosen)
         Status: In Progress

** Changed in: neutron
     Assignee: (unassigned) => Aaron Rosen (arosen)

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

Title:
  _create_subnet_from_implicit_pool assumes external network

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  2015-04-08 11:28:07.968 ERROR neutron.api.v2.resource [req-61265bfc-9503-452d-80e2-022c449feee0 admin f4c311581f4d4d138d87012d00ae3b24] create failed
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/api/v2/base.py", line 461, in create
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     obj = obj_creator(request.context, **kwargs)
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 1348, in create_subnet
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     return self._create_subnet_from_implicit_pool(context, subnet)
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource   File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 1285, in _create_subnet_from_implicit_pool
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource     if network.external:
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource AttributeError: 'Network' object has no attribute 'external'
  2015-04-08 11:28:07.968 TRACE neutron.api.v2.resource

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


Follow ups

References