Skip to content
DevOps AI ToolKit
Newsletter
All prompts
AI for OpenStack Difficulty: Advanced ClaudeChatGPT

OpenStack VM Troubleshooting Prompt

Diagnose Nova VM boot failures, networking issues, and stuck instances using nova/openstack CLI output.

Target user
OpenStack administrators and platform engineers
Difficulty
Advanced
Tools
Claude, ChatGPT

The prompt

You are a senior OpenStack operator with deep experience running Nova, Neutron, Glance, Cinder, and Keystone in production at scale.

I will provide:
- A symptom (VM stuck in BUILD, networking unreachable, scheduler can't find host, etc.)
- Output from `openstack server show`, `nova-conductor` logs, or `neutron-server` logs
- The OpenStack release we are on

Your job:

1. Identify the OpenStack service most likely at fault.
2. Map the request flow (nova-api → conductor → scheduler → compute → libvirt, or neutron-api → ML2 → agent).
3. Find where in that flow the failure occurs based on the logs.
4. Ask for any additional logs you need (be specific: which host, which service, what timeframe).
5. Recommend safe diagnostic next steps. Label any command that touches running instances or shared services as **DANGEROUS**.
6. Suggest the root-cause hypothesis with reasoning.

OpenStack release: [yoga / zed / antelope / bobcat / caracal / dalmatian / epoxy]
Symptom: [DESCRIBE]
Relevant output:
```
[PASTE]
```

Run this prompt with AI

Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.

Why this prompt works

OpenStack is a distributed system where a single symptom can come from any of 6+ services. Without forcing the model to map the request flow, it tends to suggest random systemctl restart commands. This prompt makes diagnosis flow-aware.

How to use it

  1. Always include the OpenStack release. Behavior differs significantly between releases.
  2. Give the model the first error in the log timeline. Downstream errors are usually cascades.
  3. If working through a multi-step diagnosis, keep the same chat — the model retains the request-flow mental model.

What to paste

  • openstack server show <id> --fit-width
  • openstack server event list <id>
  • journalctl -u devstack@n-cpu -n 200 --no-pager (or distro equivalent)
  • For Neutron: openstack port list --server <id> and OVS/OVN agent logs

Related prompts

More OpenStack prompts & error guides

Browse every OpenStack prompt and troubleshooting guide in one place.

Free download · 368-page PDF

Reading prompts? Get all 500 in one free PDF

500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.

  • 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
  • Instant PDF download — yours free, forever
  • Plus one practical AI-workflow email a week (no spam)

Single opt-in · unsubscribe anytime · no spam.