CRITICAL keystonemiddleware.auth_token

Bug #1801326 reported by Taavi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Hi

I am facing issue with dashboard (flavors function) and also command line when creating new flavor.
Error (nova-api log):

----
2018-11-02 11:43:24.448 7149 INFO nova.osapi_compute.wsgi.server [-] 194.24.226.85 "POST /v2.1/b09e14755fcb47f897c55681c8ef73ff/flavors HTTP/1.1" status: 503 len: 399 time: 0.0385082
2018-11-02 11:44:13.895 7143 WARNING keystonemiddleware.auth_token [-] Using the in-process token cache is deprecated as of the 4.2.0 release and may be removed in the 5.0.0 release or the 'O' development cycle. The in-process cache causes inconsistent results and high memory usage. When the feature is removed the auth_token middleware will not cache tokens by default which may result in performance issues. It is recommended to use memcache for the auth_token token cache by setting the memcached_servers option.
2018-11-02 11:44:13.919 7143 ERROR keystonemiddleware.auth_token [-] Bad response code while validating token: 400
2018-11-02 11:44:13.929 7143 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Invalid input for field 'identity/password/user/password': None is not of type 'string'", "code": 400, "title": "Bad Request"}}
2018-11-02 11:44:13.930 7143 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server
2018-11-02 11:44:13.932 7143 INFO nova.osapi_compute.wsgi.server [-] 194.24.226.85 "POST /v2.1/b09e14755fcb47f897c55681c8ef73ff/flavors HTTP/1.1" status: 503 len: 399 time: 0.0378041
----

I have checked a lot of community posts and bugs raports but cannot get rid of issue. Tried several methods. v2 api etc. Checked that username and pw works for nova.

Configure paste: http://paste.openstack.org/show/733950/

Revision history for this message
Akihiro Motoki (amotoki) wrote :

The bug author says this happens in both horizon and CLI, so I am forwarding it to nova.

affects: horizon → nova
Revision history for this message
Taavi (taavim) wrote :

ping

Revision history for this message
Taavi (taavim) wrote :

How this bug process works? Waiting now from 02 november.

Revision history for this message
Matt Riedemann (mriedem) wrote :

Looks like some kind of misconfiguration. You're trying to create a flavor and nova-api is trying to call keystone to validate the token using the keystone auth token middleware, and that is failing because something is misconfigured. Check the install docs and config docs:

https://docs.openstack.org/nova/latest/configuration/config.html#keystone-authtoken

https://docs.openstack.org/nova/latest/install/controller-install-ubuntu.html

Changed in nova:
status: New → Invalid
Revision history for this message
Taavi (taavim) wrote :

hi

indeed keystone-authtoken is missing from nova.conf. it should be in section. i assume i had older version file and when i did reinstall newer version got installed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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