L3 AttributeError in doc job

Bug #1779801 reported by YAMAMOTO Takashi on 2018-07-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
Undecided
Unassigned
networking-midonet
Critical
YAMAMOTO Takashi
networking-odl
Undecided
Unassigned
neutron
Critical
Unassigned

Bug Description

e.g http://logs.openstack.org/87/199387/116/check/build-openstack-sphinx-docs/a509328/job-output.txt.gz

2018-07-03 01:03:26.111244 | ubuntu-xenial | Warning, treated as error:
2018-07-03 01:03:26.111548 | ubuntu-xenial | autodoc: failed to import module u'midonet.neutron.db.bgp_db_midonet'; the following exception was raised:
2018-07-03 01:03:26.111691 | ubuntu-xenial | Traceback (most recent call last):
2018-07-03 01:03:26.112024 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/sphinx/ext/autodoc/importer.py", line 152, in import_module
2018-07-03 01:03:26.112140 | ubuntu-xenial | __import__(modname)
2018-07-03 01:03:26.112514 | ubuntu-xenial | File "/home/zuul/src/git.openstack.org/openstack/networking-midonet/midonet/neutron/db/bgp_db_midonet.py", line 22, in <module>
2018-07-03 01:03:26.112701 | ubuntu-xenial | from neutron_dynamic_routing.db import bgp_db
2018-07-03 01:03:26.113035 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/neutron_dynamic_routing/db/bgp_db.py", line 21, in <module>
2018-07-03 01:03:26.113165 | ubuntu-xenial | from neutron.db import l3_dvr_db
2018-07-03 01:03:26.113413 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/neutron/db/l3_dvr_db.py", line 41, in <module>
2018-07-03 01:03:26.113524 | ubuntu-xenial | from neutron.db import l3_db
2018-07-03 01:03:26.113819 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/neutron/db/l3_db.py", line 51, in <module>
2018-07-03 01:03:26.113955 | ubuntu-xenial | from neutron.extensions import l3
2018-07-03 01:03:26.114260 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/neutron/extensions/l3.py", line 23, in <module>
2018-07-03 01:03:26.114405 | ubuntu-xenial | from neutron.api.v2 import resource_helper
2018-07-03 01:03:26.114730 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/neutron/api/v2/resource_helper.py", line 20, in <module>
2018-07-03 01:03:26.114877 | ubuntu-xenial | from neutron.api import extensions
2018-07-03 01:03:26.115169 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/neutron/api/extensions.py", line 32, in <module>
2018-07-03 01:03:26.115336 | ubuntu-xenial | from neutron.plugins.common import constants as const
2018-07-03 01:03:26.115669 | ubuntu-xenial | File "/home/zuul/.venv/local/lib/python2.7/site-packages/neutron/plugins/common/constants.py", line 28, in <module>
2018-07-03 01:03:26.115768 | ubuntu-xenial | 'router': constants.L3,
2018-07-03 01:03:26.115894 | ubuntu-xenial | AttributeError: 'module' object has no attribute 'L3'

Changed in networking-midonet:
importance: Undecided → Critical
tags: added: gate-failure
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
milestone: none → 7.0.0
status: New → In Progress

I noticed this bug in queens/gate jobs for networking-odl too.

affects: networking-midonet → networking-odl
Changed in networking-odl:
milestone: 7.0.0 → none
affects: networking-odl → networking-midonet
Changed in networking-odl:
status: New → Confirmed

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

commit e1d8cdd420ec06e309833ea5db63444d87ff2158
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Jul 4 18:02:06 2018 +0900

    Comment out autodoc stuff

    As a workaround for the Related-Bug.

    Related-Bug: #1779801
    Change-Id: Ibdfcd4083291a01cad52622162edaf52b1ddad3e

YAMAMOTO Takashi (yamamoto) wrote :

I added neutron as neutron-vpnaas has the same issue.
https://review.openstack.org/#/c/579742/

Sam Betts (sambetts) on 2018-07-09
Changed in networking-cisco:
status: New → Triaged
zhaobo (zhaobo6) wrote :
Changed in neutron:
status: New → Triaged
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers