]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: simple scan should ignore tmpfs 36953/head
authorAndrew Schoen <aschoen@redhat.com>
Fri, 4 Sep 2020 14:44:49 +0000 (09:44 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Fri, 4 Sep 2020 14:56:34 +0000 (09:56 -0500)
commit084b252dbf78e908408ef882de7f2e0af494652a
tree7a0047377f9914013a963b23bfb75b2516e336bb
parentf3060fec12a6eab020c63b9ba000c966ea31c78c
ceph-volume: simple scan should ignore tmpfs

When simple scan is ran against a ceph-volume
OSD, util.encryption.legacy_encrypted returns
tmpfs. We want to avoid creating a Device
object with tmpfs and ignore the OSD as it's
not a ceph-disk created OSD.

Resolves: rhbz#1872983

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit ff4b7bfa573e95acf4cdc01ccf2881f0935e91d6)
src/ceph-volume/ceph_volume/devices/simple/scan.py