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

 

Reviewed:  https://review.openstack.org/34715
Committed: http://github.com/stackforge/tripleo-image-elements/commit/880e112e6f652878bdb9d53c7918785aea17692b
Submitter: Jenkins
Branch:    master

commit 880e112e6f652878bdb9d53c7918785aea17692b
Author: Derek Higgins <derekh@xxxxxxxxxx>
Date:   Fri Jun 28 14:10:59 2013 +0100

    Install clients in their own venv
    
    Fixes bug 1194807
    
    This prevents dependencies from polluting the system
    environment.
    
    Change-Id: I47905f00ef0ffe7521098508def5f29839f9ae3f


** Changed in: tripleo
       Status: Triaged => Fix Released

-- 
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):
  Invalid
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