]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add 'detaching' to volume status
authorRongze Zhu <zrzhit@gmail.com>
Tue, 21 Aug 2012 15:07:02 +0000 (15:07 +0000)
committerRongze Zhu <zrzhit@gmail.com>
Thu, 23 Aug 2012 16:49:23 +0000 (16:49 +0000)
commit5475debcf706e87b1df926d489b72074662614f3
treea8b654911c3aa0ecbf911488492e123671b5ef47
parent4e81c907bbb9d94d4b76b00ff591418374175d41
Add 'detaching' to volume status

Fixes bug #1004382

When attach a volume , the volume status is "available -> attaching ->
in-use", But when detaching a volume , the volume status is "in-use ->
available". So We need 'detaching' volume status, it make the change of
state of the volume more clearly.

Change-Id: Idf8c38413135bf8e8cd025f11937f8c7250557c1
cinder/api/openstack/volume/contrib/volume_actions.py
cinder/tests/policy.json
cinder/tests/test_volume.py
cinder/volume/api.py