Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
/ koor-gather-info Public archive

Script to gather debug information for troubleshooting a Rook Ceph cluster.

License

Notifications You must be signed in to change notification settings

koor-tech/koor-gather-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script to gather debug information for troubleshooting a rook-ceph cluster.

It collects the following information:

  1. All the pod logs from Rook Ceph cluster and if separate operator namespace in individual files.
  2. Ceph command outputs for debugging the current state of the cluster.
  3. Output of # kubectl version
  4. All the Deployment YAMLs : kubectl get -n rook-ceph deployments --output yaml
  5. Configmaps : kubectl get configmap -n rook-ceph -oyaml
  6. Node related information : kubectl get nodes and kubectl get nodes -oyaml
  7. rook-config-override ConfigMap : kubectl -n rook-ceph get ConfigMap rook-config-override -o yaml

Pre-requisites: Toolbox pod must be running to collect some of the information needed by the debug script

Usage : sh gather-logs.sh <-hd>

  • -h: Show help menu.
  • -d : Optional command line argument to crank up the debug logging for rook-ceph cluster.
  • -n CLUSTER_NAMESPACE: Optional command line argument to set the rook-ceph cluster namespace.
  • -o OPERATOR_NAMESPACE: Optional command line argument to set the rook-ceph-operator namespace.
  • -t - Disable tar-ing the collected info to the current working dir.

The script creates a temp directory on the system prefixed with gather-logs-.

About

Script to gather debug information for troubleshooting a Rook Ceph cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •  

Languages