cloudkitty/releasenotes/notes/ignore_disabled_tenants-and-ignore_rating_role-dfe542a0cafd412e.yaml
Olivier Chaze 3c7f573cb3 Adding two options in fetcher_keystone
This patch adds two options in fetcher_keystone to filter which tenants
should be rated:

ignore_disabled_tenants (Default=False)
ignore_rating_role (Default=False)

In our case we currently have 2k projects (growing) and we want to rate
all active projects, so checking the role rating is useless and consumes
resources for nothing. Besides, cloudkitty rates projects regardless if
there are enabled or disabled which is also useless and consumes
resources in our case.

Change-Id: I6479d76c367dc4217bce4de9c3db41c4612f0397
2021-11-29 22:27:52 +01:00

9 lines
355 B
YAML

---
features:
- |
Two new options ``ignore_disabled_tenants`` and ``ignore_rating_role``
were added in the ``fetcher_keystone`` section. ``ignore_disabled_tenants``
skips disabled tenants when doing the rating. ``ignore_rating_role``
rates everyone, without reading the rating role for each project, which
can be resource consuming.