]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/ceph_manager.py: improve loggings
authorKamoltat <ksirivad@redhat.com>
Fri, 1 Jul 2022 14:42:40 +0000 (14:42 +0000)
committerKamoltat <ksirivad@redhat.com>
Wed, 3 Aug 2022 19:06:40 +0000 (19:06 +0000)
commit71e2061c02c4102b8c58fef5251aa28443cea609
treecf6574f9ba9cdc95abcbe028390f53632adb8acf
parent8e3d5c7a261c625e79921552665cb8f9b1b7f8f4
qa/tasks/ceph_manager.py: improve loggings

1. When `test_pool_min_size` hit the case where
`not all PGs are active or peered` we dump
each PG state that doesn't have active or
peered state

2. Improve logs message in `inject_pause()`.

3. Add logs for the `test_map_discontinuity()`.

4. In the function, `choose_action()`,
added more logs regarding `chance_down`.

5. Added more loggings to
`primary_affinity()`,
`thrash_pg_upmap_items()`,
`thrash_pg_upmap()`.

6. Make self.is_clean() dump the pgs that
are not active+clean.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 9ed53c82cf5d56bd4555084d3bf1c3c9948c4fe3)
qa/tasks/ceph_manager.py