Comment 4 for bug 1077012

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

Reviewed: https://review.openstack.org/15726
Committed: http://github.com/openstack/quantum/commit/05383d1340aecd7192609a9197c249886d844a46
Submitter: Jenkins
Branch: master

commit 05383d1340aecd7192609a9197c249886d844a46
Author: gongysh <email address hidden>
Date: Fri Nov 9 22:45:58 2012 +0800

    Fix context problem

    On plugin side, we use normal API context if any to call RPC methods.
    We use our plugin dispatcher to convert RPC context into quantum admin
    context. After that the callback's functions have the first argument context
    as normal quantum context.

    On agent side, we use admin context without session property as its
    RPC calling context. Call back context is default RPCCommonContext in
    Openstack common modules.

    This patch also fixes the problem in the following bug:

    Bug #1077012

    Change-Id: I913b48dcd84d275cd7de30ca990be00c243e63ea