]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test: disable mgr/mirroring for `test_mirroring_init_failure_with_recovery` test
authorVenky Shankar <vshankar@redhat.com>
Mon, 29 Mar 2021 06:44:00 +0000 (02:44 -0400)
committerVenky Shankar <vshankar@redhat.com>
Mon, 29 Mar 2021 06:53:16 +0000 (02:53 -0400)
commitc0df8cf78d73181c7c665dd15fd862d9fb0cf5f5
tree0fd4df30524143652460e649069f38894df04138
parentb85e92fee82f63bbbf1bf7889af8aaff03cb44c8
test: disable mgr/mirroring for `test_mirroring_init_failure_with_recovery` test

The test simulates failures by enabling mirroring for file system
via mon interface. Doing this does not create `cephfs-mirror` index
obejct that trips the mirror daemon to report failed status via
asok interface -- so that the test can verify this.

However, mgr/mirroring module gets to know that mirroring is
enabled for this file system (via FSMap) and tried to load the
directory map, but fails to do so and throws a backtrace in the
logs. Fix this by disabling mgr/mirroring before mirroring is
enabled via mon command.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/test_mirroring.py