Kamiario: Fix over subscription reporting
Current code is reporting max over subscription using key
max_oversubscription_ration, which is incorrect.
Fix this and return over subscription with key
"max_over_subscription_ratio" as expected by the scheduler.
Closes-Bug:
@@ -820,7 +820,7 @@ class KaminarioCinderDriver(cinder.volume.driver.ISCSIDriver):
'total_volumes': total_volumes,
'thick_provisioning_support': False,
'provisioned_capacity_gb': provisioned_vol / units.Mi,
- 'max_oversubscription_ratio': ratio,
+ 'max_over_subscription_ratio': ratio,
'kaminario:thin_prov_type': 'dedup/nodedup',
'replication_enabled': True,
'kaminario:replication': True}
