ceph-ansible/roles
Guillaume Abrioux f5ba6d9b01 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>
2020-11-17 09:19:23 -05:00
..
ceph-client common: follow up on #5948 2020-11-02 20:16:36 -05:00
ceph-common add missing boolean filter 2020-09-28 20:45:01 +02:00
ceph-config config: Always use osd_memory_target if set 2020-11-13 09:13:58 +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 container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-dashboard library: add radosgw_user module 2020-10-06 10:07:58 +02:00
ceph-defaults config: Always use osd_memory_target if set 2020-11-13 09:13:58 +01:00
ceph-facts ceph-facts: Fix osd_pool_default_crush_rule fact 2020-11-13 09:36:49 +01:00
ceph-fetch-keys common: drop `fetch_directory` feature 2020-10-21 13:22:16 +02:00
ceph-grafana container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-handler monitor: use quorum_status instead of ceph status 2020-11-03 09:05:33 +01:00
ceph-infra defaults: change default grafana-server name 2020-09-29 07:42:26 +02:00
ceph-iscsi-gw container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-mds container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-mgr containers: modify bindmount option 2020-11-17 09:19:23 -05:00
ceph-mon containers: modify bindmount option 2020-11-17 09:19:23 -05:00
ceph-nfs container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-node-exporter container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-osd container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-prometheus container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-rbd-mirror container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-rgw container: force rm --storage on ExecStartPre 2020-11-16 10:38:40 -05:00
ceph-rgw-loadbalancer Enable HAProxy backend checks for Ceph RGW 2020-08-27 10:57:46 -04:00
ceph-validate ceph_key: remove backward compatibility 2020-10-06 07:59:38 +02:00