Project

General

Profile

Actions

Tasks #65751

open

Add OS type and version to "ceph tell mon.* sessions" json dump

Added by Laura Flores 15 days ago. Updated 15 days ago.

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

0%

Tags:
low-hanging-fruit
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2154808

Context from BZ:

With Multiple clients connected to system, It would be good to get clients via ceph commands(could be orchestrator) for monitoring the client status and also to know about client host properties like Status, OS Type, OS Version.
client details at Ceph,
- Connectivity Status
- OS Type
- OS Version

...

The OS type/version could be easily added to the monitor sessions dump.  Things like entity name, entity address, RADOS feature bits and remote host name are already reported:

$ ceph daemon mon.a sessions

...
    {
        "name": "client.?",
        "entity_name": "client.admin",
        "addrs": {
            "addrvec": [
                {
                    "type": "any",
                    "addr": "10.0.2.15:0",
                    "nonce": 2713837944
                }
            ]
        },
        "socket_addr": {
            "type": "any",
            "addr": "10.0.2.15:0",
            "nonce": 2713837944
        },
        "con_type": "client",
        "con_features": 4540138322906710015,
        "con_features_hex": "3f01cfbffffdffff",
        "con_features_release": "luminous",
        "open": true,
        "caps": {
            "text": "allow *" 
        },
        "authenticated": true,
        "global_id": 4134,
        "global_id_status": "new_ok",
        "osd_epoch": 16,
        "remote_host": "cephtest" 
    },

Actions #1

Updated by Laura Flores 15 days ago

  • Tracker changed from Bug to Tasks
  • Regression deleted (No)
  • Severity deleted (3 - minor)
Actions

Also available in: Atom PDF