Ironic node-list failed when auth_strategy is set to noauth

Bug #1625946 reported by Tao Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Expired
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Tao Li (eric-litao) wrote :
description: updated
tags: added: ironic node-list
Revision history for this message
Jordan Pittier (jordan-pittier) wrote :

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.

affects: tempest → ironic
Revision history for this message
Jay Faulkner (jason-oldos) wrote :

Tao,

Upon reading your ironic.conf, set under [DEFAULT] section is auth_strategy=keystone. This doesn't match what the subject claims. Please update the bug with more information or else it will be closed as invalid.

Thanks,
Jay

Changed in ironic:
status: New → Incomplete
summary: - Ironic node-list faild when auth_strategy is set to noauth
+ Ironic node-list failed when auth_strategy is set to noauth
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ironic because there has been no activity for 60 days.]

Changed in ironic:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.