
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
7 lines
118 B
YAML
7 lines
118 B
YAML
---
|
|
other:
|
|
- |
|
|
HPE 3PAR driver: In get_volume_stats response, updated the
|
|
logic to calculate free_capacity
|
|
|