diff --git a/infrastructure-playbooks/filestore-to-bluestore.yml b/infrastructure-playbooks/filestore-to-bluestore.yml index 00a0c52f4..9b2415824 100644 --- a/infrastructure-playbooks/filestore-to-bluestore.yml +++ b/infrastructure-playbooks/filestore-to-bluestore.yml @@ -84,6 +84,24 @@ - "{{ partlabel.results }}" when: item.1.stdout == 'ceph data' + - name: umount osd data + mount: + path: "/var/lib/ceph/osd/{{ cluster }}-{{ (item.0.stdout | from_json).whoami }}" + state: unmounted + with_together: + - "{{ simple_scan.results }}" + - "{{ partlabel.results }}" + when: item.1.stdout == 'ceph data' + + - name: umount osd lockbox + mount: + path: "/var/lib/ceph/osd-lockbox/{{ (item.0.stdout | from_json).data.uuid }}" + state: unmounted + with_together: + - "{{ simple_scan.results }}" + - "{{ partlabel.results }}" + when: item.1.stdout == 'ceph data' + - name: ensure dmcrypt for data device is closed command: cryptsetup close "{{ (item.0.stdout | from_json).data.uuid }}" with_together: