]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix typo in SolidFire xDBVersionMismatch label
authorJohn Griffith <john.griffith8@gmail.com>
Tue, 18 Nov 2014 19:37:11 +0000 (12:37 -0700)
committerJohn Griffith <john.griffith8@gmail.com>
Tue, 18 Nov 2014 19:37:11 +0000 (12:37 -0700)
The retryable errors list in the SolidFire driver includes
an xDBVersionMismatch error that can be emitted from the
device.  During some recent work however the spelling of
the error was incorrect, so it's never deteceted/retried
as it should be.

This patch fixes the typo from 'xDBVersionMisMatch' to
xDBVersionMismatch'.

Change-Id: I5b4bf908c6a9146c4554e5749cd12dbc46c6e7c1
Closes-Bug: #1393916

cinder/volume/drivers/solidfire.py

index fac5167b4e998893250071cc4190ccdd399154d0..4247258d8bf30933a4fde63a5cf24f4004d5fa26 100644 (file)
@@ -120,7 +120,7 @@ class SolidFireDriver(SanISCSIDriver):
     cluster_stats = {}
     retry_exc_tuple = (exception.SolidFireRetryableException,
                        requests.exceptions.ConnectionError)
-    retryable_errors = ['xDBVersionMisMatch',
+    retryable_errors = ['xDBVersionMismatch',
                         'xMaxSnapshotsPerVolumeExceeded',
                         'xMaxClonesPerVolumeExceeded',
                         'xMaxSnapshotsPerNodeExceeded',