a8e119094f
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
18 lines
405 B
Bash
Executable File
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
|