Skip to content

Commit

Permalink
Adds staged upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
jovial committed Sep 16, 2022
1 parent a399361 commit d4aa284
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions scripts/runbook-overcloud-upgrade-staged.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash

set -euE
set -o pipefail

PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

source "${PARENT}/../functions"

function main {
${PARENT}/overcloud-host-configure.sh
${PARENT}/overcloud-host-upgrade.sh
# Avoid services that could break VM connectivity
${PARENT}/overcloud-service-upgrade.sh –kolla-skip-tags neutron,nova
# Upgrade the rest
${PARENT}/overcloud-service-upgrade.sh
${PARENT}/overcloud-host-command-run.sh -b --command 'docker system prune -af'
}

if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
main
fi

0 comments on commit d4aa284

Please sign in to comment.