af7739aea2
Currently 'provisioned_capacity_gb' is expected from the drivers as part of capability reporting. If driver does not provide it, it defaults to 'allocated_capacity_gb'. But if driver does not provide both 'allocated_capacity_gb' and 'provisioned_capacity_gb' then 'provisioned_capacity_gb' defaults to 0. Which affects later calculation of 'provisioned_ratio'. Hence fixing it by summing up sizes of all the shares of that host and taking that as 'provisioned_capacity_gb', in such case. Change-Id: I844d176eb6f0f5e7b0eb3cbd66c4b413b6757f51 Closes-Bug: #1606691
6 lines
166 B
YAML
6 lines
166 B
YAML
---
|
|
fixes:
|
|
- Improve max_over_subscription_ratio enforcement by providing a
|
|
reasonable estimate of backend provisioned-capacity when drivers
|
|
cannot supply it.
|