From d926779724c7ce03dfbb3294d22ff4cd9d162724 Mon Sep 17 00:00:00 2001 From: Carlos Goncalves Date: Fri, 22 May 2020 10:37:30 +0200 Subject: [PATCH] Fix the grenade plugin to also upgrade octavia-lib Upgrade octavia-lib in target environment to make sure we are testing the latest code. Change-Id: I8003de0f71a5dee7438ab2f6a2c497386018c1ac --- devstack/upgrade/upgrade.sh | 1 + doc/source/admin/guides/upgrade.rst | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/devstack/upgrade/upgrade.sh b/devstack/upgrade/upgrade.sh index 8f5ac9e040..de91a27661 100755 --- a/devstack/upgrade/upgrade.sh +++ b/devstack/upgrade/upgrade.sh @@ -51,6 +51,7 @@ set -o xtrace [[ -d $SAVE_DIR/etc.octavia ]] || cp -pr $OCTAVIA_CONF_DIR $SAVE_DIR/etc.octavia # Install the target octavia +octavia_lib_install octavia_install # calls upgrade-octavia for specific release diff --git a/doc/source/admin/guides/upgrade.rst b/doc/source/admin/guides/upgrade.rst index c0a313b841..6fef161d5b 100644 --- a/doc/source/admin/guides/upgrade.rst +++ b/doc/source/admin/guides/upgrade.rst @@ -58,7 +58,10 @@ listeners, pools and members). #. Optional: Make a backup of the database. -#. Upgrade all Octavia control plane nodes to the next release. +#. Upgrade all Octavia control plane nodes to the next release. Remember to + also upgrade library dependencies (e.g. octavia-lib). If upgrading Octavia + from distribution packages, your system package manager is expected to + handle this automatically. #. Verify that all configuration option names are up-to-date with latest Octavia version. For example, pay special attention to deprecated