← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1194807] Re: too old oslo.config: AttributeError: 'module' object has no attribute 'DeprecatedOpt'

 

Adding back the neutron task - if you do 'pip install -r
quantum/requirements.txt' then you end up with the 1.1.1 version of the
code installed

** Changed in: neutron
   Importance: Undecided => Critical

** Changed in: neutron
     Assignee: (unassigned) => Mark McLoughlin (markmc)

** Changed in: neutron
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1194807

Title:
  too old oslo.config: AttributeError: 'module' object has no attribute
  'DeprecatedOpt'

Status in OpenStack Neutron (virtual network service):
  Confirmed
Status in Oslo - a Library of Common OpenStack Code:
  New
Status in tripleo - openstack on openstack:
  Fix Released

Bug description:
  quantum-server is failing to start with:

  Traceback (most recent call last):
    File "/opt/stack/venvs/quantum/bin/quantum-server", line 8, in <module>
      load_entry_point('quantum==2013.2.a3.g090432c', 'console_scripts', 'quantum-server')()
    File "/opt/stack/venvs/quantum/local/lib/python2.7/site-packages/pkg_resources.py", line 347, in load_entry_point
      return get_distribution(dist).load_entry_point(group, name)
    File "/opt/stack/venvs/quantum/local/lib/python2.7/site-packages/pkg_resources.py", line 2517, in load_entry_point
      return ep.load()
    File "/opt/stack/venvs/quantum/local/lib/python2.7/site-packages/pkg_resources.py", line 2211, in load
      entry = __import__(self.module_name, globals(),globals(), ['__name__'])
    File "/opt/stack/venvs/quantum/local/lib/python2.7/site-packages/quantum/server/__init__.py", line 26, in <module>
      from quantum.common import config
    File "/opt/stack/venvs/quantum/local/lib/python2.7/site-packages/quantum/common/config.py", line 29, in <module>
      from quantum.openstack.common.db.sqlalchemy import session as db_session
    File "/opt/stack/venvs/quantum/local/lib/python2.7/site-packages/quantum/openstack/common/db/sqlalchemy/session.py", line 283, in <module>
      deprecated_opts=[cfg.DeprecatedOpt('sql_connection',
  AttributeError: 'module' object has no attribute 'DeprecatedOpt'

  Seems that something was merged in quantum that depends on trunk
  unreleased oslo components.

  Oslo version I've installed: oslo.config-1.1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1194807/+subscriptions