]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add retry to create resource in Datera driver
authorMike Perez <thingee@gmail.com>
Wed, 18 Mar 2015 09:19:45 +0000 (02:19 -0700)
committerMike Perez <thingee@gmail.com>
Thu, 19 Mar 2015 17:30:21 +0000 (10:30 -0700)
commita76eae7ffedc9dda5bf61dc3d713e59844094c2f
tree685a4a3d6544da7bb6fee19c40073ca0c418014a
parent6b12a4281c1f1a89806908571a3b1af35cd17520
Add retry to create resource in Datera driver

If the volume is still in a creating state, wait, and retry a few times.
Otherwise, raise an exception for the manager to set the volume into an
error state.

Closes-Bug: #1433543
Change-Id: If49fd9229f08301cedbd63399fe46475e73a83ef
cinder/tests/volume/drivers/datera.py
cinder/volume/drivers/datera.py