change text or behaviour of the admin token in keystone.conf

Bug #1261622 reported by Steve Martinelli
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Medium
Steve Martinelli

Bug Description

Given the outcome of: https://bugs.launchpad.net/keystone/+bug/1259440
And a recent colleague asking why he can't use the admin token to get a list of projects we should address the misconception surrounding this part of the keystone.conf file.

Currently, it reads:
[DEFAULT]
# A "shared secret" between keystone and other openstack services
# admin_token = ADMIN

which kind of gives the indication that it has overwhelming power, when in fact it does not represent a user and carries no explicit authorization that can be delegated. It's just a magical hack for bootstrapping keystone and should be removed from the wsgi pipeline after that.

Suggest we either clean up the comment before the admin_token, or we actually make it usable, and let it grab the admin project/user (but if no users or project exist... )

Adam Young (ayoung)
Changed in keystone:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Steve Martinelli (stevemar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/62998

Changed in keystone:
status: Confirmed → In Progress
Dolph Mathews (dolph)
Changed in keystone:
importance: High → Medium
Changed in keystone:
assignee: Steve Martinelli (stevemar) → Dolph Mathews (dolph)
Changed in keystone:
assignee: Dolph Mathews (dolph) → Steve Martinelli (stevemar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

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

commit d9116abae02cacd3984ff8c9c52028a66e63aa7c
Author: Steve Martinelli <email address hidden>
Date: Wed Dec 18 15:59:36 2013 -0600

    Re-write comment for ADMIN_TOKEN

    It seems that there is a misconception around the ADMIN_TOKEN in
    keystone. Currently the comment read that it is a "shared secret"
    and can be used between openstack services.

    However this token has no user associated with it, and no
    authorization. It's a method to bootstrap into keystone, that's
    all.

    Closes-Bug: 1261622
    Co-Authored-By: Dolph Mathews <email address hidden>

    Change-Id: I6c913a8079bb84b56ac69249e7d25bc94cf32dd0

Changed in keystone:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: icehouse-2 → 2014.1
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.