Project

General

Profile

Bug #7602

'ceph --admin-daemon *.asok config show' doesn't include debug_* (subsys logging levels)

Added by Danny Al-Gaaf over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph cli
Target version:
Start date:
03/04/2014
Due date:
% Done:

0%

Spent time:
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

$ ./ceph-osd --show-config  | grep debug_
debug_none = 0/5
debug_lockdep = 0/1
debug_context = 0/1
debug_crush = 1/1
debug_mds = 1/5
debug_mds_balancer = 1/5
...

ceph --admin-daemon /var/run/ceph/ceph-mon.cephmon1.asok config show | less { "name": "mon.cephmon1",
  "cluster": "ceph",
  "none": "0\/5",
  "lockdep": "0\/1",
  "context": "0\/1",
  "crush": "1\/1",
  "mds": "1\/5",
  "mds_balancer": "1\/5",
  "mds_locker": "1\/5",
....

TODO: add prefix "debug_" to the keys.

Associated revisions

Revision a7afa145 (diff)
Added by Danny Al-Gaaf over 5 years ago

config.cc: add debug_ prefix to subsys logging levels

Add debug_ prefix also for 'ceph --admin-daemon *.asok config show'
as already done e.g. by 'ceph-osd --show-config'.

Fixes: #7602

Signed-off-by: Danny Al-Gaaf <>
Reviewed-by: Sage Weil <>

History

#1 Updated by Danny Al-Gaaf over 5 years ago

  • Target version set to 0.78

#2 Updated by Danny Al-Gaaf over 5 years ago

  • Status changed from New to Need Review

#3 Updated by Sage Weil over 5 years ago

  • Status changed from Need Review to Resolved

#4 Updated by Danny Al-Gaaf over 5 years ago

@Sage: do we need a backport to dumpling?

Also available in: Atom PDF