]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: strip _dmcrypt suffix in simple scan json output 33722/head
authorJan Fajerski <jfajerski@suse.com>
Wed, 5 Feb 2020 05:01:16 +0000 (06:01 +0100)
committerJan Fajerski <jfajerski@suse.com>
Wed, 18 Mar 2020 13:22:27 +0000 (14:22 +0100)
commitf46f7392cfd4120f8b4413fd27cfc49f24bc2088
tree95b6e784d9c9020c9494b715d102069d290988c9
parent99aa8e0068f5ef0638dba94d375970a6cea2a13d
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