Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Force epmd listening to a specific address"
[apex-tripleo-heat-templates.git]
/
extraconfig
/
tasks
/
major_upgrade_object_storage.sh
diff --git
a/extraconfig/tasks/major_upgrade_object_storage.sh
b/extraconfig/tasks/major_upgrade_object_storage.sh
index
931f4f4
..
d9d1b4d
100644
(file)
--- 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
### This file is automatically delivered to the swift-storage nodes as part of the
### tripleo upgrades workflow
+set -eu
function systemctl_swift {
action=\$1
function systemctl_swift {
action=\$1
@@
-22,6
+23,8
@@
function systemctl_swift {
done
}
done
}
+$(declare -f special_case_ovs_upgrade_if_needed)
+special_case_ovs_upgrade_if_needed
systemctl_swift stop
systemctl_swift stop