exception deepcopying RpcContext

Bug #1007043 reported by Chris Behrens on 2012-05-31
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
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) on 2012-05-31
Changed in nova:
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Chris Behrens (cbehrens)

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) on 2012-07-04
Changed in nova:
milestone: none → folsom-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-09-27
Changed in nova:
milestone: folsom-2 → 2012.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers