Merge "Allow operators to use "ceilometer-upgrade" parameters"
This commit is contained in:
commit
8518744133
|
@ -4,7 +4,7 @@
|
||||||
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
||||||
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
||||||
if [[ "${CEILOMETER_DATABASE_TYPE}" == "gnocchi" ]]; then
|
if [[ "${CEILOMETER_DATABASE_TYPE}" == "gnocchi" ]]; then
|
||||||
ceilometer-upgrade
|
ceilometer-upgrade "${CEILOMETER_UPGRADE_PARAMS}"
|
||||||
else
|
else
|
||||||
echo "Unsupported database type: ${CEILOMETER_DATABASE_TYPE}"
|
echo "Unsupported database type: ${CEILOMETER_DATABASE_TYPE}"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue