cinder/releasenotes/notes/hpe-3par-calculate-free-capacity-926b60b70bba18b7.yaml
raghavendrat 792462cad1 HPE 3par: Update the calculation of free_capacity
In get_volume_stats response, below 3 values are returned,
along with some other values.
total_capacity, provisioned_capacity and free_capacity.

All these 3 values were calculated independently;
and in some cases, the sum of provisioned_capacity (PC) and
free_capacity (FC) was not equal to total_capacity (TC).
Ideally PC + FC should be equal to TC.

After checking wsapi guide and executing those calls we found that,
total_capacity and provisioned_capacity are calculated correctly.

Thus, free_capacity is now calculated as below:
free_capacity = total_capacity - provisioned_capacity

Change-Id: I89e36219f9e3adfaf626f25cd06e7a46d3fe813c
2025-01-21 10:59:07 +00:00

7 lines
118 B
YAML

---
other:
- |
HPE 3PAR driver: In get_volume_stats response, updated the
logic to calculate free_capacity