Merge "KumoScale Driver replicated volume missing portals attaches without raid"
This commit is contained in:
commit
8e97808ad0
@ -183,7 +183,8 @@ class KioxiaVolumeTestCase(test.TestCase):
|
|||||||
'vol_uuid': testvol['id'],
|
'vol_uuid': testvol['id'],
|
||||||
'alias': testvol['name'],
|
'alias': testvol['name'],
|
||||||
'writable': True,
|
'writable': True,
|
||||||
'volume_replicas': [expected_replica]
|
'volume_replicas': [expected_replica],
|
||||||
|
'replica_count': 2
|
||||||
}
|
}
|
||||||
expected_result = {
|
expected_result = {
|
||||||
'driver_volume_type': 'nvmeof',
|
'driver_volume_type': 'nvmeof',
|
||||||
|
@ -368,7 +368,8 @@ class KumoScaleBaseVolumeDriver(driver.BaseVD):
|
|||||||
'vol_uuid': volume_uuid,
|
'vol_uuid': volume_uuid,
|
||||||
'alias': volume_name,
|
'alias': volume_name,
|
||||||
'writable': ks_volume.writable,
|
'writable': ks_volume.writable,
|
||||||
'volume_replicas': volume_replicas
|
'volume_replicas': volume_replicas,
|
||||||
|
'replica_count': len(ks_volume_replicas)
|
||||||
}
|
}
|
||||||
|
|
||||||
if result.status != 'Success':
|
if result.status != 'Success':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user