ceph-ansible/roles/ceph-rgw/tasks
Guillaume Abrioux 7dd68b9ac1 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>
2020-07-02 10:39:50 -04:00
..
multisite rgw multisite: add master zone endpoints to zonegroup 2020-06-09 09:50:18 -04:00
common.yml rgw: fix multi instances scaleout 2020-07-02 10:39:50 -04:00
main.yml rgw multisite: enable more than 1 realm per cluster 2020-03-04 12:58:13 -05:00
openstack-keystone.yml improve coding style 2019-04-23 15:37:07 +02:00
pre_requisite.yml ansible: use 'bool' filter on boolean conditionals 2019-06-06 10:21:17 +02:00
rgw_create_pools.yml ceph-rgw: Make sure pool name templates are expanded 2020-05-11 11:51:27 -04:00
start_docker_rgw.yml rgw: fix multi instances scaleout 2020-07-02 10:39:50 -04:00
start_radosgw.yml improve coding style 2019-04-23 15:37:07 +02:00
systemd.yml rgw: refact tasks directory layout 2019-10-01 10:27:51 -04:00