Project

General

Profile

Actions

Bug #65858

open

ceph.in: make `ceph tell mds.<fsname>:<rank> help` give help output

Added by Patrick Donnelly 12 days ago. Updated 5 days ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Administration/Usability
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
squid,reef
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
tools
Labels (FS):
task(easy), task(intern)
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Right now it gives an error:

pdonnell@reesi001:~$ sudo ceph tell mds.teuthology:0 help
WARN: the service id you provided does not exist. service id should be one of postfile.reesi005.ewgjaq/postfile.reesi001.sugrhf/cephfs.reesi002.euduff/scratch.reesi002.stbcof/home.reesi006.jyaemk/postfile.reesi006.mfipln/home.reesi004.lkkbvz/home.reesi001.iacyfo/home.reesi002.xflrbk/postfile.reesi002.seuuot/cephfs.reesi006.bfgphx/cephfs.reesi001.umftpx/teuthology.reesi004.dbioar/cephfs.reesi005.ypcjqy/rhev_vol.mira093.zrqxdl/cephfs.reesi004.crossu/teuthology.reesi006.fwtwrl/scratch.mira093.scjiaj/rhev_vol.reesi006.aiznyu/postfile.reesi004.qakwtn/home.reesi005.stvvat.
target mds.teuthology:0 doesn't exists, please pass correct target to tell command, such as mon.a/osd.1/mds.a/mgr
pdonnell@reesi001:~$ sudo ceph tell mds.* help

 Tell mds commands 
 =================
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.201:6906/872296567
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.206:6800/139730030
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.205:6890/4042967599
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.206:6816/2934165003
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.202:6804/1988400432
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.205:6888/3672486448
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.8.136:6800/1274618605
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.202:6802/2229424135
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.201:6907/173244091
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.204:6806/4119584099
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.205:6892/2963751447
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.206:6810/271747014
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.204:6800/847390383
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.201:6800/2054876274
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.202:6800/4054207237
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.204:6804/2062154612
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.202:6806/3158716184
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.8.136:6858/929713663
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.206:6846/1256911509
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.206:6829/98874905
2024-05-07T20:47:20.369+0000 7fc47affd700  0 client.856710007 ms_handle_reset on v2:172.21.2.204:6801/1198004473
cache drop [<timeout:int>]                                                            trim cache and optionally request client to release all caps and flush the journal
cache status                                                                          show cache status
client config <client_id:int> <option> [<value>]                                      Config a CephFS client session
client evict [<filters>...]                                                           Evict client session(s) based on a filter
client ls [--cap-dump] [<filters>...]                                                 List client sessions based on a filter
config diff                                                                           dump diff of current config and default config
config diff get <var>                                                                 dump diff get <field>: dump diff of current and default config setting <field>
config get <var>                                                                      config get <field>: get the config value
config help [<var>]                                                                   get config setting schema and descriptions
config set <var> <val>...                                                             config set <field> <val> [<val> ...]: set a config variable
config show                                                                           dump current config settings
config unset <var>                                                                    config unset <field>: unset a config variable
counter dump                                                                          dump all labeled and non-labeled counters and their values
counter schema                                                                        dump all labeled and non-labeled counters schemas
cpu_profiler status|flush                                                             run cpu profiling on daemon
damage ls                                                                             List detected metadata damage
damage rm <damage_id:int>                                                             Remove a damage table entry
dirfrag ls <path>                                                                     List fragments in directory
dirfrag merge <path> <frag>                                                           De-fragment directory by path
dirfrag split <path> <frag> <bits:int>                                                Fragment directory by path
dump cache [<path>] [<timeout:int>]                                                   dump metadata cache (optionally to a file)
dump dir <path> [--dentry-dump]                                                       dump directory by path
dump inode <number:int>                                                               dump inode by inode number
dump loads [<depth:int>]                                                              dump metadata loads
dump snaps [--server]                                                                 dump snapshots
dump tree <root> [<depth:int>]                                                        dump metadata cache for subtree
dump_blocked_ops                                                                      show the blocked ops currently in flight
dump_blocked_ops_count                                                                show the count of blocked ops currently in flight
dump_historic_ops                                                                     show recent ops
dump_historic_ops_by_duration                                                         show recent ops, sorted by op duration
dump_mempools                                                                         get mempool stats
dump_ops_in_flight                                                                    show the ops currently in flight
exit                                                                                  Terminate this MDS
export dir <path> <rank:int>                                                          migrate a subtree to named MDS
flush journal                                                                         Flush the journal to the backing store
flush_path <path>                                                                     flush an inode (and its dirfrags)
force_readonly                                                                        Force MDS to read-only mode
get subtrees                                                                          Return the subtree map
get_command_descriptions                                                              list available commands
git_version                                                                           get git sha1
heap dump|start_profiler|stop_profiler|release|get_release_rate|set_release_rate|     show heap usage info (available only if compiled with tcmalloc)
 stats [<value>]                                                                      
help                                                                                  list available commands
injectargs <injected_args>...                                                         inject configuration arguments into running daemon
log dump                                                                              dump recent log entries to log file
log flush                                                                             flush log entries to log file
log reopen                                                                            reopen log file
openfiles ls                                                                          List the opening files and their caps
ops [locks...]                                                                        show the ops currently in flight
osdmap barrier <target_epoch:int>                                                     Wait until the MDS has this OSD map epoch
perf dump [<logger>] [<counter>]                                                      dump non-labeled counters and their values
perf histogram dump [<logger>] [<counter>]                                            dump perf histogram values
perf histogram schema                                                                 dump perf histogram schema
perf reset <var>                                                                      perf reset <name>: perf reset all or one perfcounter name
perf schema                                                                           dump non-labeled counters schemas
respawn                                                                               Respawn this MDS
rotate-key                                                                            rotate live authentication key
scrub abort                                                                           Abort in progress scrub operations(s)
scrub pause                                                                           Pause in progress scrub operations(s)
scrub resume                                                                          Resume paused scrub operations(s)
scrub start <path> [force|recursive|repair|scrub_mdsdir...] [<tag>]                   scrub and inode and output results
scrub status                                                                          Status of scrub operations(s)
scrub_path <path> [force|recursive|repair...] [<tag>]                                 scrub an inode and output results
session config <client_id:int> <option> [<value>]                                     Config a CephFS client session
session evict [<filters>...]                                                          Evict client session(s) based on a filter
session kill <client_id>                                                              Evict a client session by id
session ls [--cap-dump] [<filters>...]                                                List client sessions based on a filter
status                                                                                high-level status of MDS
tag path <path> <tag>                                                                 Apply scrub tag recursively
version                                                                               get ceph version
Actions #1

Updated by Patrick Donnelly 12 days ago

  • Labels (FS) task(easy), task(intern) added
Actions #2

Updated by Venky Shankar 5 days ago

Low priority - will hand it over to someone new later :)

Actions

Also available in: Atom PDF