Project

General

Profile

Bug #42494

ceph: config show can't locate mds

Added by Patrick Donnelly 9 months ago. Updated 8 months ago.

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

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature:

Description

pdonnell@senta02 ~/ceph/build$ bin/ceph fs dump
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-10-25T17:31:55.967-0400 7f2469629700 -1 WARNING: all dangerous and experimental features are enabled.
2019-10-25T17:31:56.023-0400 7f2469629700 -1 WARNING: all dangerous and experimental features are enabled.
bdumped fsmap epoch 4
e4
enable_multiple, ever_enabled_multiple: 0,0
compat: compat={},rocompat={},incompat={1=base v0.20,2=client writeable ranges,3=default file layouts on dirs,4=dir inode in separate object,5=mds uses versioned encoding,6=dirfrag is stored in omap,8=no anchor table,9=file layout v2,10=snaprealm v2}
legacy client fscid: 1

Filesystem 'a' (1)
fs_name a
epoch   4
flags   12
created 2019-10-25T17:31:29.752153-0400
modified        2019-10-25T17:31:30.777874-0400
tableserver     0
root    0
session_timeout 60
session_autoclose       300
max_file_size   1099511627776
min_compat_client       0 (unknown)
last_failure    0
last_failure_osd_epoch  0
compat  compat={},rocompat={},incompat={1=base v0.20,2=client writeable ranges,3=default file layouts on dirs,4=dir inode in separate object,5=mds uses versioned encoding,6=dirfrag is stored in omap,8=no anchor table,9=file layout v2,10=snaprealm v2}
max_mds 1
in      0
up      {0=4225}
failed  
damaged 
stopped 
data_pools      [2]
metadata_pool   1
inline_data     disabled
balancer
standby_count_wanted    0
4225:   [v2:127.0.0.1:6902/1114263816,v1:127.0.0.1:6903/1114263816] 'a' mds.0.3 up:active seq 3

pdonnell@senta02 ~/ceph/build$ bin/ceph config show mds.a
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-10-25T17:32:01.083-0400 7f5ba6d81700 -1 WARNING: all dangerous and experimental features are enabled.
2019-10-25T17:32:01.135-0400 7f5ba6d81700 -1 WARNING: all dangerous and experimental features are enabled.
Error ENOENT: no config state for daemon mds.a
pdonnell@senta02 ~/ceph/build$ bin/ceph config show mds
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-10-25T17:32:03.759-0400 7f7ecbd1d700 -1 WARNING: all dangerous and experimental features are enabled.
2019-10-25T17:32:03.815-0400 7f7ecbd1d700 -1 WARNING: all dangerous and experimental features are enabled.
Error EINVAL: invalid daemon name: use <type>.<id>
pdonnell@senta02 ~/ceph/build$ bin/ceph config set mds.a debug_mds 5
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-10-25T17:32:16.035-0400 7f32fd3bd700 -1 WARNING: all dangerous and experimental features are enabled.
2019-10-25T17:32:16.103-0400 7f32fd3bd700 -1 WARNING: all dangerous and experimental features are enabled.
pdonnell@senta02 ~/ceph/build$ bin/ceph config show mds.a
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-10-25T17:32:18.743-0400 7f94082a7700 -1 WARNING: all dangerous and experimental features are enabled.
2019-10-25T17:32:18.795-0400 7f94082a7700 -1 WARNING: all dangerous and experimental features are enabled.
Error ENOENT: no config state for daemon mds.a
pdonnell@senta02 ~/ceph/build$ bin/ceph daemon mds.a config get debug_mds
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
{
    "debug_mds": "5/5" 
}

Other daemons work:

pdonnell@senta02 ~/ceph/build$ bin/ceph config show mon.a
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2019-10-25T17:35:56.820-0400 7fa1bccb9700 -1 WARNING: all dangerous and experimental features are enabled.
2019-10-25T17:35:56.880-0400 7fa1bccb9700 -1 WARNING: all dangerous and experimental features are enabled.
NAME                                                       VALUE                                                                                                                   SOURCE  OVERRIDES IGNORES
admin_socket                                               /tmp/ceph-asok.9edHRY/$name.asok                                                                                        file
auth_client_required                                       cephx                                                                                                                   file
auth_cluster_required                                      cephx                                                                                                                   file
auth_service_required                                      cephx                                                                                                                   file
...

Ditto for mgr.x/osd.0.

mgr.x.log.gz (106 KB) Patrick Donnelly, 10/25/2019 09:41 PM

mon.a.log.gz (692 KB) Patrick Donnelly, 10/25/2019 09:41 PM

mds.a.log.gz (25.7 KB) Patrick Donnelly, 10/25/2019 09:41 PM


Related issues

Related to mgr - Bug #41525: mgr/dashboard: Missing service metadata is not handled correctly Resolved
Related to fs - Bug #43035: qa: Test failure: test_ceph_config_show (tasks.cephfs.test_admin.TestConfigCommands) Rejected

History

#1 Updated by Greg Farnum 9 months ago

  • Project changed from Ceph to fs

#2 Updated by Patrick Donnelly 9 months ago

  • Assignee set to Sage Weil

Sage, assigning you since I believe you wanted to look into this.

#3 Updated by Sage Weil 9 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 31231

#4 Updated by Sebastian Wagner 9 months ago

  • Related to Bug #41525: mgr/dashboard: Missing service metadata is not handled correctly added

#5 Updated by Patrick Donnelly 8 months ago

  • Status changed from Fix Under Review to Resolved
  • Backport deleted (nautilus)

Backport will be managed by #41525.

#6 Updated by Patrick Donnelly 8 months ago

  • Related to Bug #43035: qa: Test failure: test_ceph_config_show (tasks.cephfs.test_admin.TestConfigCommands) added

Also available in: Atom PDF