Consoleauth check_token is broken with rpcapi v2

Bug #1244220 reported by Xavier Queralt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

After adding the 2.0 rpc API in consoleauth manager (See [1]), the method check_token in the new proxy class for v2 lacks the return statement and causes all calls to verify a token from other components to fail.

[1] https://review.openstack.org/#/c/51731/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/53604
Committed: http://github.com/openstack/nova/commit/a528302a248f4128c3440665f38b964a3593c3f5
Submitter: Jenkins
Branch: master

commit a528302a248f4128c3440665f38b964a3593c3f5
Author: Xavier Queralt <email address hidden>
Date: Thu Oct 24 13:31:01 2013 +0200

    Fix consoleauth check_token for rpcapi v2

    In 48dd52095869d36970de232f5dfa60656fcd578b support for the 2.0
    consoleauth rpc API was added which missed the return statement in the
    check_token method. Because of this all the components that had to
    verify a token against consoleauth component would fail to do so.

    This patch fixes the check_token method and extends the tests to cover
    the new v2.0 class.

    Closes-Bug: #1244220
    Change-Id: I4e5186943d28609083f723f4b43ab6f0ecbffd27

Changed in nova:
status: New → Fix Committed
Changed in nova:
assignee: nobody → Xavier Queralt (xqueralt)
Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-1 → 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.