CI failure related to network segment range

Bug #1819876 reported by YAMAMOTO Takashi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi

Bug Description

eg. http://logs.openstack.org/96/637796/2/check/networking-midonet-tempest-multinode-ml2/349a30a/logs/screen-neutron-api.txt.gz

Mar 13 03:17:43.705209 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation [None req-d62e1aec-626c-4cb7-a7de-40fc1c4ae2b0 admin admin] POST failed.: TypeError: allocate_tenant_segment() takes exactly 2 arguments (3 given)
Mar 13 03:17:43.705492 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation Traceback (most recent call last):
Mar 13 03:17:43.705670 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 683, in __call__
Mar 13 03:17:43.705867 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation self.invoke_controller(controller, args, kwargs, state)
Mar 13 03:17:43.706032 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/pecan/core.py", line 574, in invoke_controller
Mar 13 03:17:43.706204 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation result = controller(*args, **kwargs)
Mar 13 03:17:43.706387 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 139, in wrapped
Mar 13 03:17:43.706572 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation setattr(e, '_RETRY_EXCEEDED', True)
Mar 13 03:17:43.706767 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
Mar 13 03:17:43.706975 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation self.force_reraise()
Mar 13 03:17:43.707138 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
Mar 13 03:17:43.707299 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation six.reraise(self.type_, self.value, self.tb)
Mar 13 03:17:43.707453 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 135, in wrapped
Mar 13 03:17:43.707613 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(*args, **kwargs)
Mar 13 03:17:43.707815 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 154, in wrapper
Mar 13 03:17:43.707984 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation ectxt.value = e.inner_exc
Mar 13 03:17:43.708156 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
Mar 13 03:17:43.708312 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation self.force_reraise()
Mar 13 03:17:43.708466 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
Mar 13 03:17:43.708619 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation six.reraise(self.type_, self.value, self.tb)
Mar 13 03:17:43.708795 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 142, in wrapper
Mar 13 03:17:43.708969 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(*args, **kwargs)
Mar 13 03:17:43.709126 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 183, in wrapped
Mar 13 03:17:43.709324 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation LOG.debug("Retry wrapper got retriable exception: %s", e)
Mar 13 03:17:43.709489 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
Mar 13 03:17:43.709642 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation self.force_reraise()
Mar 13 03:17:43.709808 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
Mar 13 03:17:43.709963 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation six.reraise(self.type_, self.value, self.tb)
Mar 13 03:17:43.710116 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 179, in wrapped
Mar 13 03:17:43.710278 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(*dup_args, **dup_kwargs)
Mar 13 03:17:43.710437 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/pecan_wsgi/controllers/utils.py", line 76, in wrapped
Mar 13 03:17:43.710609 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(*args, **kwargs)
Mar 13 03:17:43.710815 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/pecan_wsgi/controllers/resource.py", line 159, in post
Mar 13 03:17:43.710983 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return self.create(resources)
Mar 13 03:17:43.711168 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/pecan_wsgi/controllers/resource.py", line 177, in create
Mar 13 03:17:43.711328 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return {key: creator(*creator_args, **creator_kwargs)}
Mar 13 03:17:43.711489 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/common/utils.py", line 668, in inner
Mar 13 03:17:43.711674 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(self, context, *args, **kwargs)
Mar 13 03:17:43.711853 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 233, in wrapped
Mar 13 03:17:43.712043 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return method(*args, **kwargs)
Mar 13 03:17:43.712209 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 139, in wrapped
Mar 13 03:17:43.712363 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation setattr(e, '_RETRY_EXCEEDED', True)
Mar 13 03:17:43.712516 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
Mar 13 03:17:43.712669 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation self.force_reraise()
Mar 13 03:17:43.712843 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
Mar 13 03:17:43.712997 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation six.reraise(self.type_, self.value, self.tb)
Mar 13 03:17:43.713150 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 135, in wrapped
Mar 13 03:17:43.713304 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(*args, **kwargs)
Mar 13 03:17:43.713465 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 154, in wrapper
Mar 13 03:17:43.713620 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation ectxt.value = e.inner_exc
Mar 13 03:17:43.713790 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
Mar 13 03:17:43.713953 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation self.force_reraise()
Mar 13 03:17:43.714106 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
Mar 13 03:17:43.714260 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation six.reraise(self.type_, self.value, self.tb)
Mar 13 03:17:43.714413 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 142, in wrapper
Mar 13 03:17:43.714567 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(*args, **kwargs)
Mar 13 03:17:43.714756 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 183, in wrapped
Mar 13 03:17:43.714947 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation LOG.debug("Retry wrapper got retriable exception: %s", e)
Mar 13 03:17:43.715101 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
Mar 13 03:17:43.715255 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation self.force_reraise()
Mar 13 03:17:43.715408 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
Mar 13 03:17:43.715562 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation six.reraise(self.type_, self.value, self.tb)
Mar 13 03:17:43.715746 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/usr/local/lib/python2.7/dist-packages/neutron_lib/db/api.py", line 179, in wrapped
Mar 13 03:17:43.715899 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return f(*dup_args, **dup_kwargs)
Mar 13 03:17:43.716068 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 954, in create_network
Mar 13 03:17:43.716240 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation result, mech_context = self._create_network_db(context, network)
Mar 13 03:17:43.716411 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/plugins/ml2/plugin.py", line 913, in _create_network_db
Mar 13 03:17:43.716573 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation tenant_id)
Mar 13 03:17:43.716752 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 222, in create_network_segments
Mar 13 03:17:43.716913 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation context, filters=filters)
Mar 13 03:17:43.717076 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 282, in _allocate_tenant_net_segment
Mar 13 03:17:43.717237 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation segment = self._allocate_segment(context, network_type, filters)
Mar 13 03:17:43.717392 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 278, in _allocate_segment
Mar 13 03:17:43.717551 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation return driver.obj.allocate_tenant_segment(context, filters)
Mar 13 03:17:43.717734 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation TypeError: allocate_tenant_segment() takes exactly 2 arguments (3 given)
Mar 13 03:17:43.717895 ubuntu-xenial-vexxhost-sjc1-0003746865 neutron-server[13784]: ERROR neutron.pecan_wsgi.hooks.translation

Tags: gate-failure
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Critical
milestone: none → 8.0.0
status: New → In Progress
tags: added: gate-failure
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-midonet (master)

Reviewed: https://review.openstack.org/642993
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=35ecc314f96d65ee82a5dbca5da0f8d515470772
Submitter: Zuul
Branch: master

commit 35ecc314f96d65ee82a5dbca5da0f8d515470772
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Mar 13 19:24:16 2019 +0900

    Update type drivers for network segment range

    Ref:
     https://review.openstack.org/#/c/624709/
     https://review.openstack.org/#/c/626866/
     https://review.openstack.org/#/c/637006/

    This commit includes the following unrelated change to pass the gate.
    ----------------------------------------
    Make legacy-dsvm-base based jobs non-voting

    Namely the following jobs:
     networking-midonet-tempest-multinode-ml2
     networking-midonet-rally-ml2

    Because they will be broken by legacy jobs migration to bionic.
    See http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003761.html

    Note: MidoNet doesn't support bionic right now.
    https://midonet.atlassian.net/browse/MNA-1344

    Change-Id: I5d35d796e7d220e46613291f2e67631377470028
    ----------------------------------------

    Closes-Bug: #1819876
    Partially-implements: blueprint network-segment-range-management
    Change-Id: I941e3a56dbbe140929513bf0dba9a57a3ed953ba

Changed in networking-midonet:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/networking-midonet 8.0.0.0rc1

This issue was fixed in the openstack/networking-midonet 8.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.