From 1decff518df82e5d104ec929df0219722785c89a Mon Sep 17 00:00:00 2001 From: Dincer Celik Date: Mon, 13 Jan 2020 03:36:40 +0300 Subject: [PATCH] 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 1114859b5cb940290f405cd64e34c6638dcebcae) --- docker/rally/extend_start.sh | 2 +- releasenotes/notes/rally-manage-fix-8c98a0beb6dae50e.yaml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/rally-manage-fix-8c98a0beb6dae50e.yaml diff --git a/docker/rally/extend_start.sh b/docker/rally/extend_start.sh index e490d8b884..88f3d054f5 100644 --- a/docker/rally/extend_start.sh +++ b/docker/rally/extend_start.sh @@ -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 diff --git a/releasenotes/notes/rally-manage-fix-8c98a0beb6dae50e.yaml b/releasenotes/notes/rally-manage-fix-8c98a0beb6dae50e.yaml new file mode 100644 index 0000000000..fb3def424f --- /dev/null +++ b/releasenotes/notes/rally-manage-fix-8c98a0beb6dae50e.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Converts deprecated command ``rally-manage db`` to ``rally db``. + `LP#1856693 `__