Merge "Allow operators to use "ceilometer-upgrade" parameters"

This commit is contained in:
Zuul 2020-04-12 05:45:48 +00:00 committed by Gerrit Code Review
commit ee21a7a503
3 changed files with 22 additions and 1 deletions

View File

@ -125,3 +125,11 @@ ceilometer_ks_users:
user: "{{ ceilometer_keystone_user }}" user: "{{ ceilometer_keystone_user }}"
password: "{{ ceilometer_keystone_password }}" password: "{{ ceilometer_keystone_password }}"
role: "admin" role: "admin"
####################
# Backend
####################
ceilometer_database_type: "gnocchi"
ceilometer_upgrade_params: ""

View File

@ -10,7 +10,8 @@
environment: environment:
KOLLA_BOOTSTRAP: KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
CEILOMETER_DATABASE_TYPE: "gnocchi" CEILOMETER_DATABASE_TYPE: "{{ ceilometer_database_type }}"
CEILOMETER_UPGRADE_PARAMS: "{{ ceilometer_upgrade_params }}"
image: "{{ ceilometer_notification.image }}" image: "{{ ceilometer_notification.image }}"
labels: labels:
BOOTSTRAP: BOOTSTRAP:

View File

@ -0,0 +1,12 @@
---
features:
- |
Allow operators to use custom parameters with the ceilometer-upgrade
command. This is quite useful when using the dynamic pollster subsystem;
that sub-system provides flexibility to create and edit pollsters configs,
which affects gnocchi resource-type configurations. However, Ceilometer
uses default and hard-coded resource-type configurations; if one customizes
some of its default resource-types, he/she can get into trouble during
upgrades. Therefore, the only way to work around it is to use the
"--skip-gnocchi-resource-types" flag. This release introduces a method for
operators to execute such customization, and many others if needed.