]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
osd: change lvm bindmount v3.2.48
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 5 Aug 2020 08:27:23 +0000 (10:27 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 5 Aug 2020 13:23:39 +0000 (09:23 -0400)
commit8a154ae14a3eb24322b498a2afce19ea4d3672c0
tree8880e977158a1d1a7c24ba8ab33a8bf30802aff9
parent70469a69e49438661d6c1c2a3c5ab934ae9f0f71
osd: change lvm bindmount

This commit makes the bindmount a bit more generic, otherwise it
currently makes the OSDs failing to start in an OSP FFU upgrade
(with RHEL7 > RHEL8 OS upgrade).
docker2podman playbook is run from ceph-ansible stable-3.2 branch
against RHEL7 nodes where `/var/run/lvmetad.socket` exists but once the
system is upgraded to RHEL8, this socket doesn't exist anymore and
prevent OSDs from starting after the reboot.

As a workaround we can make this bindmount a bit more generic like what
is done in `stable-4.0` branch by mounting `/run/lvm` instead.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1866252
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-osd/tasks/start_osds.yml
roles/ceph-osd/templates/ceph-osd-run.sh.j2