← 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'

 

The nova task is to track reverting this revert:
https://review.openstack.org/33888

** Also affects: nova
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => High

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

** Changed in: oslo
       Status: New => Invalid

** Changed in: oslo
       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):
  In Progress
Status in OpenStack Compute (Nova):
  Confirmed
Status in Oslo - a Library of Common OpenStack Code:
  In Progress
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