]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rook: wrap url fetch function in try/except block 26032/head
authorJeff Layton <jlayton@redhat.com>
Fri, 18 Jan 2019 17:15:18 +0000 (12:15 -0500)
committerJeff Layton <jlayton@redhat.com>
Fri, 18 Jan 2019 17:15:18 +0000 (12:15 -0500)
commit36212e5133c559ef3cbaa88a62ad9d9850d4f700
tree022a0f247937b557274312b47a2284eca8b322c2
parente6674c76f4fde875374b31c4c0d629b16368439f
mgr/rook: wrap url fetch function in try/except block

It's possible for the fetch of this object to fail if the service is
being torn down. Handle that situation gracefully, but log a message.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/pybind/mgr/rook/rook_cluster.py