Skip to content

Commit

Permalink
[ceph] update ceph commands collection
Browse files Browse the repository at this point in the history
Signed-off-by: Ponnuvel Palaniyappan <[email protected]>
  • Loading branch information
pponnuvel authored and arif-ali committed Oct 9, 2024
1 parent 757d2b3 commit 4b17f9f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sos/report/plugins/ceph_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,15 @@ def setup(self):
microceph_pkg = self.policy.package_manager.pkg_by_name('microceph')

ceph_mgr_cmds = ([
"balancer status",
"balancer eval",
"balancer status", # For pre-Squid releases
"balancer status detail",
"healthcheck history ls",
"log last cephadm",
"mgr dump",
"mgr metadata",
"mgr module ls",
"mgr services",
"mgr stat",
"mgr versions"
])
Expand Down
11 changes: 11 additions & 0 deletions sos/report/plugins/ceph_mon.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def setup(self):
"ceph config generate-minimal-conf",
"ceph config log",
"ceph config-key dump",
"ceph crash ls",
"ceph crash stat",
"ceph features",
"ceph health detail",
Expand All @@ -118,11 +119,19 @@ def setup(self):
"ceph mgr services",
"ceph mgr versions",
"ceph mon stat",
"ceph mon features ls",
"ceph node ls",
"ceph osd crush class ls",
"ceph osd crush dump",
"ceph osd crush rule ls",
"ceph osd crush show-tunables",
"ceph osd crush tree --show-shadow",
"ceph osd erasure-code-profile ls",
"ceph osd metadata",
"ceph osd utilization",
"ceph telemetry channel ls",
"ceph telemetry collection ls",
"ceph telemetry ls",
"ceph quorum_status",
"ceph versions",
"ceph-disk list",
Expand All @@ -141,9 +150,11 @@ def setup(self):
"df",
"fs dump",
"fs ls",
"fs status",
"mds stat",
"mon dump",
"osd blocked-by",
"osd blocklist ls",
"osd df tree",
"osd df",
"osd dump",
Expand Down
1 change: 1 addition & 0 deletions sos/report/plugins/ceph_osd.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def setup(self):
"dump_reservations",
# will work quincy onward
"bluefs stats",
"bluestore allocator dump block",
"bluestore bluefs device info",
"config diff",
"config show",
Expand Down

0 comments on commit 4b17f9f

Please sign in to comment.