ceph-ansible/roles
Guillaume Abrioux d65c7b4035 config: reset num_osds
When collocating OSDs with other daemon, `num_osds` is incorrectly calculated
because `ceph-config` is called multiple times.

Indeed, the following code:
```
num_osds: "{{ lvm_list.stdout | default('{}') | from_json | length | int + num_osds | default(0) | int }}"
```

makes `num_osds` be incremented each time `ceph-config` is called.

We have to reset it in order to get the correct number of expected OSDs.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 31a0f2653d)
2021-03-17 17:35:19 +01:00
..
ceph-client ceph-client: use group_by instead of add_host 2020-12-01 10:58:48 +01:00
ceph-common ceph-common: enable rhcs tools repo for monitoring 2021-02-10 08:17:11 +01:00
ceph-config config: reset num_osds 2021-03-17 17:35:19 +01:00
ceph-container-common container: quote registry password 2020-09-18 11:14:00 -04:00
ceph-container-engine container: remove container_binding_name variable 2020-10-14 10:32:31 +02:00
ceph-crash Path for ceph config missing in crash template 2021-01-06 16:50:18 +01:00
ceph-dashboard dashboard: add missing parameter in `ceph_cmd` 2021-03-03 14:12:46 +01:00
ceph-defaults Fix typo and broken link for documenting RGW frontends 2021-03-03 14:17:31 +01:00
ceph-facts ceph-facts: set rgw_instances_all fact once 2021-02-01 13:49:12 +01:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-14 17:36:17 +01:00
ceph-grafana monitoring: use config_template module for config 2020-12-12 06:55:27 +01:00
ceph-handler rgw: avoid useless call to ceph-rgw 2021-01-28 14:37:14 -05:00
ceph-infra defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
ceph-iscsi-gw iscsigw: remove `--cap-add=all` from `podman run` cmd 2020-11-30 12:24:11 -05:00
ceph-mds container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-mgr container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-mon ceph-mon: add ExecStartPre docker stop to systemd 2021-01-29 09:03:34 +01:00
ceph-nfs container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-osd ceph-osd: add prepare_osd tag to lvm-batch scenario 2021-03-12 09:19:55 +01:00
ceph-prometheus monitoring: use config_template module for config 2020-12-12 06:55:27 +01:00
ceph-rbd-mirror container: remove `--ignore` from `podman rm` command 2020-11-30 12:24:11 -05:00
ceph-rgw rgw: fix a typo in multisite 2021-02-10 07:01:21 +01:00
ceph-rgw-loadbalancer ceph-rgw-loadbalancer: Fix keepalived master selection 2021-01-12 11:03:12 +01:00
ceph-validate validate: fix a typo 2021-02-06 00:34:14 +01:00