]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: strip _dmcrypt suffix in simple scan json output 33619/head
authorJan Fajerski <jfajerski@suse.com>
Wed, 5 Feb 2020 05:01:16 +0000 (06:01 +0100)
committerJan Fajerski <jfajerski@suse.com>
Fri, 28 Feb 2020 14:02:58 +0000 (15:02 +0100)
commitcbc2d77569582cb8d70cf1787ddcf360c532bd83
treef498094616941601052db9f1d3172d09a574c20f
parentac043ae1bd874b725b803ace73921d02b796055d
ceph-volume: strip _dmcrypt suffix in simple scan json output

LUKS encrypted OSDs name their block* files with a _dmcrypt suffix.
activate fails on json files like this. Stripping this suffix in scan
fixes this.

Fixes: https://tracker.ceph.com/issues/43966
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 2ddf76d118d77659c590ea076d34ce9a8e351a86)
src/ceph-volume/ceph_volume/devices/simple/scan.py