[Yahoo-eng-team] [Bug 1780376] Re: Queens neutron broken with recent L3 removal from neutron-lib.constants

2018-09-14 Thread Akihiro Motoki
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 
  from neutron_lbaas.agent import agent
File "neutron_lbaas/agent/agent.py", line 26, in 
  from neutron_lbaas.agent import agent_manager as manager
File "neutron_lbaas/agent/agent_manager.py", line 17, in 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  'router': constants.L3,
  AttributeError: 'module' object has no attribute 'L3'

To manage notifications about this bug go to:
https://bugs.la

[Yahoo-eng-team] [Bug 1780376] Re: Queens neutron broken with recent L3 removal from neutron-lib.constants

2018-07-24 Thread Matthew Thode
we reverted iirc

** Changed in: openstack-requirements
   Status: New => Fix Released

** Changed in: openstack-requirements
 Assignee: (unassigned) => Matthew Thode (prometheanfire)

-- 
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:
  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 
  from neutron_lbaas.agent import agent
File "neutron_lbaas/agent/agent.py", line 26, in 
  from neutron_lbaas.agent import agent_manager as manager
File "neutron_lbaas/agent/agent_manager.py", line 17, in 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  '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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1780376] Re: Queens neutron broken with recent L3 removal from neutron-lib.constants

2018-07-13 Thread Michael Johnson
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 
  from neutron_lbaas.agent import agent
File "neutron_lbaas/agent/agent.py", line 26, in 
  from neutron_lbaas.agent import agent_manager as manager
File "neutron_lbaas/agent/agent_manager.py", line 17, in 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  '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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp