Fixes rally db commands

'rally-manage db' command was deprecated since 0.10.0 [1]. Should use
'rally db' instead.

[1] https://rally.readthedocs.io/en/latest/project_info/release_notes/archive/v0.10.0.html#command-line-interface

Closes-Bug: #1856693

Change-Id: I578f7a6d907d5579180bc64c99c7e6c8edf3afc8
(cherry picked from commit 1114859b5c)
This commit is contained in:
Dincer Celik 2020-01-13 03:36:40 +03:00
parent 15c8c73c08
commit 0b9485c6f3
2 changed files with 6 additions and 1 deletions

View File

@ -10,6 +10,6 @@ fi
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
rally-manage db create || rally-manage db upgrade
rally db create || rally db upgrade
exit 0
fi

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Converts deprecated command ``rally-manage db`` to ``rally db``.
`LP#1856693 <https://bugs.launchpad.net/kolla/+bug/1856693>`__