Merge "Add gateway_ip in OS::Neutron::Subnet"
[apex-tripleo-heat-templates.git] / extraconfig / tasks / major_upgrade_controller_pacemaker_3.sh
1 #!/bin/bash
2
3 set -eu
4
5 start_or_enable_service rabbitmq
6 check_resource rabbitmq started 600
7 start_or_enable_service redis
8 check_resource redis started 600
9 start_or_enable_service openstack-cinder-volume
10 check_resource openstack-cinder-volume started 600
11
12
13 # Swift isn't controled by pacemaker
14 systemctl_swift start
15
16 # We need to start the systemd services we explicitely stopped at step _1.sh
17 # FIXME: Should we let puppet during the convergence step do the service enabling or
18 # should we add it here?
19 for service in $(services_to_migrate); do
20     manage_systemd_service start "${service%%-clone}"
21     check_resource_systemd "${service%%-clone}" started 600
22 done