Open
Description
In scheduler's capacity filter, the provisioned_ratio
is calculated and it must be smaller than the host's max_over_subscription_ratio
. The implemented algorithm includes the share size into the numerator of the ratio. It is correct for scheduling new share, but not for resizing shares. In this case, it should includes the share size differences. Scheduling share resizing might fail due to this bug.
manila/manila/scheduler/filters/capacity.py
Lines 97 to 98 in 01446c1