mirror of https://github.com/ceph/ceph-ansible.git
63fa4c9484
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
|
||
---|---|---|
.. | ||
ceph-client | ||
ceph-common | ||
ceph-config | ||
ceph-container-common | ||
ceph-container-engine | ||
ceph-crash | ||
ceph-dashboard | ||
ceph-defaults | ||
ceph-facts | ||
ceph-fetch-keys | ||
ceph-grafana | ||
ceph-handler | ||
ceph-infra | ||
ceph-iscsi-gw | ||
ceph-mds | ||
ceph-mgr | ||
ceph-mon | ||
ceph-nfs | ||
ceph-node-exporter | ||
ceph-osd | ||
ceph-prometheus | ||
ceph-rbd-mirror | ||
ceph-rgw | ||
ceph-rgw-loadbalancer | ||
ceph-validate |