Project

General

Profile

Actions

Bug #42494

closed

ceph: config show can't locate mds

Added by Patrick Donnelly over 4 years ago. Updated over 4 years 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 (v1):
Crash signature (v2):

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.


Files

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

Related issues 2 (0 open2 closed)

Related to Dashboard - Bug #41525: mgr/dashboard: Missing service metadata is not handled correctlyResolvedVolker Theile

Actions
Related to CephFS - Bug #43035: qa: Test failure: test_ceph_config_show (tasks.cephfs.test_admin.TestConfigCommands) RejectedPatrick Donnelly

Actions
Actions #1

Updated by Greg Farnum over 4 years ago

  • Project changed from Ceph to CephFS
Actions #2

Updated by Patrick Donnelly over 4 years ago

  • Assignee set to Sage Weil

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

Actions #3

Updated by Sage Weil over 4 years ago

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

Updated by Sebastian Wagner over 4 years ago

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

Updated by Patrick Donnelly over 4 years ago

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

Backport will be managed by #41525.

Actions #6

Updated by Patrick Donnelly over 4 years ago

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

Also available in: Atom PDF