Deploying cinder-backup without pacemaker in Active/Active mode
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| tripleo |
Fix Committed
|
Medium
|
Alan Bishop | ||
Bug Description
Description
===========
Currently we are deploying cinder-backup in Active/Passive mode under pacemaker; refer[1].
By default, In the current deployments because of Active/Passive mode the Cinder-backup status shows down on the other two controllers(Passive instances)[2].
It has been possible to do deploy cinder-backup in Active/Active from many releases(mitika based on information gathered from some storage experts).
With this launchpad we would like to track :-
* Deploying cinder-backup without pacemaker in Active/Active mode.
* Also, We need to cope on upgrade with deployments where it was previously managed by pacemaker
Steps to reproduce
==================
* Deploy an environment with cinder-backup and you will find cinder-backup under pacemaker in Active/backup
~~~
openstack overcloud deploy --templates -e /usr/share/
~~~
Expected result
===============
Cinder-backup in Active/Active mode and not under pacemaker.
Actual result
=============
Default deployment results in cinder-backup running in Active/backup under pacemaker
Logs & Configs
==============
[1] https:/
~~~
resource_registry:
OS::TripleO:
# For non-pcmk managed implementation
# OS::TripleO:
~~~
[2]
~~~
# pcs status
.
.
podman container: openstack-
openstack-
+------
| Binary | Host | Zone | Status | State | Updated At |
+------
| cinder-scheduler | controller00 | nova | enabled | up | 2019-10-
| cinder-scheduler | controller01 | nova | enabled | up | 2019-10-
| cinder-scheduler | controller02 | nova | enabled | up | 2019-10-
| cinder-volume | hostgroup@
| cinder-backup | controller00 | nova | enabled | down | 2019-10-
| cinder-backup | controller01 | nova | enabled | up | 2019-10-
| cinder-backup | controller02 | nova | enabled | down | 2019-10-
+------
~~~
| Changed in tripleo: | |
| status: | New → Triaged |
| importance: | Undecided → Medium |
| assignee: | nobody → Alan Bishop (alan-bishop) |
| milestone: | none → ussuri-3 |
| Changed in tripleo: | |
| milestone: | ussuri-3 → ussuri-rc3 |
| Changed in tripleo: | |
| milestone: | ussuri-rc3 → victoria-1 |
| Changed in tripleo: | |
| milestone: | victoria-1 → victoria-3 |
| Changed in tripleo: | |
| milestone: | victoria-3 → wallaby-rc1 |
| status: | Triaged → Fix Committed |

[1] just merged, and it makes it possible to switch the cinder-backup service from active/passive under pacemaker to active/active. I forgot about this LP, and neglected to reference it in the commit message.
To facilitate running A/A there's a new environments/ cinder- backup- active- active. yaml file [2].
[1] https:/ /review. opendev. org/c/openstack /tripleo- heat-templates/ +/786722 /opendev. org/openstack/ tripleo- heat-templates/ src/branch/ master/ environments/ cinder- backup- active- active. yaml
[2] https:/