I deploy an Ironic environment,and execute ‘ironic node-list’ return ‘Service Unavailable (HTTP 503)
’ , then check the log of ironic. It displays
2016-09-21 14:40:33.432 4228 INFO ironic_api [-] 192.168.2.203 "GET /v1/nodes HTTP/1.1" status: 503 len: 259 time: 0.0124660
2016-09-21 14:40:35.437 4228 DEBUG keystonemiddleware.auth_token [-] Authenticating user token 5bef04fffc4a4e5dbec3e1dc4e7e1164 process_request /usr/lib/python2.7/site-packages/keystonemiddleware/auth_token/__init__.py:489
2016-09-21 14:40:35.438 4228 DEBUG keystoneauth.identity.v3.base [-] Making authentication request to http://192.168.2.203:35357/v3/auth/tokens get_auth_ref /usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py:165
2016-09-21 14:40:35.438 4228 DEBUG keystoneauth.identity.v3.base [-] The body is {'auth': {'identity': {'password': {'user': {'password': None}}, 'methods': ['password']}}} get_auth_ref /usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py:166
2016-09-21 14:40:35.438 4228 DEBUG keystoneauth.identity.v3.base [-] The headers is {'Accept': 'application/json'} get_auth_ref /usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py:167
2016-09-21 14:40:35.439 4228 DEBUG keystoneauth.identity.v3.base [-] The rkwargs is {} get_auth_ref /usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py:168
2016-09-21 14:40:35.447 4228 DEBUG keystoneauth.session [-] Request returned failure status: 400 request /usr/lib/python2.7/site-packages/keystoneauth1/session.py:569
2016-09-21 14:40:35.448 4228 ERROR keystonemiddleware.auth_token [-] Bad response code while validating token: 400
2016-09-21 14:40:35.448 4228 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Expecting to find id or name in user - 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"}}
2016-09-21 14:40:35.449 4228 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server
my ironic.conf is in attachments.
As Tempest is going to remove support for Ironic testing in its source code (in favor of a tempest-plugin maintained by the Ironic team), I am retargeting this bug to Ironic.