AttributeError: 'module' object has no attribute 'PORT_STATUS_ACTIVE'

Bug #1641481 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

ml2 job is failing with AttributeError

http://logs.openstack.org/87/199387/45/check/gate-tempest-dsvm-networking-midonet-ml2-ubuntu-xenial/9ea31f7/

2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers [req-9bff2d9f-da42-4309-ab72-6d6bceb24a2d admin -] Mechanism driver midonet failed in bind_port
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers Traceback (most recent call last):
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers File "/opt/stack/new/neutron/neutron/plugins/ml2/managers.py", line 787, in _bind_port_level
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers driver.obj.bind_port(context)
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers File "/usr/local/lib/python2.7/dist-packages/oslo_log/helpers.py", line 48, in wrapper
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers return method(*args, **kwargs)
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers File "/opt/stack/new/networking-midonet/midonet/neutron/ml2/mech_driver.py", line 183, in bind_port
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers constants.PORT_STATUS_ACTIVE)
2016-11-13 15:11:42.770 23743 ERROR neutron.plugins.ml2.managers AttributeError: 'module' object has no attribute 'PORT_STATUS_ACTIVE'

Tags: gate-failure
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
importance: Undecided → Critical
milestone: none → 3.0.0
status: New → In Progress
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
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/395450
Committed: https://git.openstack.org/cgit/openstack/networking-midonet/commit/?id=3dfc497daf26f5b8ebce6569e72e40371138b0cc
Submitter: Jenkins
Branch: master

commit 3dfc497daf26f5b8ebce6569e72e40371138b0cc
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Nov 9 16:51:22 2016 +0900

    Use some definitions from neutron-lib

    The following two unrelated changes are combined
    into this single commit to pass the gate.

    -------------------------------

    Use some definitions from neutron-lib

    Including:
        - convert_to_boolean
        - PORT_STATUS_ACTIVE
        - TAP_DEVICE_PREFIX
        - db_api.get_engine

    Closes-Bug: #1640319
    Closes-Bug: #1641481
    Closes-Bug: #1641494
    Partial-Bug: #1581361

    -------------------------------

    l3_db_midonet: Update after the recent Neutron change. [1]

    [1] I93e4d847f96707b17c4a7dfdb3bbf81d062fe3fb

    Closes-Bug: #1643747
    Related-Bug: #1540844

    -------------------------------

    Change-Id: Ide96124c12c993a3ee0f2353c8201da9a6b5890c

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

This issue was fixed in the openstack/networking-midonet 4.0.0 release.

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.