diff options
author | Jose Castillo <jcastillo@redhat.com> | 2022-08-09 11:26:02 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2022-08-15 10:49:52 -0400 |
commit | 51d80d05a4b4cee25f6671dfd261d1f17390c437 (patch) | |
tree | 06e9e5ec747202f38cdfec6371ad61a5c8e6b65e | |
parent | 0c0ec7af0ed5254a8cced510ccda06a4eaa66201 (diff) | |
download | sos-51d80d05a4b4cee25f6671dfd261d1f17390c437.tar.gz |
[ceph_mgr] Add orchestrator CLI commands
This patch adds the following commands to
the Ceph Manager plugin:
- To list hosts:
ceph orch host ls
- To list devices on a host:
ceph orch device ls
- To check the curent specification file/List
services known to orchestrator:
ceph orch ls --export
- To list daemons known to orchestrator:
ceph orch ps
- To check the configured backend and its status:
ceph orch status --detail
- To check service versions vs available and
target containers:
ceph orch upgrade status
- To see the recent activities/log from cephadm:
ceph log last cephadm
Resolves: RHBZ#2116602
Signed-off-by: Jose Castillo <jcastillo@redhat.com>
-rw-r--r-- | sos/report/plugins/ceph_mgr.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/report/plugins/ceph_mgr.py b/sos/report/plugins/ceph_mgr.py index ff0c50cc..be0a489b 100644 --- a/sos/report/plugins/ceph_mgr.py +++ b/sos/report/plugins/ceph_mgr.py @@ -37,6 +37,13 @@ class CephMGR(Plugin, RedHatPlugin, UbuntuPlugin): # more commands to be added later self.add_cmd_output([ "ceph balancer status", + "ceph orch host ls", + "ceph orch device ls", + "ceph orch ls --export", + "ceph orch ps", + "ceph orch status --detail", + "ceph orch upgrade status", + "ceph log last cephadm" ]) ceph_cmds = [ |