Project

General

Profile

Actions

Bug #51292

closed

File system None does not exist in the map

Added by Kefu Chai almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_f0b0ad0edc5c0086ebe8886a9d8720792d57839f/teuthology/contextutil.py", line 33, in nested
    yield vars
  File "/home/teuthworker/src/git.ceph.com_ceph-c_caf4b16347f51d8eda94719f0f15044601a8e777/qa/tasks/cephadm.py", line 1476, in task
    healthy(ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_caf4b16347f51d8eda94719f0f15044601a8e777/qa/tasks/ceph.py", line 1464, in healthy
    ceph_fs.wait_for_daemons(timeout=300)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_caf4b16347f51d8eda94719f0f15044601a8e777/qa/tasks/cephfs/filesystem.py", line 1013, in wait_for_daemons
    if self.are_daemons_healthy(status=status, skip_max_mds_check=skip_max_mds_check):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_caf4b16347f51d8eda94719f0f15044601a8e777/qa/tasks/cephfs/filesystem.py", line 868, in are_daemons_healthy
    mds_map = self.get_mds_map(status=status)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_caf4b16347f51d8eda94719f0f15044601a8e777/qa/tasks/cephfs/filesystem.py", line 770, in get_mds_map
    return status.get_fsmap(self.id)['mdsmap']
  File "/home/teuthworker/src/git.ceph.com_ceph-c_caf4b16347f51d8eda94719f0f15044601a8e777/qa/tasks/cephfs/filesystem.py", line 118, in get_fsmap
    raise FSMissing(fscid)
tasks.cephfs.filesystem.FSMissing: File system None does not exist in the map

the output of command

ceph fs dump

was


{
  "epoch": 4,
  "default_fscid": -1,
  "compat": {
    "compat": {},
    "ro_compat": {},
    "incompat": {
      "feature_1": "base v0.20",
      "feature_2": "client writeable ranges",
      "feature_3": "default file layouts on dirs",
      "feature_4": "dir inode in separate object",
      "feature_5": "mds uses versioned encoding",
      "feature_6": "dirfrag is stored in omap",
      "feature_8": "no anchor table",
      "feature_9": "file layout v2",
      "feature_10": "snaprealm v2" 
    }
  },
  "feature_flags": {
    "enable_multiple": true,
    "ever_enabled_multiple": true
  },
  "standbys": [
    {
      "gid": 14331,
      "name": "c",
      "rank": -1,
      "incarnation": 0,
      "state": "up:standby",
      "state_seq": 1,
      "addr": "172.21.15.115:6813/73532894",
      "addrs": {
        "addrvec": [
          {
            "type": "v2",
            "addr": "172.21.15.115:6812",
            "nonce": 73532894
          },
          {
            "type": "v1",
            "addr": "172.21.15.115:6813",
            "nonce": 73532894
          }
        ]
      },
      "join_fscid": -1,
      "export_targets": [],
      "features": 4540138303579357000,
      "flags": 0,
      "epoch": 3
    },
    {
      "gid": 24226,
      "name": "a",
      "rank": -1,
      "incarnation": 0,
      "state": "up:standby",
      "state_seq": 1,
      "addr": "172.21.15.115:6811/4276757094",
      "addrs": {
        "addrvec": [
          {
            "type": "v2",
            "addr": "172.21.15.115:6810",
            "nonce": 4276757094
          },
          {
            "type": "v1",
            "addr": "172.21.15.115:6811",
            "nonce": 4276757094
          }
        ]
      },
      "join_fscid": -1,
      "export_targets": [],
      "features": 4540138303579357000,
      "flags": 0,
      "epoch": 2
    },
    {
      "gid": 24269,
      "name": "b",
      "rank": -1,
      "incarnation": 0,
      "state": "up:standby",
      "state_seq": 1,
      "addr": "172.21.15.137:6825/3508411410",
      "addrs": {
        "addrvec": [
          {
            "type": "v2",
            "addr": "172.21.15.137:6824",
            "nonce": 3508411410
          },
          {
            "type": "v1",
            "addr": "172.21.15.137:6825",
            "nonce": 3508411410
          }
        ]
      },
      "join_fscid": -1,
      "export_targets": [],
      "features": 4540138303579357000,
      "flags": 0,
      "epoch": 4
    }
  ],
  "filesystems": []
}

/a/kchai-2021-06-19_14:17:34-rados-wip-kefu-testing2-2021-06-19-2054-distro-basic-smithi/6179891/

Actions #1

Updated by Kefu Chai almost 3 years ago

we started to have this issue sine https://github.com/ceph/ceph/pull/41827

Actions #2

Updated by Sage Weil almost 3 years ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil
Actions #3

Updated by Sage Weil almost 3 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 41990
Actions #4

Updated by Kefu Chai almost 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF