
When the volume service starts up, it goes through all volumes for a host in the db and adds up the volume size as a mechanism to account for that allocate space against the backend. The problem was that the volume manager was only counting volumes with a state of 'in-use' or 'available'. If a volume has a host set on it, then we account for it's allocated space. This patch adds other volume states to use to account for allocated space at volume service startup. Closes-Bug: 1910767 Change-Id: I90d5dfbe62e630dc8042e725d411cadc2762db56
Release notes
The release notes for a patch should be included in the patch. The intended audience for release notes include deployers, administrators and end-users.
A release note is required if the patch has upgrade or API impact. It is also required if the patch adds a feature or fixes a long-standing or security bug.
Please see https://docs.openstack.org/cinder/latest/contributor/releasenotes.html for more details.