Missing parameter for storage pools in Pure Storage driver
Storage pools requires a manadatory parameter called QoS_support. This is missing in the Pure Storage driver so we will add it with the value of False Also add parameter to unit test. Fixes bug 1635342 Change-Id: I9f81f72fddf85ed7dee920ae48bea7f9707d4744
This commit is contained in:
@@ -2694,6 +2694,7 @@ class PureVolumeUpdateStatsTestCase(PureBaseSharedDriverTestCase):
|
||||
'consistencygroup_support': True,
|
||||
'thin_provisioning_support': True,
|
||||
'multiattach': True,
|
||||
'QoS_support': False,
|
||||
'total_capacity_gb': TOTAL_CAPACITY,
|
||||
'free_capacity_gb': TOTAL_CAPACITY - USED_SPACE,
|
||||
'reserved_percentage': reserved_percentage,
|
||||
|
||||
@@ -556,6 +556,7 @@ class PureBaseVolumeDriver(san.SanDriver):
|
||||
data['consistencygroup_support'] = True
|
||||
data['thin_provisioning_support'] = True
|
||||
data['multiattach'] = True
|
||||
data['QoS_support'] = False
|
||||
|
||||
# Add capacity info for scheduler
|
||||
data['total_capacity_gb'] = total_capacity
|
||||
|
||||
Reference in New Issue
Block a user