分享

openstack kilo 执行 openstack service create 失败

pig2 发表于 2015-8-24 18:10:00 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 1 21377
openstack --debug  service create   --name keystone --description "OpenStack Identity" identity

DEBUG: openstackclient.api.auth Auth plugin osc_password selectedDEBUG: openstackclient.identity.v2_0.service.CreateService take_action(Namespace(columns=[], description='OpenStack Identity', formatter='table', max_width=0, name='keystone', prefix='', type=None, type_or_name='identity', variables=[]))DEBUG: openstackclient.identity.client Instantiating identity client: <class 'openstackclient.identity.client.IdentityClientv2'>ERROR: openstack Authorization Failed: Cannot authenticate without an auth_urlTraceback (most recent call last):  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand    result = cmd.run(parsed_args)  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run    column_names, data = self.take_action(parsed_args)  File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/service.py", line 64, in take_action    identity_client = self.app.client_manager.identity  File "/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 43, in __get__    self._handle = self.factory(instance)  File "/usr/lib/python2.7/dist-packages/openstackclient/identity/client.py", line 51, in make_client    region_name=instance._region_name,  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 152, in __init__    self.authenticate()  File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner    return func(*args, **kwargs)  File "/usr/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 503, in authenticate    resp = self.get_raw_token_from_identity_service(**kwargs)  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 196, in get_raw_token_from_identity_service    _("Authorization Failed: %s") % e)AuthorizationFailure: Authorization Failed: Cannot authenticate without an auth_urlDEBUG: openstackclient.shell clean_up CreateServiceDEBUG: openstackclient.shell got an error: Authorization Failed: Cannot authenticate without an auth_urlERROR: openstackclient.shell Traceback (most recent call last):  File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 176, in run    return super(OpenStackShell, self).run(argv)  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 238, in run    result = self.run_subcommand(remainder)  File "/usr/lib/python2.7/dist-packages/cliff/app.py", line 303, in run_subcommand    result = cmd.run(parsed_args)  File "/usr/lib/python2.7/dist-packages/cliff/display.py", line 91, in run    column_names, data = self.take_action(parsed_args)  File "/usr/lib/python2.7/dist-packages/openstackclient/identity/v2_0/service.py", line 64, in take_action    identity_client = self.app.client_manager.identity  File "/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 43, in __get__    self._handle = self.factory(instance)  File "/usr/lib/python2.7/dist-packages/openstackclient/identity/client.py", line 51, in make_client    region_name=instance._region_name,  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 152, in __init__    self.authenticate()  File "/usr/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner    return func(*args, **kwargs)  File "/usr/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 503, in authenticate    resp = self.get_raw_token_from_identity_service(**kwargs)  File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 196, in get_raw_token_from_identity_service    _("Authorization Failed: %s") % e)AuthorizationFailure: Authorization Failed: Cannot authenticate without an auth_url

已有(1)人评论

跳转到指定楼层
pig2 发表于 2015-8-24 18:10:22
错误原因:

curl http://git.openstack.org/cgit/openstack/keystone/plain/httpd/keystone.py?h=stable/kilo \  | tee /var/www/cgi-bin/keystone/main /var/www/cgi-bin/keystone/admin

下载失败

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条