]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Increase LeftHand driver minimum client version
authorAnthony Lee <anthony.mic.lee@hp.com>
Mon, 16 Mar 2015 23:48:34 +0000 (16:48 -0700)
committerAnthony Lee <anthony.mic.lee@hp.com>
Mon, 16 Mar 2015 23:59:26 +0000 (16:59 -0700)
An error was occuring during LeftHand driver initialization when
an older LeftHand client was installed.

The minimum client version needed to be updated.

Closes-Bug: 1432757
Change-Id: Ifb6bc989a50ed9d051a72c065d8a7287a8570d1e

cinder/tests/fake_hp_lefthand_client.py
cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py

index 4dfa87d7ea6314db2850fdf188232560d235e541..791304b479e9456c2b8c5fe9f91508cb685b3b3f 100644 (file)
@@ -22,7 +22,7 @@ import mock
 from cinder.tests import fake_hp_client_exceptions as hpexceptions
 
 hplefthand = mock.Mock()
-hplefthand.version = "1.0.3"
+hplefthand.version = "1.0.4"
 hplefthand.exceptions = hpexceptions
 
 sys.modules['hplefthandclient'] = hplefthand
index c4188f11f62512ed2c0df187725f15775d0928ed..ba38cc226ed74516f702a9e9b35268e28d637701 100644 (file)
@@ -42,7 +42,7 @@ from cinder.volume.drivers.san.hp import hp_lefthand_rest_proxy as rest_proxy
 
 LOG = logging.getLogger(__name__)
 
-MIN_CLIENT_VERSION = '1.0.3'
+MIN_CLIENT_VERSION = '1.0.4'
 
 
 class HPLeftHandISCSIDriver(driver.VolumeDriver):
@@ -55,9 +55,10 @@ class HPLeftHandISCSIDriver(driver.VolumeDriver):
         1.0.3 - Fix for no handler for logger during tests
         1.0.4 - Removing locks bug #1395953
         1.0.5 - Adding support for manage/unmanage.
+        1.0.6 - Fixed #1432757 Updated minimum client version.
     """
 
-    VERSION = "1.0.5"
+    VERSION = "1.0.6"
 
     def __init__(self, *args, **kwargs):
         super(HPLeftHandISCSIDriver, self).__init__(*args, **kwargs)