Project

General

Profile

Actions

Feature #55722

open

Add filesystem mirroring info to telemetry collection

Added by Blaine Gardner almost 2 years ago.

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

0%

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

Description

Basic information about mirroring being enabled is collected for Ceph RBD. Since CephFS mirroring is a feature, it would be good to also collect that. The Rook project is interested in collecting this telemetry, and I imagine it is useful for cephadm as well.

An example of the "rbd" section in today's Ceph telemetry shows that "mirroring_by_pool" is a simple boolean list to show how many pools have mirroring enabled.

"rbd": {
"mirroring_by_pool": [
false
],
"num_images_by_pool": [
0
],
"num_pools": 1
},

Can something similar be implemented for CephFS? I have suggested a format that might work below:

"fs": {
"count": 1,
"feature_flags": {
"enable_multiple": true,
"ever_enabled_multiple": true
},
"filesystems": [ {
"approx_ctime": "2022-05",
"balancer_enabled": false,
"bytes": 0,
"cached_caps": 0,
"cached_dns": 10,
"cached_inos": 16,
"cached_subtrees": 4,
"ever_allowed_features": 32,
"explicitly_allowed_features": 32,
"files": 0,
"max_mds": 1,
"mirroring_enabled": 1, # <---- add this?
"num_data_pools": 1,
"num_in": 1,
"num_mds": 2,
"num_sessions": 0,
"num_standby_replay": 1,
"num_up": 1,
"snaps": 0,
"standby_count_wanted": 1
}
],
"num_standby_mds": 0,
"total_num_mds": 2
},

It would be nice to have this backported to Quincy.

No data to display

Actions

Also available in: Atom PDF