ceph / ceph-medic

find common issues in ceph clusters
MIT License
22 stars 18 forks source link

Support for docker/podman deployments #147

Closed zmc closed 4 years ago

zmc commented 4 years ago

I've tested this on a podman cluster and on a bare-metal cluster. This adds a couple tests, and (I believe) documents the feature well enough.

zmc commented 4 years ago

Some sample output from a podman cluster:

Host: rgw0                                      connection: [connected  ]
Host: mgr0                                      connection: [connected  ]
Host: mds2                                      connection: [connected  ]
Host: mds1                                      connection: [connected  ]
Host: mds0                                      connection: [connected  ]
Host: osd0                                      connection: [connected  ]
Host: osd0                                      connection: [connected  ]
Host: osd1                                      connection: [connected  ]
Host: osd1                                      connection: [connected  ]
Host: mon2                                      connection: [connected  ]
Host: mon1                                      connection: [connected  ]
Host: mon0                                      connection: [connected  ]
Collection completed!

=======================  Starting remote check session  ========================
Version:    1.0.5    Cluster Name: "ceph"
Connection: podman
Total hosts: [10]
OSDs:    2    MONs:    3     Clients:    0
MDSs:    3    RGWs:    1     MGRs:       1

================================================================================

------- rados gateways -------
 rgw0

---------- managers ----------
 mgr0

-------------mdss-------------
 mds2
 mds1
 mds0

------------ osds ------------
 osd0
 osd1

------------ mons ------------
 mon2
 mon1
 mon0

---------- cluster -----------
 ceph cluster

148 passed, on 12 hosts