]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Handle instance volume attachments with co-routines
authorZane Bitter <zbitter@redhat.com>
Fri, 24 May 2013 08:31:27 +0000 (10:31 +0200)
committerZane Bitter <zbitter@redhat.com>
Fri, 24 May 2013 08:31:27 +0000 (10:31 +0200)
commit0d00d02c1eaea087adc36e143f646c0af4acb2de
treeae0ec14cea7f11ae5c461ec576e56d7397ed6b79
parent1850cc2da26a7dc4d2c7bab956aae3bb4344293e
Handle instance volume attachments with co-routines

Don't sit in a loop when attaching volumes to instances, use a task that
yields control and allows them to run in parallel - and, in future, in
parallel with other resources being created.

Change-Id: I4653baa87b09a9fb6c2c16b51218f4ea2f2ae6dd
heat/engine/resources/instance.py