Skip to content

test: disable mgr/mirroring for test_mirroring_init_failure_with_recovery test#40465

Merged
batrick merged 3 commits intoceph:masterfrom
vshankar:bz-50020
Apr 6, 2021
Merged

test: disable mgr/mirroring for test_mirroring_init_failure_with_recovery test#40465
batrick merged 3 commits intoceph:masterfrom
vshankar:bz-50020

Conversation

@vshankar
Copy link
Contributor

Fixes: https://tracker.ceph.com/issues/50020

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

…overy` 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>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
… test

The test could fail at times since the mirror daemon periodically
retries the failed state for a mirror enabled file system. This
flips the status reported via asok interface.

Fixes: http://tracker.ceph.com/issues/50020
Signed-off-by: Venky Shankar <vshankar@redhat.com>
@vshankar vshankar added the cephfs Ceph File System label Mar 29, 2021
@vshankar vshankar requested a review from a team March 29, 2021 07:19
@github-actions github-actions bot added the tests label Mar 29, 2021
@batrick
Copy link
Member

batrick commented Apr 6, 2021

https://pulpito.ceph.com/pdonnell-2021-04-01_00:45:34-fs-wip-pdonnell-testing-20210331.222326-distro-basic-smithi/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants