Project

General

Profile

Actions

Feature #24217

closed

Can we add daemon names(short hostname) in cephfs/rgw/mds daemons like mons and mgr

Added by Vikhyat Umrao almost 6 years ago. Updated almost 6 years ago.

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

0%

Source:
Support
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Can we add daemon names(short hostname) in cephfs/rgw/mds daemons like mons and mgr

services:
mon: 3 daemons, quorum mons-0,mons-1,mons-2
mgr: mons-0(active), standbys: mons-1, mons-2
mds: cephfs-1/1/1 up {0=mdss-0=up:active}, 1 up:standby
osd: 8 osds: 8 up, 8 in
rbd-mirror: 1 daemon active
rgw: 1 daemon active

This will help to identify which daemons are down/up and standby.

Actions #1

Updated by Vikhyat Umrao almost 6 years ago

  • Description updated (diff)
Actions #2

Updated by John Spray almost 6 years ago

The mon and mgr output does not include the hostname either -- those are the daemon names. CephFS output also already includes the daemon name (mdss-0 in the example).

The explicit list of daemons in the CephFS output will probably have to be removed at some point, as systems with many MDSs become more common -- historically people have usually only had a few MDS daemons, but with containerisation and active-active CephFS the numbers will rise beyond what fits on one line. Similarly for RGW, I don't think we would want to add a list of daemons in ceph status, because they're potentially numerous.

Commands like "ceph osd status" and "ceph fs status" are meant to provide friendly ways to see this kind of thing, and they should be enhanced if they're not doing the job well today -- it would also be nice to have a "ceph rgw status" that gave the detailed list of daemons too.

Is the main missing piece here a friendly way of seeing the list of RGW daemons?

Actions #3

Updated by Vikhyat Umrao almost 6 years ago

John Spray wrote:

Thank you John for the feedback.

The mon and mgr output does not include the hostname either -- those are the daemon names. CephFS output also already includes the daemon name (mdss-0 in the example).

The explicit list of daemons in the CephFS output will probably have to be removed at some point, as systems with many MDSs become more common -- historically people have usually only had a few MDS daemons, but with containerisation and active-active CephFS the numbers will rise beyond what fits on one line. Similarly for RGW, I don't think we would want to add a list of daemons in ceph status, because they're potentially numerous.

Right. when running more than 5 yes it can cause ceph status to grow very big which I agree we do not want.

Commands like "ceph osd status" and "ceph fs status" are meant to provide friendly ways to see this kind of thing, and they should be enhanced if they're not doing the job well today -- it would also be nice to have a "ceph rgw status" that gave the detailed list of daemons too.

Yes, I think this would be great and we should make it as a standard and we should standardize our commands:

ceph <daemon-type> status

1. ceph osd status
2. ceph mon status <- at present - ceph mon stat
3. ceph mds status <-- at present - ceph fs status
4. ceph rgw status - not present
5. ceph rbd-mirror status - not present

Is the main missing piece here a friendly way of seeing the list of RGW daemons?

Yes. And I think ceph rgw status is a perfect fit.

Actions #4

Updated by John Spray almost 6 years ago

OK - in that case I'd suggest you close this ticket and open separate rights for an RBD command and an RGW command.

Actions #5

Updated by Vikhyat Umrao almost 6 years ago

  • Status changed from New to Closed

John Spray wrote:

OK - in that case I'd suggest you close this ticket and open separate rights for an RBD command and an RGW command.

Thanks, John. I have created four trackers one for each.

2. ceph mon status <- at present - ceph mon stat
http://tracker.ceph.com/issues/24232

3. ceph mds status <-- at present - ceph fs status
http://tracker.ceph.com/issues/24233

4. ceph rgw status - not present
http://tracker.ceph.com/issues/24234

5. ceph rbd-mirror status - not present
http://tracker.ceph.com/issues/24235

Actions

Also available in: Atom PDF