]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs' 50161/head
authorGuillaume Abrioux <gabrioux@ibm.com>
Sat, 18 Feb 2023 02:05:51 +0000 (03:05 +0100)
committerGuillaume Abrioux <gabrioux@redhat.com>
Sat, 18 Feb 2023 19:57:21 +0000 (20:57 +0100)
commit48a9c2de4b5deac9c6522ebecfeb6765fd2bd329
treebed393349f32a099aa1ca21a9e6f586a9207fc51
parentcb1f1c57014faefed03441d075ca26f45510e615
ceph-volume: legacy_encrypted() shouldn't call lsblk() when device is 'tmpfs'

When the device variable is rebound and become 'tmpfs', lsblk() shouldn't be called.

Fixes: https://tracker.ceph.com/issues/58784
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
(cherry picked from commit c0369fbecee1a4d71004ee5e72ee0e2526d0fcf2)
src/ceph-volume/ceph_volume/util/disk.py
src/ceph-volume/ceph_volume/util/encryption.py