
We want to disable Redis by default in new deployments, without impacting upgrade of existing deployments. Add a pre-check during upgrade and bail out if Redis is not enabled explicitely during upgrade and if the resource already exists in pacemaker. The pre-check is performed prior to os upgrade so that pacemaker is still installed and the cluster can still be inspected. Tested as follows: . FFU with redis-bundle not removed fails as expected . FFU with redis-bundle removed finishes . FFU when redis service is enabled post-FFU always finishes . re-running os-upgrade is idempotent Change-Id: Icd7503c9b9b5edc7ecfe20e6217fb8efeebf3140 Closes-Bug: #1872645
25 lines
1.4 KiB
YAML
25 lines
1.4 KiB
YAML
# Environment file to deploy the HA services via docker
|
|
# Add it *after* -e docker.yaml:
|
|
# ...deploy..-e docker.yaml -e docker-ha.yaml
|
|
resource_registry:
|
|
# Pacemaker runs on the host
|
|
# FIXME(bogdando): switch it, once it is containerized
|
|
OS::TripleO::Services::Pacemaker: ../deployment/pacemaker/pacemaker-baremetal-puppet.yaml
|
|
# FIXME(bogdando): switch it, once it is containerized
|
|
OS::TripleO::Services::PacemakerRemote: ../deployment/pacemaker/pacemaker-remote-baremetal-puppet.yaml
|
|
OS::TripleO::Tasks::ControllerPreConfig: OS::Heat::None
|
|
OS::TripleO::Tasks::ControllerPostConfig: OS::Heat::None
|
|
|
|
# HA Containers managed by pacemaker
|
|
OS::TripleO::Services::CinderVolume: ../deployment/cinder/cinder-volume-pacemaker-puppet.yaml
|
|
OS::TripleO::Services::Clustercheck: ../deployment/pacemaker/clustercheck-container-puppet.yaml
|
|
OS::TripleO::Services::HAproxy: ../deployment/haproxy/haproxy-pacemaker-puppet.yaml
|
|
OS::TripleO::Services::MySQL: ../deployment/database/mysql-pacemaker-puppet.yaml
|
|
OS::TripleO::Services::OsloMessagingRpc: ../deployment/rabbitmq/rabbitmq-messaging-rpc-pacemaker-puppet.yaml
|
|
OS::TripleO::Services::OsloMessagingNotify: ../deployment/rabbitmq/rabbitmq-messaging-notify-shared-puppet.yaml
|
|
OS::TripleO::Services::OVNDBs: ../deployment/ovn/ovn-dbs-pacemaker-puppet.yaml
|
|
|
|
parameter_defaults:
|
|
ContainerCli: podman
|
|
ClusterFullTag: true
|