tripleo-heat-templates/extraconfig/tasks/major_upgrade_controller_pacemaker_3.sh
Pradeep Kilambi a8e119094f Rework gnocchi-upgrade to run in a separate upgrade step
gnocchi when configured with swift will require keystone
to be available to authenticate to migrate to v3. At this
step keystone is not available and gnocchi upgrade fails
with auth error. Instead start apache in step 3, start
apache first and then run gnocchi upgrade in a separate
step and let upgrade happen here.

Closes-Bug: #1634897

Change-Id: I22d02528420e4456f84b80905a7b3a80653fa7b0
2016-11-01 08:33:23 -04:00

18 lines
405 B
Bash
Executable File

#!/bin/bash
set -eu
start_or_enable_service rabbitmq
check_resource rabbitmq started 600
start_or_enable_service redis
check_resource redis started 600
start_or_enable_service openstack-cinder-volume
check_resource openstack-cinder-volume started 600
# start httpd so keystone is available for gnocchi
# upgrade to run.
systemctl start httpd
# Swift isn't controled by pacemaker
systemctl_swift start