Deprecation message when using default keystone-paste.ini

Bug #1549371 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Brant Knudson

Bug Description

When configured using the default keystone-paste.ini and the admin token is used, keystone prints a warning:

2016-02-24 10:29:04.810 WARNING keystone.middleware.auth [req-b55760b6-94fd-4ae6-8373-951a33bbd7b1 ] Deprecated: Auth context checking for the admin token is deprecated as of the Mitaka release and will be removed in the O release. Update keystone-paste.ini so that admin_token_auth is before build_auth_context in the paste pipelines.

The default keystone-paste.ini should be corrected so that this warning isn't printed.

Changed in keystone:
status: New → In Progress
Changed in keystone:
milestone: none → mitaka-3
importance: Undecided → Medium
Revision history for this message
Brant Knudson (blk-u) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/281372
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=ee2e3272ac01d79133ffb735aac1ed125a88955d
Submitter: Jenkins
Branch: master

commit ee2e3272ac01d79133ffb735aac1ed125a88955d
Author: Brant Knudson <email address hidden>
Date: Wed Feb 17 10:03:38 2016 -0600

    Move admin_token_auth before build_auth_context in sample paste.ini

    It's deprecated to have admin_token_auth after build_auth_context,
    so move admin_token_auth before build_auth_context.

    Also, for safety in the code handling the deprecated configuration,
    only do the admin_token check if admin_token is not the default.

    Closes-Bug: 1549371
    Change-Id: I2607e718ecd50eb605a1e4bbfb3862e3968b6484

Changed in keystone:
status: In Progress → Fix Released
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/keystone 9.0.0.0b3

This issue was fixed in the openstack/keystone 9.0.0.0b3 development milestone.

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.