]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph_manager.py: dump more useful info before failing 35544/head
authorNeha Ojha <nojha@redhat.com>
Fri, 5 Jun 2020 23:32:38 +0000 (23:32 +0000)
committerNeha Ojha <nojha@redhat.com>
Thu, 11 Jun 2020 15:22:04 +0000 (15:22 +0000)
commit4deba4e8bd0fea34f9e4ec6a6b96e64ee231d06f
tree1ef3bc77412dc98ad037c33a4ea6f9686b5bc6be
parentf1c2dd07851a42ebe66e6772701fa443cdd0e77b
qa/tasks/ceph_manager.py: dump more useful info before failing

Add helpers that dump information only about PGs that haven't reached
the desired state when we fail. Previously we dumped the output of
"ceph pg dump" before failing, which prints a lot of unnecessary information
about PGs that are not responsible for the failure, making debugging harder.

Also, try to make the failure messages distinct.

Signed-off-by: Neha Ojha <nojha@redhat.com>
qa/tasks/ceph_manager.py