tripleo-heat-templates/releasenotes/notes/redis_disabled_by_default-9992b2bae9b149cd.yaml
Damien Ciabrini 4236449451 Check that redis is removed prior to FFU
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
2021-12-16 13:59:23 +01:00

8 lines
270 B
YAML

---
upgrade:
- |
Redis is now disabled by default in new deployments, so existing
deployments have to delete the redis resource in pacemaker prior to
upgrade, or include the new environment file ha-redis.yaml if they
still implicitely depend on redis.