]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Elevate acceptors context on accept reserve udpate
authorJohn Griffith <john.griffith@solidfire.com>
Tue, 4 Jun 2013 18:59:20 +0000 (12:59 -0600)
committerJohn Griffith <john.griffith@solidfire.com>
Tue, 4 Jun 2013 22:47:17 +0000 (16:47 -0600)
commite02cf9c373daa7b03e141e016fb166841f6b02b7
tree413acd5aa551fc750e6bdb62b151ed51690cea75
parentd0c1110e5ce2a6ea1cb47ef6d08550cc01955536
Elevate acceptors context on accept reserve udpate

When accepting a transfer we need to update the
quota data for both the donor and the acceptor's.
The acceptor is easy enough (as that's the context
we currently are using) however to update the donor's
quota data we need an elevated context.

Fixes bug: 1187538

Change-Id: I1fb9e7726830dce2c3de23d3446de5bbe9a1fd24
cinder/transfer/api.py