oraclecloud-debug-bundle

Installation
SKILL.md

Oracle Cloud Debug Bundle

Overview

Collect comprehensive diagnostics from an unresponsive OCI compute instance without touching the OCI Console. When an instance reports "unavailable due to an issue with the underlying infrastructure" or cloud-init failures, you need serial console output, cloud-init logs, instance metadata, and VCN flow logs — all gathered via CLI commands into a single tar archive for root-cause analysis or support ticket attachment.

Purpose: Generate a self-contained debug bundle (.tar.gz) with all the data OCI Support will ask for, collected in under 60 seconds.

Prerequisites

  • OCI CLI installed and configuredoci --version returns 3.x+, ~/.oci/config is valid (see oraclecloud-install-auth)
  • Python 3.8+ with the OCI SDK — pip install oci
  • Compartment OCID — the compartment containing the target instance
  • Instance OCID — format: ocid1.instance.oc1.{region}.aaaa...
  • IAM policies granting inspect instance-console-histories, read instances, read vcn-flow-logs in the target compartment

Instructions

Step 1: Set Target Variables

Installs
1
GitHub Stars
2.8K
First Seen
13 days ago
oraclecloud-debug-bundle — jeremylongshore/tons-of-skills-marketplace