ceph-ansible/roles
Guillaume Abrioux 63fa4c9484 containers: modify bindmount option
This commit changes the bind mount option for the mount point
`/var/lib/ceph` in the systemd template for mon and mgr containers. This
is needed in case of collocating mon/mgr with osds using dmcrypt
scenario.
Once mon/mgr got converted to containers, the dmcrypt layer sub mount is
still seen in `/var/lib/ceph`. For some reason it makes the
corresponding devices busy so any other container can't open/close it.
As a result, it prevents osds from starting properly.

Since it only happens on the nodes converted before the OSD play, the idea is
to bind mount `/var/lib/ceph` on mon and mgr with the `rshared` option
so once the sub mount is unmounted, it is propagated inside the
container so it doesn't see that mount point.

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

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit f5ba6d9b01)
2020-12-15 17:33:11 +01:00
..
ceph-client common: follow up on #5948 2020-11-03 09:52:42 +01:00
ceph-common Add CentOS 8 support for rpm deployment 2020-09-10 20:38:34 -04:00
ceph-config Revert "config: Always use osd_memory_target if set" 2020-12-15 17:31:09 +01:00
ceph-container-common container: quote registry password 2020-09-18 15:21:32 -04:00
ceph-container-engine container: add optional http(s) proxy option 2020-09-16 11:32:24 -04:00
ceph-crash ceph_key: set state as optional 2020-12-01 09:53:26 -05:00
ceph-dashboard Revert "Make 'disable ssl for dashboard task' idempotent." 2020-09-11 09:37:23 -04:00
ceph-defaults Revert "config: Always use osd_memory_target if set" 2020-12-15 17:31:09 +01:00
ceph-facts group_vars: remove useless files 2020-12-15 17:30:42 +01:00
ceph-fetch-keys fix broken ceph-fetch-keys role 2020-12-15 17:30:42 +01:00
ceph-grafana container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-handler monitor: use quorum_status instead of ceph status 2020-11-03 14:38:49 -05:00
ceph-infra ceph-infra: include iscsi nodes for logrotate 2020-09-17 14:49:56 -04:00
ceph-iscsi-gw iscsigw: remove `--cap-add=all` from `podman run` cmd 2020-12-01 09:53:15 -05:00
ceph-mds container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-mgr containers: modify bindmount option 2020-12-15 17:33:11 +01:00
ceph-mon containers: modify bindmount option 2020-12-15 17:33:11 +01:00
ceph-nfs container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-node-exporter container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-osd osd: add tag on 'wait for all osd to be up' task 2020-12-15 17:32:09 +01:00
ceph-prometheus alertmanager/prometheus: fix owner/group 2020-12-15 17:32:50 +01:00
ceph-rbd-mirror container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-rgw container: remove `--ignore` from `podman rm` command 2020-12-01 09:53:15 -05:00
ceph-rgw-loadbalancer Enable HAProxy backend checks for Ceph RGW 2020-09-10 20:38:01 -04:00
ceph-validate ansible: bump to ansible 2.9 2020-09-15 13:13:09 -04:00