[root@controller ~]# openstack compute service list
Unknown Error (HTTP 503) (Request-ID: req-b4bedf97-115c-401d-9775-b97ec09d9d20)
Unknown Error (HTTP 503)
未知错误(HTTP 503)
/var/log/nova/nova-api.log错误日志显示
2017-11-16 11:54:46.259 16440 ERROR keystonemiddleware.auth_token [-] Bad response code while validating token: 400
2017-11-16 11:54:46.259 16440 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.", "code": 400, "title": "Bad Request"}}

当尝试列出OpenStack Compute服务时遇到HTTP 503错误。问题源于 nova-api.log 中的日志,提示可能存在配置错误。检查[keystone_authtoken]配置段并确保设置正确。在验证配置无误后,重启服务以解决问题。
最低0.47元/天 解锁文章
160

被折叠的 条评论
为什么被折叠?



