Devstack breaks
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
File "/usr/lib/
import pbr.version
File "/usr/lib/
import pkg_resources
File "/usr/lib/
import inspect
File "/usr/lib64/
import tokenize
File "/usr/lib64/
from token import *
File "/opt/stack/
from keystone.token import controllers # noqa
File "/opt/stack/
from keystone.token import controllers # noqa
File "/opt/stack/
from keystone.common import utils
File "/opt/stack/
from oslo_log import log
File "/usr/lib/
from oslo_config import cfg
File "/usr/lib/
import debtcollector
File "/usr/lib/
__version__ = pbr.version.
AttributeError: 'module' object has no attribute 'version'
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?