A utility for triaging must-gather output
Project description
must-triage
When things go wrong with OpenShift or OpenShift Container Storage, we sometimes use must-gather
or ocs-must-gather
to collect logfiles and other documents to diagnose issues. While those tools are useful in that they can show us a lot about the state of the system(s), they don't offer anything to help process that information.
must-triage
is a very small utility to aid in identifying problems recorded in must-gather
output.
Features
Currently, must-triage
knows about the following potential issues:
OpenShift (OCP)
- Unparseable YAML files
- Pods not in ready state
- Operators who haven't reported success
- YAML files which contain a top-level error field
OpenShift Container Storage (OCS)
- Empty JSON files
- Unparseable JSON files
- Ceph health not
HEALTH_OK
- Logfiles which mention a panic
Teaching it to identify new issues is not difficult; PRs warmly welcomed!
Installation
pip install must-triage
Usage
must-triage /path/to/must-gather/output
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
must_triage-0.3.1.tar.gz
(24.0 kB
view hashes)
Built Distribution
Close
Hashes for must_triage-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e23667002989bec4c9d89c861e7c0169e4e41fa41a32c6ba8c4cc1ff94f5e9ac |
|
MD5 | 73014becca3e2a5c934445decc26a7e1 |
|
BLAKE2b-256 | 5e043226d4729c8f36383592fd493813ace4e3ad08878f69809b24ac2a46a819 |