yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74693
[Bug 1780376] Re: Queens neutron broken with recent L3 removal from neutron-lib.constants
There is nothing to do in neutron side. If neutron-lbaas tox job pulls
neutron and neutron-lib properly with upper-constraints.txt from the
stable/queens branch, the issue has gone.
I created a fresh neutron-lbaas tox py27 env (using stable/queens commit
ed663f36b0a14202fdff8132c0dd3d353cef6aff) and confirmed the expected
version of neutron and neutron-lib are installed. neutron is installed
from the latest stable/queens branch and neutron-lib 1.13.0 is the
latest queens version.
$ .tox/py27/bin/pip freeze | grep neutron
-e git+https://git.openstack.org/openstack/neutron@bffdbfe20e47d6f27cea8d26121e2c1eccba7e9f#egg=neutron
-e git+https://git.openstack.org//openstack/neutron-lbaas@ed663f36b0a14202fdff8132c0dd3d353cef6aff#egg=neutron_lbaas
neutron-lib==1.13.0
python-neutronclient==6.7.0
** Changed in: neutron
Status: Confirmed => Invalid
** Changed in: neutron
Importance: Medium => Undecided
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1780376
Title:
Queens neutron broken with recent L3 removal from neutron-
lib.constants
Status in neutron:
Invalid
Status in OpenStack Global Requirements:
Fix Released
Bug description:
This patch: https://github.com/openstack/neutron-
lib/commit/ec829f9384547864aebb56390da8e17df7051aac breaks neutron in
the current global requirements setup. Current GR with the new
versioning pulls queens neutron and the 1.17.0 neutron-lib. Since L3
was removed from neutron-lib.constants, queens neutron fails on the
reference neutron/plugins/common/constants.py
I'm not sure if L3 should be put back, queens neutron patched, or the
global requirements setup where it's pulling different versions of
neutron and neutron-lib needs to be fixed.
Steps to reproduce:
Checkout neutron-lbaas and run tox -e py27
Zuul seems to be pulling the right versions, local does not due to the GR constraints.
Failed to import test module: neutron_lbaas.tests.unit.agent.test_agent
Traceback (most recent call last):
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 456, in _find_test_path
module = self._get_module_from_name(name)
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
__import__(name)
File "neutron_lbaas/tests/unit/agent/test_agent.py", line 19, in <module>
from neutron_lbaas.agent import agent
File "neutron_lbaas/agent/agent.py", line 26, in <module>
from neutron_lbaas.agent import agent_manager as manager
File "neutron_lbaas/agent/agent_manager.py", line 17, in <module>
from neutron.agent import rpc as agent_rpc
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/agent/rpc.py", line 27, in <module>
from neutron.agent import resource_cache
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/agent/resource_cache.py", line 20, in <module>
from neutron.api.rpc.callbacks.consumer import registry as registry_rpc
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/api/rpc/callbacks/consumer/registry.py", line 15, in <module>
from neutron.api.rpc.callbacks import resource_manager
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/api/rpc/callbacks/resource_manager.py", line 21, in <module>
from neutron.api.rpc.callbacks import resources
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/api/rpc/callbacks/resources.py", line 15, in <module>
from neutron.objects import network
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/objects/network.py", line 21, in <module>
from neutron.db.models import segment as segment_model
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/db/models/segment.py", line 24, in <module>
from neutron.extensions import segment
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/extensions/segment.py", line 26, in <module>
from neutron.api import extensions
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/api/extensions.py", line 32, in <module>
from neutron.plugins.common import constants as const
File "/home/michjohn/projects/migration/neutron-lbaas/.tox/py27/local/lib/python2.7/site-packages/neutron/plugins/common/constants.py", line 28, in <module>
'router': constants.L3,
AttributeError: 'module' object has no attribute 'L3'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1780376/+subscriptions
References