cinder/releasenotes/notes/feature-rbd-exclusive-pool-a9bdebdeb1f0bf37.yaml
Gorka Eguileor f33baccc35 RBD: Don't query Ceph on stats for exclusive pools
Collecting stats for provisioned_capacity_gb takes a long time since we
have to query each individual image for the provisioned size.  If we are
using the pool just for Cinder and/or are willing to accept a potential
deviation in Cinder stats we could just not retrieve this information
and calculate this based on the DB information for the volumes.

This patch adds configuration option `rbd_exclusive_cinder_pool` that
allows us to disable the size collection and thus improve the stats
reporting speed.

Change-Id: I32c7746fa9149bce6cdec96ee9aa87b303de4271
Closes-Bug: #1704106
2018-02-21 10:39:39 +01:00

16 lines
665 B
YAML

---
features:
- |
When using the RBD pool exclusively for Cinder we can now set
`rbd_exclusive_cinder_pool` to `true` and Cinder will use DB information
to calculate provisioned size instead of querying all volumes in the
backend, which will reduce the load on the Ceph cluster and the volume
service.
issues:
- |
If RBD stats collection is taking too long in your environment maybe even
leading to the service appearing as down you'll want to use the
`rbd_exclusive_cinder_pool = true` configuration option if you are using
the pool exclusively for Cinder and maybe even if you are not and can live
with the innacuracy.