nova virt driver support for pre-generated auth_token doesn't work

Bug #1292676 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Chris Behrens

Bug Description

The nova virt driver has a check to see if ctxt.auth_token is set and will pass it in to ironicclient, if so. However, nova.context's get_admin_context() never sets it unless you explicitly pass one in to that call.

Chris Behrens (cbehrens)
Changed in ironic:
assignee: nobody → Chris Behrens (cbehrens)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

aeva black (tenbrae)
Changed in ironic:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/80669
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=4475e04b95a143a1556f8e4c1c2979f37a1a63e6
Submitter: Jenkins
Branch: master

commit 4475e04b95a143a1556f8e4c1c2979f37a1a63e6
Author: Chris Behrens <email address hidden>
Date: Fri Mar 14 19:31:00 2014 +0000

    Add admin_auth_token option for nova driver

    The call to nova.context.get_admin_context() never sets an auth_token,
    but we should support the idea of having an admin token that's always
    known to be good. This adds a new Ironic config option for
    'admin_auth_token' and uses it if set.

    DocImpact

    Closes-bug: 1292676

    Change-Id: I73fcf13e2a746be527c234bdc711d95de157a9e5

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