Fix ceilometer-upgrade params
It seems [1] has introduced a slight regression in that it tries by default to pass an empty string to ceilometer-upgrade which makes it fail: ceilometer-upgrade: error: unrecognized arguments: (note there is nothing more on that line) This patch fixes that by allowing the params to be of any number, including zero. Backport to Ussuri. [1]3d587409ee
Change-Id: I989a1dd30d1656b5c1fda7a46abbf5f265fbb72c Closes-Bug: #1884919 (cherry picked from commit69b8b7a49f
)
This commit is contained in:
parent
e667c10c67
commit
d1b75e09e1
|
@ -4,7 +4,7 @@
|
|||
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
||||
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
||||
if [[ "${CEILOMETER_DATABASE_TYPE}" == "gnocchi" ]]; then
|
||||
ceilometer-upgrade "${CEILOMETER_UPGRADE_PARAMS}"
|
||||
ceilometer-upgrade ${CEILOMETER_UPGRADE_PARAMS}
|
||||
else
|
||||
echo "Unsupported database type: ${CEILOMETER_DATABASE_TYPE}"
|
||||
exit 1
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes Ceilometer deployment and upgrade failing due to wrong mode of
|
||||
argument passing applied to the ``ceilometer-upgrade`` command.
|
||||
`LP#1884919 <https://launchpad.net/bugs/1884919>`__
|
Loading…
Reference in New Issue