]> 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'
authorGuillaume Abrioux <gabrioux@ibm.com>
Sat, 18 Feb 2023 02:05:51 +0000 (03:05 +0100)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 5 Apr 2023 22:34:38 +0000 (22:34 +0000)
commita4dce195cbcac3127c8decd6fd92b91032d75934
treec633060c62e2a111824009fae921b7cec196f3df
parent6c9e8cfc913f259c7412327e7c5fd4c5851e5ffc
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)
(cherry picked from commit 797cc5a9056fe10e222784fdfb068e8dfd35b865)
src/ceph-volume/ceph_volume/util/disk.py
src/ceph-volume/ceph_volume/util/encryption.py