Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova service-list fails with ERROR (Unauthorized): Unauthorized (HTTP 401)

Followed the document and carried out steps as recommened and suggested in the document after nova configured when issues nova service-list the command errors out with ERROR (Unauthorized): Unauthorized (HTTP 401) (Request-ID: req-8cf03742-a017-43ee-92e8-ba93b2261383)

Checked /var/log/nova/noav-api.log

and here is what I found,,,,

2015-04-29 22:55:38.426 29038 WARNING keystonemiddleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'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.', u'code': 400, u'title': u'Bad Request'}} 2015-04-29 22:55:38.428 29038 WARNING keystonemiddleware.auth_token [-] Authorization failed for token 2015-04-29 22:55:38.439 29038 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.11 "GET /v2/31ee9aa236eb447c9f733cb78f97868d/os-services HTTP/1.1" status: 401 len: 271 time: 0.1061730 2015-04-29 22:55:38.714 29038 WARNING keystonemiddleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'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.', u'code': 400, u'title': u'Bad Request'}} 2015-04-29 22:55:38.716 29038 WARNING keystonemiddleware.auth_token [-] Authorization failed for token 2015-04-29 22:55:38.728 29038 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.11 "GET /v2/31ee9aa236eb447c9f733cb78f97868d/os-services HTTP/1.1" status: 401 len: 271 time: 0.0298891

Question, did I hit bug?

If so what is my next step?

Arun

nova service-list fails with ERROR (Unauthorized): Unauthorized (HTTP 401)

Followed the document and carried out steps as recommened and suggested in the document after nova configured when issues nova service-list the command errors out with with

ERROR (Unauthorized): Unauthorized Unauthorized (HTTP 401) (Request-ID: (Request-ID: req-8cf03742-a017-43ee-92e8-ba93b2261383)

Checked /var/log/nova/noav-api.log

and here is what I found,,,,

2015-04-29 22:55:38.426 29038 WARNING keystonemiddleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'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.', u'code': 400, u'title': u'Bad Request'}}
2015-04-29 22:55:38.428 29038 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2015-04-29 22:55:38.439 29038 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.11 "GET /v2/31ee9aa236eb447c9f733cb78f97868d/os-services HTTP/1.1" status: 401 len: 271 time: 0.1061730
2015-04-29 22:55:38.714 29038 WARNING keystonemiddleware.auth_token [-] Unexpected response from keystone service: {u'error': {u'message': u'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.', u'code': 400, u'title': u'Bad Request'}}
2015-04-29 22:55:38.716 29038 WARNING keystonemiddleware.auth_token [-] Authorization failed for token
2015-04-29 22:55:38.728 29038 INFO nova.osapi_compute.wsgi.server [-] 10.0.0.11 "GET /v2/31ee9aa236eb447c9f733cb78f97868d/os-services HTTP/1.1" status: 401 len: 271 time: 0.0298891

0.0298891

Question, did I hit bug?

If so what is my next step?

Arun