]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
switch_to_containers: umount osd lockbox partition
authorDimitri Savineau <dsavinea@redhat.com>
Mon, 7 Oct 2019 19:47:52 +0000 (15:47 -0400)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 8 Oct 2019 00:57:05 +0000 (00:57 +0000)
commit5f91be8740d94b87b98c24d3ae0aca318059c635
tree6b0e3fcb91a287ceb86b8fe1bc83d6b2d8ebcd2d
parent1d4d49695ef2aace73affadd380a8245199353d0
switch_to_containers: umount osd lockbox partition

When switching from a baremetal deployment to a containerized deployment
we only umount the OSD data partition.
If the OSD is encrypted (dmcrypt: true) then there's an additional
partition (part number 5) used for the lockbox and mount in the
/var/lib/ceph/osd-lockbox/ directory.
Because this partition isn't umount then the containerized OSD aren't
able to start. The partition is still mount by the system and can't be
remount from the container.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1616159
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 19edf707a50c2e86110b2ba0231091b6bd355bd1)
infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml