]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
attaching volumes will set instance_uuid instantly
authorMike Perez <thingee@gmail.com>
Thu, 29 Nov 2012 11:18:08 +0000 (03:18 -0800)
committerMike Perez <thingee@gmail.com>
Fri, 30 Nov 2012 08:56:58 +0000 (00:56 -0800)
commite27b171883c1b87b8d2fdf0994947d4b93e640d9
tree7ce96890d61e5a7427d8892861ad4b9b2b401805
parentde14700f955bd8393d016abe6644f646c0e0baf4
attaching volumes will set instance_uuid instantly

This change allows the instance_uuid field to be set instantly when
beginning an attach action. The user will no longer have to wait for the
attachment to be complete to know what it is attaching to. If attaching
fails on the driver layer, we got error state and keep the instance_uuid
set for troubleshooting purposes.

blueprint instance-attached-field
Change-Id: Ie9860876ab865f766c0ae4cb616a45fd363931f8
cinder/tests/test_volume.py
cinder/volume/api.py