X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=extraconfig%2Ftasks%2Fmajor_upgrade_object_storage.sh;h=d9d1b4d548a407ad3f37d726f4228a960a31df11;hb=4a7e093a6b31a8bee1afb93e45d7d59114245bcc;hp=931f4f423be21d462b2d898a6904a21b2d5442bd;hpb=31cb956bd4dc6bd08e7a3612798b4a939b326e93;p=apex-tripleo-heat-templates.git diff --git a/extraconfig/tasks/major_upgrade_object_storage.sh b/extraconfig/tasks/major_upgrade_object_storage.sh index 931f4f42..d9d1b4d5 100644 --- a/extraconfig/tasks/major_upgrade_object_storage.sh +++ b/extraconfig/tasks/major_upgrade_object_storage.sh @@ -12,6 +12,7 @@ cat > $UPGRADE_SCRIPT << ENDOFCAT ### This file is automatically delivered to the swift-storage nodes as part of the ### tripleo upgrades workflow +set -eu function systemctl_swift { action=\$1 @@ -22,6 +23,8 @@ function systemctl_swift { done } +$(declare -f special_case_ovs_upgrade_if_needed) +special_case_ovs_upgrade_if_needed systemctl_swift stop