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
Metadata
Release files for must-triage 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| must_triage-0.3.4.tar.gz | 23.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| must_triage-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.6 kB
Release files / must_triage-0.3.4.tar.gz
| Download URL | must_triage-0.3.4.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d88d0830518fd508926a9d69ff153de8342bd4010a0f58d5e8abb63a165f5b01
|
|
BLAKE2b-256 checksum How to use checksums |
74c340bcf19a58b85e0ab69827b09e7f50efe0517d90f1ba7293dfd513f70752
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / must_triage-0.3.4-py3-none-any.whl
| Download URL | must_triage-0.3.4-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3e266a1352636ccbdd08a724342bc3767b19c9778a234db0af86a948a94242f
|
|
BLAKE2b-256 checksum How to use checksums |
3cd82a83f2d217ac3255c260e4427634c0dfa8ae6f9666311bff0ef3a0c3e145
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|