Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1794558

Summary: RFE - Ceph command 'ceph node ls' doesn't report clients like RGW
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: mamccoma
Component: Ceph-Mgr PluginsAssignee: Greg Farnum <gfarnum>
Ceph-Mgr Plugins sub component: status QA Contact: Sayalee <saraut>
Status: CLOSED WONTFIX Docs Contact: ceph-docs <ceph-docs>
Severity: low    
Priority: medium CC: adking, cbodley, ceph-eng-bugs, kbader, mbenjamin, mhackett, nojha, rzarzyns, sostapov, tserlin, vereddy
Version: 3.3   
Target Milestone: ---   
Target Release: 9.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-18 20:51:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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)
Comment 27 Scott Ostapovicz 2023-11-16 16:05:22 UTC
AS I understand this, it is not a blocking issue, so retargeting it to 7.0 z1

Comment 31 Scott Ostapovicz 2024-04-10 13:39:35 UTC
Retargeting this issue to 7.0 z3, but based on Matts comment, perhaps this should have been closed some time ago?

Comment 34 Red Hat Bugzilla 2026-01-17 04:25:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days