ceph-ansible/roles
Guillaume Abrioux bb515496ca 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-11-23 10:09:28 -05:00
..
ceph-agent remove ceph-agent role and references 2019-06-17 14:42:08 -04:00
ceph-client clients: move dummy container creation 2020-04-27 13:31:52 -04:00
ceph-common common: do not override ceph_release when using custom repo 2019-10-17 20:10:57 -04:00
ceph-common-coreos don't use "include" to include tasks 2018-09-27 17:53:40 +02:00
ceph-config config: fix external client scenario 2020-02-03 10:20:19 +01:00
ceph-defaults facts: refact `ceph_uid` fact 2020-09-21 13:49:12 -04:00
ceph-docker-common infra: introduce docker to podman playbook 2020-07-07 12:11:09 -04:00
ceph-facts facts: refact `ceph_uid` fact 2020-09-21 13:49:12 -04:00
ceph-fetch-keys ceph-fetch-keys: refact 2018-10-17 11:26:11 +00:00
ceph-handler infra: introduce docker to podman playbook 2020-07-07 12:11:09 -04:00
ceph-infra Support comma-delimited subnets in firewall 2019-11-01 11:00:18 -04:00
ceph-iscsi-gw infra: introduce docker to podman playbook 2020-07-07 12:11:09 -04:00
ceph-mds infra: introduce docker to podman playbook 2020-07-07 12:11:09 -04:00
ceph-mgr containers: modify bindmount option 2020-11-23 10:09:28 -05:00
ceph-mon containers: modify bindmount option 2020-11-23 10:09:28 -05:00
ceph-nfs infra: introduce docker to podman playbook 2020-07-07 12:11:09 -04:00
ceph-osd osd: add missing param to the container cli calls 2020-10-07 11:38:45 -04:00
ceph-rbd-mirror infra: introduce docker to podman playbook 2020-07-07 12:11:09 -04:00
ceph-restapi Change docker_container parameter network to network_mode 2019-03-18 13:23:10 +00:00
ceph-rgw infra: introduce docker to podman playbook 2020-07-07 12:11:09 -04:00
ceph-validate/tasks typo: updating type check on rc 2020-04-23 11:36:59 -04:00
ceph.ceph-common rollback previous change for ceph-common change 2016-03-02 18:44:36 +01:00
ceph.ceph-docker-common ceph-docker-common: add symlink to ceph.ceph-docker-common 2017-01-16 10:42:42 -06:00