tox -egenconfig failed

Bug #1464916 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
hongbin

Bug Description

Below is the error:

$ tox -egenconfig
genconfig create: /home/ubuntu/magnum/.tox/genconfig
genconfig installdeps: -r/home/ubuntu/magnum/requirements.txt, -r/home/ubuntu/magnum/test-requirements.txt
genconfig develop-inst: /home/ubuntu/magnum
genconfig runtests: commands[0] | oslo-config-generator --output-file etc/magnum/magnum.conf.sample --namespace magnum --namespace oslo.concurrency --namespace oslo.db --namespace oslo.log --namespace oslo.messaging --namespace keystonemiddleware.auth_token
Traceback (most recent call last):
  File ".tox/genconfig/bin/oslo-config-generator", line 11, in <module>
    sys.exit(main())
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/generator.py", line 262, in main
    generate(conf)
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/generator.py", line 226, in generate
    for namespace, listing in _list_opts(conf.namespace):
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/generator.py", line 201, in _list_opts
    invoke_on_load=True)
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/named.py", line 55, in __init__
    verify_requirements)
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/extension.py", line 170, in _load_plugins
    self._on_load_failure_callback(self, ep, err)
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/extension.py", line 162, in _load_plugins
    verify_requirements,
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/named.py", line 123, in _load_one_plugin
    verify_requirements,
  File "/home/ubuntu/magnum/.tox/genconfig/local/lib/python2.7/site-packages/stevedore/extension.py", line 187, in _load_one_plugin
    obj = plugin(*invoke_args, **invoke_kwds)
  File "/home/ubuntu/magnum/magnum/opts.py", line 43, in list_opts
    log.generic_log_opts,
AttributeError: 'module' object has no attribute 'generic_log_opts'
ERROR: InvocationError: '/home/ubuntu/magnum/.tox/genconfig/bin/oslo-config-generator --output-file etc/magnum/magnum.conf.sample --namespace magnum --namespace oslo.concurrency --namespace oslo.db --namespace oslo.log --namespace oslo.messaging --namespace keystonemiddleware.auth_token'
_______________________________________________________________________________ summary ________________________________________________________________________________
ERROR: genconfig: commands failed

hongbin (hongbin034)
Changed in magnum:
assignee: nobody → hongbin (hongbin034)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/191529

Changed in magnum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/191529
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=4de671cea3d9e90f6b76258c72a2bdf41675230e
Submitter: Jenkins
Branch: master

commit 4de671cea3d9e90f6b76258c72a2bdf41675230e
Author: Hongbin Lu <email address hidden>
Date: Sat Jun 13 18:27:48 2015 -0400

    Fix an error on generating configs

    In oslo log library, some attributes have moved to a new module.
    This commit updated the location of the attributes.

    Change-Id: I1c37a00a7611b30d63a28a593065141a1e82b6c9
    Closes-Bug: 1464916

Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.