]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Adding delete-wait-loop for CloudByte Volumes
authorAbhishek Shrivastava <abhishek@cloudbyte.com>
Mon, 13 Jul 2015 11:00:59 +0000 (16:30 +0530)
committerAbhishek Shrivastava <abhishek@cloudbyte.com>
Sat, 29 Aug 2015 18:51:55 +0000 (00:21 +0530)
commitdddc995b0981327c6527bdfbc042582cc998f54b
treefee465504e7dd48d295d66e899e0fdbb4ff873ec
parent66e41075a28744aa7a92b4abc78b3322822aa158
Adding delete-wait-loop for CloudByte Volumes

Deleting volumes in CloudByte Storage is an asynchronous process.
So, the driver needs to wait till the job/process is completed.
The driver uses the jobid in a wait loop for a configured interval
of time, till the volume deletion is completed.

Added two new config options for this operation:

"cb_confirm_volume_delete_retry_interval"
"cb_confirm_volume_delete_retries"

DocImpact

Change-Id: I8139ecfb1b49c0b69ed956e3a53b5bb895ffc1fa
cinder/tests/unit/test_cloudbyte.py
cinder/volume/drivers/cloudbyte/cloudbyte.py
cinder/volume/drivers/cloudbyte/options.py