]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Change RBD delete failure log level to warn
authorMike Perez <thingee@gmail.com>
Fri, 28 Feb 2014 19:09:27 +0000 (11:09 -0800)
committerMike Perez <thingee@gmail.com>
Fri, 28 Feb 2014 19:16:24 +0000 (11:16 -0800)
This is a recoverable issue in the backend, so we don't have to provide
the message on the error level.

Change-Id: I35711876b2c088ad28f32abd39248dc9a467d00d
Closes-Bug: #1256259

cinder/volume/drivers/rbd.py

index 88236d2f12c616e689447f78bbb5c8aaf2deb2a5..45f5521f173e28b8dd8c47197cde787e0f7def91 100644 (file)
@@ -631,7 +631,7 @@ class RBDDriver(driver.VolumeDriver):
                              "connection from a client that has crashed and, "
                              "if so, may be resolved by retrying the delete "
                              "after 30 seconds has elapsed."))
-                    LOG.error(msg)
+                    LOG.warn(msg)
                     # Now raise this so that volume stays available so that we
                     # delete can be retried.
                     raise exception.VolumeIsBusy(msg, volume_name=volume_name)