The ceph tools were split across different areas of the table of contents that was confusing. Now the Ceph tools and troubleshooting guides are all found under the Ceph tools. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
1.6 KiB
title, weight, indent
| title | weight | indent |
|---|---|---|
| OpenShift Common Issues | 11400 | true |
OpenShift Common Issues
Enable Monitoring in the Storage Dashboard
OpenShift Console uses OpenShift Prometheus for monitoring and populating data in Storage Dashboard. Additional configuration is required to monitor the Ceph Cluster from the storage dashboard.
-
Change the monitoring namespace to
openshift-monitoringChange the namespace of the RoleBinding
rook-ceph-metricsfromrook-cephtoopenshift-monitoringfor theprometheus-k8sServiceAccount in rbac.yaml.
subjects:
- kind: ServiceAccount
name: prometheus-k8s
namespace: openshift-monitoring
-
Enable Ceph Cluster monitoring
-
Set the required label on the namespace
$ oc label namespace rook-ceph "openshift.io/cluster-monitoring=true"
Troubleshoot Monitoring Issues
Pre-req: Switch to
rook-cephnamespace withoc project rook-ceph
-
Ensure ceph-mgr pod is Running
$ oc get pods -l app=rook-ceph-mgrNAME READY STATUS RESTARTS AGE rook-ceph-mgr 1/1 Running 0 14h -
Ensure service monitor is present
$ oc get servicemonitor rook-ceph-mgrNAME AGE rook-ceph-mgr 14h -
Ensure prometheus rules are present
oc get prometheusrules -l prometheus=rook-prometheusNAME AGE prometheus-ceph-rules 14h