]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph_manager.py: dump more useful info before failing 35550/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 22:42:03 +0000 (22:42 +0000)
commit809a97dd4eb611dc9787a1509005350f31c8df26
treea5eebac22938ac5a9f7355840d477863d605bfec
parent8b28e21f39eb16080d8525552fbf8b70de13a7e8
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>
(cherry picked from commit 4deba4e8bd0fea34f9e4ec6a6b96e64ee231d06f)
qa/tasks/ceph_manager.py