Reasons:
- Cinder's API attach-detach APIs do not actually work with
Nova instances.
- Cinder APIs only update metadata for attach/detach operations.
Changes:
- Replace cinder calls for attaching and detaching volumes
with nova API calls.
- Removed duplicate delete calls to prevent race condition.
- Removed duplicate mocked calls from unit-test.
Reviewed: https:/ /review. openstack. org/89796 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=d1ffbd4bfde 0cd6b7a82a48b9d 4f59cc8b310bd8
Committed: https:/
Submitter: Jenkins
Branch: master
commit d1ffbd4bfde0cd6 b7a82a48b9d4f59 cc8b310bd8
Author: Sushil Kumar <email address hidden>
Date: Wed Apr 23 11:18:31 2014 +0000
Restores Nova API for volume attach and detach
Reasons:
- Cinder's API attach-detach APIs do not actually work with
Nova instances.
- Cinder APIs only update metadata for attach/detach operations.
Changes:
- Replace cinder calls for attaching and detaching volumes
with nova API calls.
- Removed duplicate delete calls to prevent race condition.
- Removed duplicate mocked calls from unit-test.
Closes-Bug: #1311533 440160f03b92f41 b76d1c9100c
Change-Id: I5f16c528652f12