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
16 lines
499 B
Bash
Executable File
16 lines
499 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
# We need to start the systemd services we explicitely stopped at step _1.sh
|
|
# FIXME: Should we let puppet during the convergence step do the service enabling or
|
|
# should we add it here?
|
|
services=$(services_to_migrate)
|
|
if [[ ${keep_sahara_services_on_upgrade} =~ [Ff]alse ]] ; then
|
|
services=${services%%openstack-sahara*}
|
|
fi
|
|
for service in $services; do
|
|
manage_systemd_service start "${service%%-clone}"
|
|
check_resource_systemd "${service%%-clone}" started 600
|
|
done
|