yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73794
[Bug 1780376] Re: Queens neutron broken with recent L3 removal from neutron-lib.constants
This issue only applies to master where qa/infra has removed zuul cloner
and is now relying on requirements/upper-contraints.
So from Boden's comments it sounds like this is a broken requirements
/upper-constraint for neutron/neutron-lib.
I will add the requirements team to the bug.
** Also affects: openstack-requirements
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/1780376
Title:
Queens neutron broken with recent L3 removal from neutron-
lib.constants
Status in neutron:
Confirmed
Status in OpenStack Global Requirements:
New
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