ceph-ansible/roles/ceph-rgw/tasks
Guillaume Abrioux 518f4f579d rgw: fix multi instances scaleout
When rgw and osd are collocated, the current workflow prevents from
scaling out the radosgw_num_instances parameter when rerunning the
playbook.

The environment file used in the rgw systemd template is rendered when
executing the `ceph-rgw` role but during a new run of the playbook (in
order to scale out rgw instances), handlers are triggered from `ceph-osd`
role which is run before `ceph-rgw`, therefore it tries to start the new
rgw daemon whereas its corresponding environment file hasn't been
rendered yet and fails like following:

```
ceph-radosgw@rgw.ceph4osd3.rgw1.service failed to run 'start-pre' task: No such file or directory
```

This commit moves the tasks generating this file in `ceph-config` role
so it is generated early.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1851906

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 7dd68b9ac1)
2020-07-20 21:23:27 +02:00
..
multisite rgw multisite: add master zone endpoints to zonegroup 2020-06-09 12:30:05 -04:00
common.yml rgw: fix multi instances scaleout 2020-07-20 21:23:27 +02:00
main.yml rgw multisite: enable more than 1 realm per cluster 2020-03-04 14:39:23 -05:00
openstack-keystone.yml improve coding style 2019-05-06 15:09:06 +00:00
pre_requisite.yml ansible: use 'bool' filter on boolean conditionals 2019-06-07 16:05:51 +02:00
rgw_create_pools.yml ceph-rgw: Make sure pool name templates are expanded 2020-06-03 13:18:43 -04:00
start_docker_rgw.yml rgw: fix multi instances scaleout 2020-07-20 21:23:27 +02:00
start_radosgw.yml improve coding style 2019-05-06 15:09:06 +00:00
systemd.yml rgw: refact tasks directory layout 2019-10-01 18:50:51 +02:00