]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: simple scan should ignore tmpfs 36952/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:55:00 +0000 (09:55 -0500)
commite3d96f820eedf8abccf72436895d05641e7aeaca
tree513c62895797e8a86ca616b1a2fe90720b701f30
parentfee7b7e4d8927d79c886fba1b53276175c503b4b
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