d5782863b8
This role is meant to help moving the HA pcs tasks to pure deployment steps run on the host and not in containers any more. We tested this ansible review with the THT patches at https://review.opendev.org/#/q/status:open+project:openstack/tripleo-heat-templates+branch:master+topic:pcs_host3 Here is the testing protocol that was used in order to verify we did not break anything: 1) Deployed overcloud + tempest 2) Ran a successful redeploy 2.1) Verified that a redeploy restarted containers globally when the configuration for the service changed 2.2) Verified that a redeploy did not restart containers which config did not change 2.3) Verified that the ordering of restarting bundles allows for brownfield deployments (i.e. first the bundle is restarted due to new bind-mounts and then the bundle is restarted with new configuration) 2.4) Verified that converge step after minor update is successful 3) Ran an initial successful minor update 3.1) Verified that the new image is indeed being run by pacemaker (i.e. :pcmklatest tag is applied to the new containers) 3.2) Verified that after converge no container is restarted 4) Re-run a subsequent successful noop minor update 4.1) Verify that containers are not restarted a second time after the cluster is stopped and started Depends-On: I367cf4b65300be8dca0190b9adeab549018d4a56 Change-Id: Iaa7e89f0d25221c2a6ef0b81eb88a6f496f01696 Related-Bug: #1863442
27 lines
1.2 KiB
YAML
27 lines
1.2 KiB
YAML
---
|
|
# Copyright 2020 Red Hat, Inc.
|
|
# All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
|
|
# All variables intended for modification should place placed in this file.
|
|
|
|
# All variables within this role should have a prefix of "tripleo_ha_wrapper"
|
|
tripleo_ha_wrapper_debug: "{{ (ansible_verbosity | int) >= 2 | bool }}"
|
|
tripleo_ha_wrapper_hide_sensitive_logs: true
|
|
tripleo_ha_wrapper_config_basedir: "/var/lib/config-data/puppet-generated"
|
|
tripleo_ha_wrapper_config_suffix: ".previous_run"
|
|
tripleo_ha_wrapper_puppet_modulepath: "/etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules"
|
|
tripleo_ha_wrapper_pcmk_restart_script: "/var/lib/container-config-scripts/pacemaker_restart_bundle.sh"
|