From 93d8a2d74fcb4411a38eed99385ffd1c9c816c97 Mon Sep 17 00:00:00 2001 From: Anthony Lee Date: Mon, 16 Mar 2015 16:48:34 -0700 Subject: [PATCH] Increase LeftHand driver minimum client version 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 | 2 +- cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cinder/tests/fake_hp_lefthand_client.py b/cinder/tests/fake_hp_lefthand_client.py index 4dfa87d7e..791304b47 100644 --- a/cinder/tests/fake_hp_lefthand_client.py +++ b/cinder/tests/fake_hp_lefthand_client.py @@ -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 diff --git a/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py b/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py index c4188f11f..ba38cc226 100644 --- a/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py +++ b/cinder/volume/drivers/san/hp/hp_lefthand_iscsi.py @@ -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) -- 2.45.2