← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532200] [NEW] Gate along resource creation are failing with AttributeError.

 

Public bug reported:

Gate along resource creation are failing with AttributeError.(_get_tenant_id_for_create method).
I assume that following commit affects because the method is deleted in this commit.
https://github.com/openstack/neutron/commit/3082949cffeefd7ef0dcc3f63f235ce597539ef3

The error detail is following.
2016-01-08 06:35:18.501 |     Traceback (most recent call last):
2016-01-08 06:35:18.501 |       File "/home/jenkins/workspace/gate-networking-midonet-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 137, in wrapper
2016-01-08 06:35:18.501 |         return f(*args, **kwargs)
2016-01-08 06:35:18.501 |       File "/tmp/openstack/neutron/neutron/api/v2/base.py", line 516, in create
2016-01-08 06:35:18.501 |         obj = do_create(body)
2016-01-08 06:35:18.501 |       File "/tmp/openstack/neutron/neutron/api/v2/base.py", line 498, in do_create
2016-01-08 06:35:18.502 |         request.context, reservation.reservation_id)
2016-01-08 06:35:18.502 |       File "/home/jenkins/workspace/gate-networking-midonet-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 204, in __exit__
2016-01-08 06:35:18.502 |         six.reraise(self.type_, self.value, self.tb)
2016-01-08 06:35:18.502 |       File "/tmp/openstack/neutron/neutron/api/v2/base.py", line 491, in do_create
2016-01-08 06:35:18.502 |         return obj_creator(request.context, **kwargs)
2016-01-08 06:35:18.502 |       File "midonet/neutron/plugin_v2.py", line 81, in create_network
2016-01-08 06:35:18.502 |         tenant_id = self._get_tenant_id_for_create(context, net_data)
2016-01-08 06:35:18.502 |     AttributeError: 'MidonetPluginV2' object has no attribute '_get_tenant_id_for_create'
2016-01-08 06:35:18.502 |     2016-01-08 06:33:13,534    ERROR [neutron.api.v2.resource] create failed

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  Gate along resource creation are failing with AttributeError.

Status in neutron:
  New

Bug description:
  Gate along resource creation are failing with AttributeError.(_get_tenant_id_for_create method).
  I assume that following commit affects because the method is deleted in this commit.
  https://github.com/openstack/neutron/commit/3082949cffeefd7ef0dcc3f63f235ce597539ef3

  The error detail is following.
  2016-01-08 06:35:18.501 |     Traceback (most recent call last):
  2016-01-08 06:35:18.501 |       File "/home/jenkins/workspace/gate-networking-midonet-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 137, in wrapper
  2016-01-08 06:35:18.501 |         return f(*args, **kwargs)
  2016-01-08 06:35:18.501 |       File "/tmp/openstack/neutron/neutron/api/v2/base.py", line 516, in create
  2016-01-08 06:35:18.501 |         obj = do_create(body)
  2016-01-08 06:35:18.501 |       File "/tmp/openstack/neutron/neutron/api/v2/base.py", line 498, in do_create
  2016-01-08 06:35:18.502 |         request.context, reservation.reservation_id)
  2016-01-08 06:35:18.502 |       File "/home/jenkins/workspace/gate-networking-midonet-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 204, in __exit__
  2016-01-08 06:35:18.502 |         six.reraise(self.type_, self.value, self.tb)
  2016-01-08 06:35:18.502 |       File "/tmp/openstack/neutron/neutron/api/v2/base.py", line 491, in do_create
  2016-01-08 06:35:18.502 |         return obj_creator(request.context, **kwargs)
  2016-01-08 06:35:18.502 |       File "midonet/neutron/plugin_v2.py", line 81, in create_network
  2016-01-08 06:35:18.502 |         tenant_id = self._get_tenant_id_for_create(context, net_data)
  2016-01-08 06:35:18.502 |     AttributeError: 'MidonetPluginV2' object has no attribute '_get_tenant_id_for_create'
  2016-01-08 06:35:18.502 |     2016-01-08 06:33:13,534    ERROR [neutron.api.v2.resource] create failed

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


Follow ups