Project

General

Profile

Actions

Bug #62344

open

tools/cephfs_mirror: mirror daemon logs reports initialisation failure for fs already deleted post test case execution

Added by Dhairya Parmar 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
fsck/damage handling
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
cephfs-mirror
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This is hard to reproduce and for now need to perform some steps manually and run a qa test case using vstart_runnner

Steps to reproduce:

1) ./bin/cephfs-mirror --id mirror --cluster ceph -f --debug_cephfs-mirror=20
2) ./bin/ceph fs volume create a ; ./bin/ceph fs volume create b ; ./bin/ceph fs volume create c ; ./bin/ceph fs volume create d ; ./bin/ceph fs volume create e
3) ./bin/ceph mgr module enable mirroring 
4) ./bin/ceph fs snapshot mirror enable a ; ./bin/ceph fs snapshot mirror enable b; ./bin/ceph fs snapshot mirror enable c; ./bin/ceph fs snapshot mirror enable d; ./bin/ceph fs snapshot mirror enable e 
5) ./bin/ceph fs snapshot mirror peer_add a client.mirror_remote@ceph b; ./bin/ceph fs snapshot mirror peer_add c client.mirror_remote@ceph d
3) source ../../venv/bin/activate ; python ../qa/tasks/vstart_runner.py tasks.cephfs.test_mirroring.TestMirroring

wait for a few minutes and those line lines are in the logs after nothing is being executed:

2023-08-04T17:49:34.112+0530 7f3be84b36c0 -1 cephfs::mirror::Mirror handle_enable_mirroring: failed to initialize FSMirror for filesystem={fscid=3, fs_name=c}: (2) No such file or directory
2023-08-04T17:49:34.112+0530 7f3be84b36c0 -1 cephfs::mirror::Mirror handle_enable_mirroring: failed to initialize FSMirror for filesystem={fscid=4, fs_name=d}: (2) No such file or directory
2023-08-04T17:49:34.112+0530 7f3be84b36c0 -1 cephfs::mirror::Mirror handle_enable_mirroring: failed to initialize FSMirror for filesystem={fscid=2, fs_name=b}: (2) No such file or directory

Attaching mirror and vstart_runner logs


Files

vstart_runner_log (12.6 KB) vstart_runner_log Dhairya Parmar, 08/07/2023 12:40 PM
mirror_log (637 KB) mirror_log Dhairya Parmar, 08/07/2023 12:40 PM
Actions #2

Updated by Venky Shankar 9 months ago

  • Assignee set to Rishabh Dave
  • Backport set to reef,quincy,pacific
Actions

Also available in: Atom PDF