Merge "KumoScale Driver replicated volume missing portals attaches without raid"

This commit is contained in:
Zuul 2021-09-17 16:35:01 +00:00 committed by Gerrit Code Review
commit 8e97808ad0
2 changed files with 4 additions and 2 deletions

View File

@ -183,7 +183,8 @@ class KioxiaVolumeTestCase(test.TestCase):
'vol_uuid': testvol['id'],
'alias': testvol['name'],
'writable': True,
'volume_replicas': [expected_replica]
'volume_replicas': [expected_replica],
'replica_count': 2
}
expected_result = {
'driver_volume_type': 'nvmeof',

View File

@ -368,7 +368,8 @@ class KumoScaleBaseVolumeDriver(driver.BaseVD):
'vol_uuid': volume_uuid,
'alias': volume_name,
'writable': ks_volume.writable,
'volume_replicas': volume_replicas
'volume_replicas': volume_replicas,
'replica_count': len(ks_volume_replicas)
}
if result.status != 'Success':