scheduler's capacity filter fails to pass when extending share
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
haixin |
Bug Description
Extend share fails because of no host is found by the scheduler's capacity filer. In the following example, the requested share size is smaller than the available capacity, and the maximum over subscription ration is 1.0001. However, the would-be provision ratio, 1.61, is calculated incorrectly.
> Space information for share creation on host manila-
> Insufficient free space for thin provisioning. The ratio of provisioned capacity over total capacity 1.61 would exceed the maximum over subscription ratio 1.00
It seems to happen because the ratio calculation algorithm takes the share size rather than the share size increase into account.
> provisioned_ratio = ((host_
> share_size) / total)
tags: | added: scheduler |
Changed in manila: | |
milestone: | none → antelope-rc1 |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /manila/ +/838273
Review: https:/