]> 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' 50162/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:58:05 +0000 (20:58 +0100)
commit797cc5a9056fe10e222784fdfb068e8dfd35b865
tree4851dfaa137f3cd4716033bb3ea22fc12cbcfca8
parentc10b5ea80ac299fcd7df22c7afcfaa8eac01d864
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