octavia/devstack/upgrade/shutdown.sh
Gregory Thiemonge afb4d151f7 Fixing octavia-grenade job and disabling pylint warnings
grenade now updates from an ML2/OVN deployment. Octavia needs to source
the devstack/lib/octavia file from neutron, which provides the functions
that manage the octavia management interfaces.

The commit also removes false-positive pylint warnings, an issue was
reported to the pylint project:
https://github.com/PyCQA/pylint/issues/8497

Change-Id: Ie26a154c320d8527e54b871a3b99bbbc3c2ee811
2023-03-27 13:58:30 +02:00

27 lines
634 B
Bash
Executable File

#!/bin/bash
set -o errexit
source $GRENADE_DIR/grenaderc
source $GRENADE_DIR/functions
# We need base DevStack functions for this
source $BASE_DEVSTACK_DIR/functions
source $BASE_DEVSTACK_DIR/stackrc # needed for status directory
source $BASE_DEVSTACK_DIR/lib/tls
source $BASE_DEVSTACK_DIR/lib/apache
source $BASE_DEVSTACK_DIR/lib/neutron
OCTAVIA_DEVSTACK_DIR=$(dirname $(dirname $0))
source $OCTAVIA_DEVSTACK_DIR/settings
source $OCTAVIA_DEVSTACK_DIR/plugin.sh
source ${GITDIR[neutron]}/devstack/lib/octavia
set -o xtrace
octavia_stop
# sanity check that service is actually down
ensure_services_stopped o-api o-cw o-hk o-hm