3 # This delivers the ceph-storage upgrade script to be invoked as part of the tripleo
4 # major upgrade workflow.
8 UPGRADE_SCRIPT=/root/tripleo_upgrade_node.sh
10 cat > $UPGRADE_SCRIPT << ENDOFCAT
11 ### DO NOT MODIFY THIS FILE
12 ### This file is automatically delivered to the ceph-storage nodes as part of the
13 ### tripleo upgrades workflow
16 function systemctl_ceph {
18 systemctl \$action ceph
21 # "so that mirrors aren't rebalanced as if the OSD died" - gfidente
25 yum -y install python-zaqarclient # needed for os-collect-config
33 # ensure the permissions are OK
34 chmod 0755 $UPGRADE_SCRIPT