Bug 1794558 - RFE - Ceph command 'ceph node ls' doesn't report clients like RGW
Summary: RFE - Ceph command 'ceph node ls' doesn't report clients like RGW
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Mgr Plugins
Version: 3.3
Hardware: Unspecified
OS: Linux
medium
low
Target Milestone: ---
: 7.0
Assignee: Greg Farnum
QA Contact: Sayalee
ceph-docs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-23 20:00 UTC by mamccoma
Modified: 2023-06-27 11:34 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 53319 0 None None None 2021-11-18 15:03:35 UTC

Description mamccoma 2020-01-23 20:00:27 UTC
Hello,

- When running the command 'ceph node ls', it doesn't appear to list the ceph-mgr services. 


- This doesn't appear to be a common command and so I suspect it just needs to be updated for the separated ceph-mgr daemon that appeared in RHCS 3.x

- Initial introduction of the command: https://tracker.ceph.com/issues/10904

================================================

# ceph -s
  cluster:
    id:     397e918c-3a8e-4a02-8cfa-9aaefef65fcf
    health: HEALTH_OK
 
  services:
    mon: 3 daemons, quorum vm252-88,vm254-248,vm255-135
    mgr: vm252-88(active), standbys: vm255-135, vm254-248
    osd: 9 osds: 9 up, 9 in
    rgw: 3 daemons active
 
  data:
    pools:   7 pools, 100 pgs
    objects: 271 objects, 140MiB
    usage:   1.43GiB used, 84.0GiB / 85.4GiB avail
    pgs:     100 active+clean

======================================================

[root@vm252-88 ~]# ceph node ls
{
    "mon": {
        "vm252-88.gsslab.pnq2.redhat.com": [
            0
        ],
        "vm254-248.gsslab.pnq2.redhat.com": [
            1
        ],
        "vm255-135.gsslab.pnq2.redhat.com": [
            2
        ]
    },
    "osd": {
        "vm252-88.gsslab.pnq2.redhat.com": [
            0,
            4,
            8
        ],
        "vm254-248.gsslab.pnq2.redhat.com": [
            1,
            3,
            5
        ],
        "vm255-135.gsslab.pnq2.redhat.com": [
            2,
            6,
            7
        ]
    }
}

===============================================

- As it appears the command can list 'mds' nodes, there could also be some added benefit in being able to list RGW clients as well. Especially as 'ceph -s only lists the number of RGWs and does't provide the names.


- From the man page:

node ls {all|osd|mon|mds}                                                                                 list all nodes in cluster [type]

Comment 6 Jane smith 2020-11-04 09:55:07 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.