]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: look for rotational data in lsblk 27723/head
authorAndrew Schoen <aschoen@redhat.com>
Thu, 14 Mar 2019 20:14:40 +0000 (15:14 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 9 Jul 2019 19:42:44 +0000 (14:42 -0500)
commitd53aafeb94699535e5b872b8a443c12ee52d090e
treefee3711a7bf2921f6e1184280bd183eac17d0e1f
parent6e9f39bad46c0c93ec91ab56d0b86b8bffb0bc3a
ceph-volume: look for rotational data in lsblk

Also ask lsblk if a device is rotational if no information
is found in /sys/block, default to True if nothing is found.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1666822

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit de748f9aef894b247622ee5dc49c1fbc31097ad0)
src/ceph-volume/ceph_volume/tests/util/test_device.py
src/ceph-volume/ceph_volume/util/device.py