# support-bundle-analysis
> Systematic problem-driven approach to analyze Rancher/Longhorn support bundles
- Author: Raphanus Lo
- Repository: COLDTURNIP/pantoh
- Version: 20260209224453
- Stars: 0
- Forks: 0
- Last Updated: 2026-02-09
- Source: https://github.com/COLDTURNIP/pantoh
- Web: https://mule.run/skillshub/@@COLDTURNIP/pantoh~support-bundle-analysis:20260209224453
---
---
name: support-bundle-analysis
description: Systematic problem-driven approach to analyze Rancher/Longhorn support bundles
compatibility: opencode
metadata:
version: "2.0"
architecture: modular
---
# Support Bundle Analysis
## What I do
Systematic methodology to analyze Rancher/Longhorn support bundles for root cause identification through problem-driven multi-layer diagnosis (K8s resources, pod logs, node system logs).
## When to use me
Troubleshooting cluster issues: backing image download, volume attachment, pod crashes, node unavailability, storage/network problems.
---
## Pre-Analysis Requirements (MANDATORY)
Bundle Extraction Location
Where should I extract the support bundle?
- Temporary (recommended): /tmp/sb-analysis-TIMESTAMP
- Custom path: [provide path]
- Already extracted: [provide path]
CANNOT proceed without confirmed bundle location
Problem Description (CRITICAL)
Problem-driven analysis is CORE. Without this, analysis cannot proceed.
Describe the problem:
- What issue/error are you experiencing?
- Which components affected? (Pod/Node/Storage/Network)
- What symptoms?
- Relevant timestamps/events?
Example: "Backing image 'ubuntu' download stuck at 0% after network disconnection"
CANNOT proceed without problem description
DO NOT proceed until BOTH confirmations completed
---
## Phase 0: Problem Understanding
CrashLoopBackOff, ImagePullBackOff, Pending, OOMKilled -> @diagnostic-flows.md#pod-diagnosis
NotReady, MemoryPressure, DiskPressure -> @diagnostic-flows.md#node-diagnosis
PVC Pending, Volume mount failures, I/O errors -> @diagnostic-flows.md#storage-diagnosis
DNS failures, Connection timeouts -> @diagnostic-flows.md#network-diagnosis
Extract from user's problem description: Problem type, Affected resources, Symptoms, Timestamps
---
## Phase 1: Bundle Structure Overview
Key directories:
```
supportbundle_*/
yamls/cluster/kubernetes/ - nodes.yaml, events.yaml, persistentvolumes.yaml
yamls/namespaced/[ns]/kubernetes/ - pods.yaml, services.yaml, pvcs.yaml
logs/[ns]/[pod]/ - Container logs
nodes/[node]/
hostinfos/ - hostinfo, proc_mounts
logs/ - dmesg.log, kubelet.log, messages
```
Priority files by problem type:
| Problem | Primary Files | Key Search Terms |
|---------|---------------|------------------|
| Pod | pods.yaml, logs/*/*.log | CrashLoopBackOff, exitCode, restartCount |
| Node | nodes.yaml, nodes/*/logs/*.log | NotReady, MemoryPressure, DiskPressure |
| Storage | pvs.yaml, pvcs.yaml, proc_mounts | Pending, MountFailed, I/O error |
| Network | services.yaml, endpoints.yaml, dmesg.log | DNS, timeout, unreachable |
---
## Resource Map
| Module | Load When | Contains |
|--------|-----------|----------|
| **SKILL.md** (HERE) | Always (Entrypoint) | Pre-Analysis + Phase 0-1 + Navigation |
| **@diagnostic-flows.md** | Phase 2-3 | Quick Assessment, Deep Diagnosis, Commands Toolbox |
| **@patterns-library.md** | Phase 4 | Timeline, 5 Whys, Error Patterns, Examples |
### Decision Tree
```
START -> [Pre-Analysis] Confirm bundle + problem -> [Phase 0] Classify -> [Phase 1] Structure
-> [Phase 2-3] READ @diagnostic-flows.md -> [Phase 4] READ @patterns-library.md -> END
```
### Quick Links
**Diagnosis**: @diagnostic-flows.md#pod-diagnosis | #node-diagnosis | #storage-diagnosis | #network-diagnosis
**Patterns**: @patterns-library.md#patterns-library | #examples | #quick-reference
**Methods**: @patterns-library.md#timeline-reconstruction | #5-whys-method | #evidence-based-analysis
Phase 2-3: Deep diagnosis needed
Phase 4: Root cause analysis or pattern reference needed
---
**Commands**: Standard Unix (grep, find, tail, cat) preferred for compatibility
**Next**: Complete Pre-Analysis + Phase 0-1, then READ @diagnostic-flows.md for Phase 2-3
---
Architecture 2.0 | Updated 2026-01-16