
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
OpenStack Cinder
OpenStack Cinder is a storage service for an open cloud computing service.
You can learn more about Cinder at:
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
git clone https://opendev.org/openstack/cinder
If you'd like to contribute, please see the information in CONTRIBUTING.rst
You can raise bugs on Launchpad
Python client
Description
Languages
Python
99.7%
Smarty
0.3%