]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: fix device ls error handling
authorJoseph Sawaya <jsawaya@redhat.com>
Thu, 8 Jul 2021 13:08:08 +0000 (09:08 -0400)
committerJoseph Sawaya <jsawaya@redhat.com>
Tue, 13 Jul 2021 17:55:05 +0000 (13:55 -0400)
commita8a12392d993f15314ecb02f9ff8775dca64a91f
treefe494f7d31d3cacd9a12b9e35ad29e639c16f821
parent7a857b8fec69c4b5bb13fb38edc2752160b696af
mgr/rook: fix device ls error handling

This commit removes the check for too many SCs in the cluster
matching the storage class specified in the module option,
which can never happen. It also changes the log.exception
calls to log.error calls.

Signed-off-by: Joseph Sawaya <jsawaya@redhat.com>
src/pybind/mgr/rook/rook_cluster.py