summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorChris Behrens <cbehrens@codestud.com>2013-01-13 22:24:54 +0000
committerChris Behrens <cbehrens@codestud.com>2013-01-13 22:55:48 +0000
commit86544fad81f95b74407a76bea8b081f490e2832f (patch)
treef96ab72e8934fbb8378bccbf9842f1d2acc34b96 /nova/exception.py
parent59333ce9f3b012ad63a004d16534ad19e998d9a8 (diff)
downloadnova-86544fad81f95b74407a76bea8b081f490e2832f.tar.gz
nova-86544fad81f95b74407a76bea8b081f490e2832f.tar.xz
nova-86544fad81f95b74407a76bea8b081f490e2832f.zip
Clean up compute API image_create
The _image_create() code in compute manager is the only place where db.instance_test_and_set is used.. which was added before 'expected_task_state' support was added to instance_update. By switching to use self.update(), we can also take advantage of it doing the state change notification for us. The instance update and the compute RPC call have been moved out of _create_image() and into snapshot() and backup() to support a future cells patch. Change-Id: Ib6603f732d28e49cb6f351447da5f6e41615dea5
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions