diff --git a/cinder/tests/unit/volume/drivers/open_e/test_iscsi.py b/cinder/tests/unit/volume/drivers/open_e/test_iscsi.py index a392777aff0..64ec0f4f87a 100644 --- a/cinder/tests/unit/volume/drivers/open_e/test_iscsi.py +++ b/cinder/tests/unit/volume/drivers/open_e/test_iscsi.py @@ -1282,14 +1282,15 @@ class TestOpenEJovianDSSDriver(test.TestCase): location_info = 'JovianISCSIDriver:192.168.0.2:Pool-0' correct_out = { 'vendor_name': 'Open-E', - 'driver_version': "1.0.1", + 'driver_version': "1.0.2", 'storage_protocol': 'iSCSI', 'total_capacity_gb': 100, 'free_capacity_gb': 50, 'reserved_percentage': 10, 'volume_backend_name': CONFIG_BACKEND_NAME['volume_backend_name'], 'QoS_support': False, - 'location_info': location_info + 'location_info': location_info, + 'multiattach': True } jdssd.ra.get_pool_stats.return_value = { 'size': 100 * o_units.Gi, diff --git a/cinder/volume/drivers/open_e/iscsi.py b/cinder/volume/drivers/open_e/iscsi.py index b4c321d386d..cfb006fb926 100644 --- a/cinder/volume/drivers/open_e/iscsi.py +++ b/cinder/volume/drivers/open_e/iscsi.py @@ -45,11 +45,13 @@ class JovianISCSIDriver(driver.ISCSIDriver): 1.0.0 - Open-E JovianDSS driver with basic functionality 1.0.1 - Added certificate support Added revert to snapshot support - """ + 1.0.2 - Added multi-attach support + Added 16K block support + """ # ThirdPartySystems wiki page CI_WIKI_NAME = "Open-E_JovianDSS_CI" - VERSION = "1.0.1" + VERSION = "1.0.2" def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -117,7 +119,7 @@ class JovianISCSIDriver(driver.ISCSIDriver): msg = (_("Unable to identify pool %s") % self._pool) raise exception.VolumeDriverException(msg) - valid_bsize = ['32K', '64K', '128K', '256K', '512K', '1M'] + valid_bsize = ['16K', '32K', '64K', '128K', '256K', '512K', '1M'] if self.block_size not in valid_bsize: raise exception.InvalidConfigurationValue( value=self.block_size, @@ -747,7 +749,8 @@ class JovianISCSIDriver(driver.ISCSIDriver): 'reserved_percentage': int(reserved_percentage), 'volume_backend_name': self.backend_name, 'QoS_support': False, - 'location_info': location_info + 'location_info': location_info, + 'multiattach': True } LOG.debug('Total capacity: %d, ' diff --git a/doc/source/reference/support-matrix.ini b/doc/source/reference/support-matrix.ini index b64ca67fd40..128d353ea80 100644 --- a/doc/source/reference/support-matrix.ini +++ b/doc/source/reference/support-matrix.ini @@ -838,7 +838,7 @@ driver.netapp_solidfire=complete driver.nexenta=missing driver.nfs=missing driver.nimble=complete -driver.opene_joviandss=missing +driver.opene_joviandss=complete driver.prophetstor=missing driver.pure=complete driver.qnap=missing diff --git a/releasenotes/notes/open-e-joviandss-enable-multiattach-b1d38ffcc53bf59c.yaml b/releasenotes/notes/open-e-joviandss-enable-multiattach-b1d38ffcc53bf59c.yaml new file mode 100644 index 00000000000..1c6a043ec69 --- /dev/null +++ b/releasenotes/notes/open-e-joviandss-enable-multiattach-b1d38ffcc53bf59c.yaml @@ -0,0 +1,6 @@ +--- +features: + - | + Open-E JovianDSS driver: Added multiattach support. + - | + Open-E JovianDSS driver: Added 16K block size support.