exception deepcopying RpcContext

Bug #1007043 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Critical
Chris Behrens

Bug Description

When using an RpcContext... and calling .elevated(), a deepcopy of the instance of the RpcContext class is done. This seems to not work well in all cases or something.

See:

http://paste.openstack.org/show/18278/

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

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

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

Reviewed: https://review.openstack.org/7988
Committed: http://github.com/openstack/nova/commit/5fcdaf8232d404da0d281173b8f1e885aa0832b1
Submitter: Jenkins
Branch: master

commit 5fcdaf8232d404da0d281173b8f1e885aa0832b1
Author: Chris Behrens <email address hidden>
Date: Thu May 31 18:09:23 2012 +0000

    Don't deepcopy RpcContext

    Instead of deepcopying the RpcContext, which seems to not work
    sometimes, we'll explicitly create a new instance of the class and
    deepcopy the required values.

    Fixes bug 1007043

    Change-Id: I6578c4c82046acf149724a1c5985fa6b46857a7c

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → folsom-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-2 → 2012.2
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.