Project

General

Profile

Actions

Bug #45633

closed
MF MF

mgr/status: metadata is fetched async

Bug #45633: mgr/status: metadata is fetched async

Added by Michael Fritch over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-4312-gaec6316066
Released In:
v16.2.0~1708
Upkeep Timestamp:
2025-07-14T19:43:20+00:00

Description

There is a timing windonw during mds rejoin etc where the metadata is being added/removed and a NoneType can be returned.

Which results in brief tracebacks during `ceph fs status`

$ ceph fs status
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1171, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/status/module.py", line 338, in handle_command
    return self.handle_fs_status(cmd)
  File "/usr/share/ceph/mgr/status/module.py", line 225, in handle_fs_status
    mds_versions[metadata.get('ceph_version', "unknown")].append(standby['name'])
AttributeError: 'NoneType' object has no attribute 'get'
$ ceph fs status
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1171, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/status/module.py", line 340, in handle_command
    return self.handle_fs_status(cmd)
  File "/usr/share/ceph/mgr/status/module.py", line 116, in handle_fs_status
    mds_versions[metadata.get('ceph_version', "unknown")].append(info['name'])
AttributeError: 'NoneType' object has no attribute 'get'

Related issues 2 (0 open — 2 closed)

Copied to mgr - Backport #46958: octopus: mgr/status: metadata is fetched asyncResolvedNathan Cutler

Actions
Copied to mgr - Backport #47737: nautilus: mgr/status: metadata is fetched asyncResolvedNathan Cutler

Actions

MF Updated by Michael Fritch over 6 years ago Actions #1

  • Pull request ID set to 35161

MF Updated by Michael Fritch over 6 years ago Actions #2

  • Status changed from New to Fix Under Review

SW Updated by Sebastian Wagner over 6 years ago Actions #3

  • Project changed from Orchestrator to mgr

NC Updated by Nathan Cutler over 6 years ago Actions #4

  • Backport set to octopus

PD Updated by Patrick Donnelly over 6 years ago Actions #5

  • Target version set to v16.0.0
  • Source set to Development

PD Updated by Patrick Donnelly over 6 years ago Actions #6

  • Status changed from Fix Under Review to Pending Backport

NC Updated by Nathan Cutler over 6 years ago Actions #7

  • Copied to Backport #46958: octopus: mgr/status: metadata is fetched async added

NC Updated by Nathan Cutler over 6 years ago Actions #8

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

PD Updated by Patrick Donnelly about 6 years ago Actions #9

  • Status changed from Resolved to Pending Backport
  • Backport changed from octopus to octopus,nautilus

Problem also exists in Nautilus.

NC Updated by Nathan Cutler about 6 years ago Actions #10

  • Copied to Backport #47737: nautilus: mgr/status: metadata is fetched async added

NC Updated by Nathan Cutler about 6 years ago Actions #11

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

UB Updated by Upkeep Bot over 1 year ago Actions #12

  • Merge Commit set to aec63160669d3c891a7bfa0c8bfd7dfe690af0a3
  • Fixed In set to v16.0.0-4312-gaec6316066
  • Released In set to v16.2.0~1708
  • Upkeep Timestamp set to 2025-07-14T19:43:20+00:00
Actions

Also available in: PDF Atom