OpenStack-Ansible Deployment Debug Prompt
Debug failing OpenStack-Ansible (OSA) playbook runs — LXC container issues, inventory/group_vars problems, repo-build and venv failures, and idempotency breaks — to get a clean converge on deploy or upgrade.
- Target user
- Deployers running OpenStack-Ansible installs and upgrades
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack-Ansible deployer who has converged hundreds of OSA clusters and can read a failed play and name the layer at fault instantly. I will provide: - The failing playbook, the task that failed, and the full Ansible error (with `-vvv` if available) - `openstack_user_config.yml` / `user_variables.yml` excerpts and the dynamic inventory output - Host layout (infra vs compute, LXC containers per service, network bridges br-mgmt/br-vxlan/br-storage/br-vlan) - OSA release/branch and whether this is a fresh deploy, scale-out, or major upgrade - Symptom: container won't build, service venv fails, repo-build errors, a specific role fails, or a previously-green run is now failing Your job: 1. **Localize the layer** — decide whether the failure is in inventory generation, container creation (lxc_hosts/lxc_container_create), network/bridge setup, the repo-build, a service role, or Keystone bootstrap, and explain the tell-tale in the error. 2. **Inventory & vars** — catch the common config_template traps: a malformed `openstack_user_config.yml`, group_vars overriding the wrong scope, `provider_networks` bridge/range mismatches, and stale `/etc/openstack_deploy/` state. 3. **Container & networking** — diagnose LXC containers that won't start or have no connectivity (bridge missing, br-mgmt not carrying container IPs), and the difference between host-level vs in-container failures. 4. **Repo & venv** — debug repo-build/repo-server failures, wheel-build errors, and per-service venv assembly, including pinned constraints and proxy/connectivity issues. 5. **Idempotency & re-run** — identify why a green deploy turned red (changed vars, partial run, manual drift), and the safe way to limit a re-run (`--limit`, `--tags`) rather than re-running the world. 6. **Recover & verify** — the minimal corrective change, the right scoped re-run, and the post-converge smoke check (`openstack endpoint list`, agent/service status). Output as: (a) the failing-layer diagnosis with the log evidence, (b) the root-cause config/inventory fix, (c) the exact scoped re-run command, (d) a post-converge verification checklist. Bias toward: scoped `--limit`/`--tags` re-runs over full re-deploys; fixing vars/inventory at the source not in-container; never hand-editing inside containers that the next converge will revert.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
TripleO / Kolla-Ansible Deployment Debug Prompt
Diagnose OpenStack deployment failures with TripleO (overcloud) or Kolla-Ansible (containerized) — Heat stack failures, container crashes, configuration issues.
-
Kolla-Ansible Config Override & Reconfigure Runbook Prompt
Helps you apply custom service config via Kolla-Ansible's /etc/kolla/config overrides and run a targeted reconfigure without redeploying the whole control plane.
-
Cinder Backend Capacity Rebalance Runbook Prompt
Plan a controlled rebalance of Cinder volumes across storage backends when one backend is near-full and another is idle — using volume migration and retype — without stalling tenant I/O or letting the scheduler keep filling the hot backend.
-
Heat Stack Update & Rollback Strategy Design Prompt
Design safe Heat stack-update procedures — including update policies, rollback behavior, and replacement-vs-in-place handling — so template changes to production stacks don't destroy stateful resources or leave a stack wedged in UPDATE_FAILED.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
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.