Periodic tasks against nova can be incorrectly redirected after token expiry

Bug #1431853 reported by Alex Tomic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Alex Tomic

Bug Description

Derived from https://bugs.launchpad.net/trove/+bug/1289101 and the discussion behind abandoned review https://review.openstack.org/#/c/111679/ .

As per Sam Morrison's comments on Nov 19 in the above review, after token expiry, admin connections can be re-authenticated and sent to a different nova. The suggested fix is to provide bypass_url on the client connection.

Alex Tomic (atomic777)
Changed in trove:
assignee: nobody → Alex Tomic (atomic777)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/164232
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=daf4bb5847eb326c633756d369d2087899e6f8e8
Submitter: Jenkins
Branch: master

commit daf4bb5847eb326c633756d369d2087899e6f8e8
Author: Alex Tomic <email address hidden>
Date: Fri Mar 13 16:49:18 2015 +0100

    bypass_url required in nova admin client

    In the case of periodic tasks run in the task manager via the
    admin client, a bypass_url is needed to be passed on client
    connect in order to fix the endpoint should the token expire.
    Arose as part of investigation into bug 1289101 and associated
    review.

    Change-Id: I15e8a40e271d5b428eebfed6e99ec47a61611795
    Closes-Bug: #1431853
    Co-Authored-By: Li Ma <email address hidden>
    Related-Bug: #1289101

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
milestone: none → kilo-rc1
status: Fix Committed → Fix Released
Changed in trove:
importance: Undecided → High
Thierry Carrez (ttx)
Changed in trove:
milestone: kilo-rc1 → 2015.1.0
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.