Switch to keystone auth_plugin and session

Bug #1515014 reported by hongbin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Paulo Ewerton

Bug Description

This bug is for tracking Jamie Lennox's comment in this review:

https://review.openstack.org/#/c/218699/13

Below is his cmment:

Wow, some of the work we've done in keystoneclient around auth plugins can clean this up a lot.

For example loading any type of auth from config file[1], using a precreated auth plugin for user authentication[2] rather than trying to recreate the auth_ref dictionary structure.

It would be great to look into that now rather than kick the problem along a bit longer.

[1] http://www.jamielennox.net/blog/2015/02/17/loading-authentication-plugins/
[2] https://github.com/openstack/keystonemiddleware/blob/master/keystonemiddleware/auth_token/__init__.py#L164

Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

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

Changed in magnum:
assignee: nobody → Paulo Ewerton (pauloewerton)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/274227
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=7f145e703cfca618465211e95efbe73ac143858d
Submitter: Jenkins
Branch: master

commit 7f145e703cfca618465211e95efbe73ac143858d
Author: Paulo Ewerton <email address hidden>
Date: Wed Jan 27 18:03:07 2016 +0000

    Refactor Keystone client with keystoneauth

    This patch does, basically, three things:

    * Updates the default auth section to keystone_auth;
    * Introduces keystoneauth sessions and plugins;
    * Adds a deprecation warning and options when loading
    legacy auth.

    Config, tests and client code are also updated.

    Co-Authored-By: Henrique Truta <email address hidden>
    Co-Authored-By: Raildo Mascena <email address hidden>

    Closes-Bug: 1496810
    Closes-Bug: 1515014
    Change-Id: I5c1cd24ca28d66ae7ae40e7f707b81870cf0e457

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 3.0.0

This issue was fixed in the openstack/magnum 3.0.0 release.

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.