]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: fix inventory with device arg 48126/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Fri, 9 Sep 2022 13:00:20 +0000 (15:00 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Thu, 15 Sep 2022 15:19:58 +0000 (17:19 +0200)
commit54bc437c19639154737896d0bf3de99e827dafbb
treee812c24a78fdbca33cd922d49c4149e674c51cef
parent2a08bf128ff1ff559c9771b2fd0f0a59a72367b7
ceph-volume: fix inventory with device arg

there's no need to go through all devices present when
a device is passed to the `ceph-volume inventory` command.

Fixes: https://tracker.ceph.com/issues/57085
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 4b3d174f8879bce8dd57dfda9bc19a310a46d0e8)
src/ceph-volume/ceph_volume/tests/conftest.py
src/ceph-volume/ceph_volume/util/device.py
src/ceph-volume/ceph_volume/util/disk.py