[openstack-dev] [CINDER] discussion about Volume Delete API

2015-02-11 Thread Guo, Ruijing
In http://developer.openstack.org/api-ref-blockstorage-v2.html, delete volume preconditions: Preconditions · Volume status must be available, in-use, error, or error_restoring. I think we may change to following statements: Preconditions · Volume status must be creating,

Re: [openstack-dev] [CINDER] discussion about Volume Delete API

2015-02-11 Thread Duncan Thomas
Depending on what progress the backend has made during the create, this can race witht the create such that you can end up: a) No volume on the backend but a volume in cinder (this is ok) b) With no volume on the backend but the volume manager putting the volume in state available (delete flag