]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add retries to delete a volume in the RBD driver
authorYuriy Nesenenko <ynesenenko@mirantis.com>
Thu, 27 Aug 2015 14:39:10 +0000 (17:39 +0300)
committeryuriy_n <ynesenenko@mirantis.com>
Thu, 27 Aug 2015 18:59:47 +0000 (21:59 +0300)
commite6a8cc3eb021d01b4341a5887d1d514247c6e2ca
treee055914e1a4b7f90548c2da0525441c2fdc80d5e
parentd8137f3b9178420184830fff6e90a805c0a51fad
Add retries to delete a volume in the RBD driver

This patch adds retries to delete a volume. After N tries of a
volume deletion failed we raise VolumeIsBusy exception.

Change-Id: I9499be0c5985f9e8a3e55d1c9add01ad5cd11789
cinder/tests/unit/test_rbd.py
cinder/volume/drivers/rbd.py