0

重新启动我的 openstack 服务器后,当我尝试登录Openstack Dashboard时,登录失败,并且在Horizo​​n_error.log中出现此错误:

[Sat Sep 14 21:44:31 2013] [error] DEBUG:openstack_auth.backend:Beginning user authentication for user "admin".
[Sat Sep 14 21:44:31 2013] [error] REQ: curl -i -X POST http://127.0.0.1:5000/v2.0/tokens -H "Content-Type: application/json" -H "User-Agent: python-keystoneclient"
[Sat Sep 14 21:44:31 2013] [error] REQ BODY: {"auth": {"passwordCredentials": {"username": "admin", "password": "mysecretpassword"}}}
[Sat Sep 14 21:44:31 2013] [error]
[Sat Sep 14 21:44:31 2013] [error] Starting new HTTP connection (1): 127.0.0.1
[Sat Sep 14 21:44:31 2013] [error] DEBUG:openstack_auth.backend:Authorization Failed: <attribute 'message' of 'exceptions.BaseException' objects> (HTTP Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens)
[Sat Sep 14 21:44:31 2013] [error] WARNING:openstack_auth.forms:Login failed for user "admin".

我该如何解决这个问题

最好的问候,佩德罗

4

2 回答 2

3

看起来您的 keystone 服务已关闭:

(HTTP Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens)

你确定 keystone 正在运行吗?

于 2013-09-15T03:19:33.477 回答
1

您可以使用以下命令检查您的 keystone 服务是否正在运行:

ps -ef | grep keystone

如果您使用的是 devstack,则只需导航到 devstack 目录并重新加入会话

/home/<user>/devstack
./rejoin-stack.sh
于 2014-07-08T12:27:05.053 回答