/openshift-ops:openshift-operator-troubleshootingfrom openshift-ops
Diagnose degraded cluster operators and failing OLM operators using status-triple analysis, CSV lifecycle debugging, and OLM component triage.
Ships in openshift-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
OpenShift has two distinct operator systems with completely different troubleshooting paths:
oc get co. You cannot install, uninstall, or reinstall these — they are managed by the Cluster Version Operator. Troubleshooting focuses on WHY they're degraded.oc get csv -A. These have a full lifecycle (install, upgrade, uninstall) and troubleshooting focuses on the OLM resource chain.Every ClusterOperator has three status conditions. The combination tells you the severity:
| AVAILABLE | PROGRESSING | DEGRADED | Meaning |
|---|---|---|---|
| True | False | False | Healthy. Normal state. |
| True | True | False | Reconciling. Normal during upgrades. Wait. |
| True | False | True | Partial failure — operator is serving but something is wrong. Investigate but not urgent. |
| True | True | True | Actively broken and trying to fix itself. Monitor closely. |
| False | True | False | Not serving but working on it. May recover. Give it 10-15 minutes before escalating. |
| False | any | True | Full failure. Immediate action required. |
PROGRESSING=True for >30 minutes (outside of a cluster upgrade) is abnormal. Something is stuck.
oc get co <name> -o jsonpath='{.status.conditions}' is more useful than any other command.relatedObjects in the CO status. Each operator runs in its own namespace (usually openshift-<name>).Subscriptions create InstallPlans, which create ClusterServiceVersions (CSVs). The CSV phase tells you where it's stuck:
status.requirementStatus for what's missing.status.conditions for the reason. Common causes: missing CRDs, insufficient RBAC permissions, resource conflicts with another operator.Key insight: Deleting a failed CSV triggers OLM to recreate it from the subscription. This is a valid recovery action when the transient cause (e.g., resource pressure) has been resolved.
spec.approved: true). An unapproved install plan blocks ALL future upgrades for that operator.Two operators claiming the same CRD is a real problem that produces confusing errors. Diagnose by checking metadata.ownerReferences on the CRD — it shows which CSV owns it. If the wrong operator owns it, delete the conflicting operator's subscription and CSV, then let the correct operator recreate the CRD.
OLM itself has three components in a dependency chain. Failures cascade downward:
openshift-operator-lifecycle-manager): Manages CSV lifecycle. If it's down, no operator installs or upgrades happen.packagemanifest API. If it's down, oc get packagemanifest returns empty results and new operator installs appear to have no available operators.Catalog source stale? Delete the catalog pod in openshift-marketplace to force a refresh: oc delete pod -n openshift-marketplace -l olm.catalogSource=<name>. This is non-destructive — the pod is recreated and re-pulls the catalog index.
openshift-operator-lifecycle-manager, not the operator's own namespace. When debugging OLM-level issues (install plan stuck, CSV not created), look at OLM's logs, not the failing operator's logs.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub redhat-community-ai-tools/claude-plugins --plugin openshift-ops4 skills in this plugin
/openshift-cluster-upgradePlan and troubleshoot OpenShift cluster upgrades with focus on irreversibility, upgrade-path validation, and stuck-upgrade diagnosis./openshift-debuggingDiagnose OpenShift cluster issues using layered triage, failure-mode classification, and prioritized diagnostic workflows./openshift-node-operationsNode lifecycle management with focus on safe drain procedures, automated-vs-manual infrastructure decisions, and node failure diagnosis.Other plugins' skills for the same job