yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01302
[Bug 1100687] Re: AttributeError: 'str' object has no attribute 'cmd_class'
Assuming this is now unreproducible on master -- please re-open if I'm
mistaken.
** Changed in: keystone
Status: Incomplete => Invalid
** Changed in: keystone
Milestone: grizzly-rc1 => None
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1100687
Title:
AttributeError: 'str' object has no attribute 'cmd_class'
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
i use the devstack script to install openstack. it git clone the
keystone source code from github.com/openstack on 2013/1/16
when executing command " /opt/stack/keystone/bin/keystone-manage
db_sync".
It returns things as follows:
Traceback (most recent call last):
File "/opt/stack/keystone/bin/keystone-manage", line 28, in <module>
cli.main(argv=sys.argv, config_files=config_files)
File "/opt/stack/keystone/keystone/cli.py", line 144, in main
CONF.command.cmd_class.main()
AttributeError: 'str' object has no attribute 'cmd_class'
And in the cli.py file ,the main function is:
def main(argv=None, config_files=None):
CONF.register_cli_opt(command_opt)
CONF(args=argv[1:],
project='keystone',
usage='%(prog)s [' + '|'.join([cmd.name for cmd in CMDS]) + ']',
default_config_files=config_files)
CONF.command.cmd_class.main()
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1100687/+subscriptions