Merge "Force epmd listening to a specific address"
[apex-tripleo-heat-templates.git] / extraconfig / tasks / major_upgrade_object_storage.sh
index 931f4f4..d9d1b4d 100644 (file)
@@ -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