Make an error state message more explicit

Make the error state message more explicit when the admin_token_auth
middleware is still in the paste-ini. This is an error, the operator
must remove the elements from their keystone paste ini or the deletion
of the code (in Queens release) will result keystone to fail to run.

This is an error in the config. If the operator is using the default
paste-ini form keystone, this error should not occur in Pike. If
the paste-ini is managed via CMS (e.g. Ansible) it is likely the
config must be changed.

Change-Id: Id40a7161574c879aa5c948b94173308a03d4c240
This commit is contained in:
Morgan Fainberg 2017-08-08 14:53:20 -07:00
parent de5efb2348
commit ba953bec38
1 changed files with 4 additions and 1 deletions

View File

@ -68,7 +68,10 @@ class AdminTokenAuthMiddleware(wsgi.Middleware):
'[pipeline:api_v3], [pipeline:admin_api], and '
'[pipeline:public_api] sections of your paste ini '
'file. The [filter:admin_token_auth] block will also '
'need to be removed from your paste ini file. ')
'need to be removed from your paste ini file. Failure '
'to remove these elements from your paste ini file will '
'result in keystone to no longer start/run when the '
'`admin_token_auth` is removed in the Queens release.')
class JsonBodyMiddleware(wsgi.Middleware):