PBR

Devstack breaks

Bug #1720435 reported by runag
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
Incomplete
Undecided
Unassigned

Bug Description

command : openstack user list
Traceback (most recent call last):
  File "/bin/openstack", line 7, in <module>
    from openstackclient.shell import main
  File "/usr/lib/python2.7/site-packages/openstackclient/__init__.py", line 16, in <module>
    import pbr.version
  File "/usr/lib/python2.7/site-packages/pbr/version.py", line 25, in <module>
    import pkg_resources
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 41, in <module>
    import inspect
  File "/usr/lib64/python2.7/inspect.py", line 39, in <module>
    import tokenize
  File "/usr/lib64/python2.7/tokenize.py", line 30, in <module>
    from token import *
  File "/opt/stack/keystone/token/__init__.py", line 15, in <module>
    from keystone.token import controllers # noqa
  File "/opt/stack/keystone/keystone/token/__init__.py", line 15, in <module>
    from keystone.token import controllers # noqa
  File "/opt/stack/keystone/keystone/token/controllers.py", line 18, in <module>
    from keystone.common import utils
  File "/opt/stack/keystone/keystone/common/utils.py", line 28, in <module>
    from oslo_log import log
  File "/usr/lib/python2.7/site-packages/oslo_log/log.py", line 42, in <module>
    from oslo_config import cfg
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 458, in <module>
    import debtcollector
  File "/usr/lib/python2.7/site-packages/debtcollector/__init__.py", line 19, in <module>
    __version__ = pbr.version.VersionInfo(
AttributeError: 'module' object has no attribute 'version'

Revision history for this message
Clark Boylan (cboylan) wrote :

https://git.openstack.org/cgit/openstack-dev/pbr/tree/pbr/version.py#n408 Shows where pbr.version.VersionInfo is defined. Without more data like package versions this is hard to debug but my guess is maybe you have a very old PBR version that predates the VersionInfo object (and version.py file) existing?

Changed in pbr:
status: New → Incomplete
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.