[rally] Fixes Ubuntu binary
This is a follow up for [1]. "rally-manage db" command was deprecated since 0.10.0 but Ubuntu ships 0.9.1 for Bionic. [1] https://bugs.launchpad.net/kolla/+bug/1856693 Closes-Bug: #1872283 Change-Id: I5fb0fc4e6a8bf7ab07abc9c78f0673e3e764b4d1
This commit is contained in:
parent
e22fb9796e
commit
ebfc0a7bf8
|
@ -10,6 +10,12 @@ fi
|
||||||
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
||||||
# 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
|
||||||
rally db create || rally db upgrade
|
# NOTE(osmanlicilegi): "rally-manage db" command was deprecated since 0.10.0 but
|
||||||
|
# Ubuntu ships 0.9.1 for Bionic.
|
||||||
|
if [[ ${KOLLA_BASE_DISTRO} == "ubuntu" && ${KOLLA_INSTALL_TYPE} == "binary" ]]; then
|
||||||
|
rally-manage db create || rally-manage db upgrade
|
||||||
|
else
|
||||||
|
rally db create || rally db upgrade
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes Rally for Ubuntu binary deployment.
|
||||||
|
`LP#1872283 <https://launchpad.net/bugs/1872283>`__
|
Loading…
Reference in New Issue