diff --git a/cinder/tests/unit/volume/drivers/hpe/test_nimble.py b/cinder/tests/unit/volume/drivers/hpe/test_nimble.py index c7cf3d67c4f..d85df2a0c04 100644 --- a/cinder/tests/unit/volume/drivers/hpe/test_nimble.py +++ b/cinder/tests/unit/volume/drivers/hpe/test_nimble.py @@ -1138,6 +1138,7 @@ class NimbleDriverVolumeTestCase(NimbleDriverBaseTestCase): 'reserved_percentage': 0, 'QoS_support': False, 'multiattach': True, + 'thin_provisioning_support': True, 'consistent_group_snapshot_enabled': True}]} self.assertEqual( expected_res, diff --git a/cinder/volume/drivers/hpe/nimble.py b/cinder/volume/drivers/hpe/nimble.py index f061176c0e2..12239ccf93e 100644 --- a/cinder/volume/drivers/hpe/nimble.py +++ b/cinder/volume/drivers/hpe/nimble.py @@ -403,6 +403,7 @@ class NimbleBaseVolumeDriver(san.SanDriver): reserved_percentage=0, QoS_support=False, multiattach=True, + thin_provisioning_support=True, consistent_group_snapshot_enabled=True) self.group_stats['pools'] = [single_pool] return self.group_stats diff --git a/releasenotes/notes/nimble-thin-provision-by-default-c5ac66120b2361ef.yaml b/releasenotes/notes/nimble-thin-provision-by-default-c5ac66120b2361ef.yaml new file mode 100644 index 00000000000..1abe4690ac9 --- /dev/null +++ b/releasenotes/notes/nimble-thin-provision-by-default-c5ac66120b2361ef.yaml @@ -0,0 +1,5 @@ +--- +other: + - | + Nimble driver: Enable thin provisioning as default method while creating + volumes.