aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDincer Celik <hello@dincercelik.com>2020-01-13 03:36:40 +0300
committerDincer Celik <hello@dincercelik.com>2020-01-13 04:54:12 +0300
commit1114859b5cb940290f405cd64e34c6638dcebcae (patch)
tree5ba48543f19f743d3f63b7d0314205184bfe6224
parent86d616bbe738effd430fff53298a7bbde1fbaca3 (diff)
downloadkolla-1114859b5cb940290f405cd64e34c6638dcebcae.tar.gz
kolla-1114859b5cb940290f405cd64e34c6638dcebcae.zip
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
-rw-r--r--docker/rally/extend_start.sh2
-rw-r--r--releasenotes/notes/rally-manage-fix-8c98a0beb6dae50e.yaml5
2 files changed, 6 insertions, 1 deletions
diff --git a/docker/rally/extend_start.sh b/docker/rally/extend_start.sh
index e490d8b88..88f3d054f 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 000000000..fb3def424
--- /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 <https://bugs.launchpad.net/kolla/+bug/1856693>`__