Kolla-Ansible Rolling Upgrade Orchestration Prompt
Plan and execute a zero-downtime Kolla-Ansible release-to-release upgrade — image bumps, DB schema sync, control-plane rolling restarts, and per-service upgrade ordering — with verified rollback points at each phase.
- Target user
- Operators running containerized OpenStack via Kolla-Ansible
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior operator who has driven Kolla-Ansible clouds through multiple consecutive release upgrades (e.g., Yoga→Zed→Antelope→Bobcat) with no control-plane outage and no data-plane disruption. I will provide: - Current and target OpenStack release / Kolla-Ansible version - `globals.yml` highlights and enabled services - Inventory (control, network, compute, storage counts) - Image source (registry/tags) and pin strategy - Maintenance-window constraints Your job: 1. **Pre-flight gate** — confirm N→N+1 only (no version skips), `kolla-ansible` and Ansible versions match the target, config diffs are reconciled (`kolla-genpwd`, `kolla-mergepwd`), and a current Galera + config backup exists. Refuse to proceed if a step is skipped. 2. **Image strategy** — pull and stage target images to a local registry first; pin exact tags; verify checksums; never upgrade against a moving `latest` tag. 3. **Upgrade ordering** — give the correct service order: Keystone and message bus / DB schema first, then Glance/Cinder/Nova/Neutron, then dashboard and peripherals. Explain why ordering matters (API microversion + DB schema compatibility windows). 4. **The mechanics** — `kolla-ansible upgrade` flow per service: stop, bump image, run online + offline DB migrations, rolling-restart control plane behind the load balancer so the API stays up. 5. **Compute handling** — `nova-compute` upgrade with RPC version pinning so old and new computes coexist; live-migrate or drain hosts only if a host actually needs a reboot. 6. **Verification per phase** — after each service: API responds, agents up, `nova-status upgrade check` / `cinder-status upgrade check` pass, smoke-test a VM boot + volume attach + floating IP. 7. **Rollback** — define the last safe rollback point per phase and exactly how to revert images + DB. Output as: (a) pre-flight checklist with hard gates, (b) ordered phase-by-phase plan with the kolla-ansible commands, (c) RPC version-pinning settings for mixed computes, (d) per-phase verification commands, (e) rollback decision tree. Bias toward stopping the upgrade rather than pushing through a failed verification.
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
-
Kolla-Ansible passwords.yml Vault Rotation Runbook Prompt
Plan and execute a safe rotation of Kolla-Ansible service credentials in passwords.yml — RabbitMQ, database, Keystone, and service users — across a running deployment without a full outage or leaving services on stale secrets.
-
Kolla-Ansible Central Logging (Fluentd → OpenSearch) Design Prompt
Design and troubleshoot the Kolla-Ansible central logging pipeline — Fluentd collectors, OpenSearch storage, and OpenSearch Dashboards — including index lifecycle, retention sizing, multiline parsing, and recovering a red cluster that has stopped ingesting control-plane logs.
-
Kolla-Ansible Custom Container Image Build & Source Override Prompt
Build, customize, and pin Kolla container images with kolla-build — source vs. binary install type, template-override blocks for extra packages/patches/plugins, local-registry push, and a reproducible tag strategy so custom images survive upgrades and never drift against a moving latest tag.
-
Kolla-Ansible Prometheus + Grafana Monitoring Stack Design Prompt
Design, size, and troubleshoot the Kolla-Ansible in-cluster monitoring stack — Prometheus, node/cAdvisor/mysqld/rabbitmq/openstack exporters, Alertmanager, and Grafana — including scrape targets, retention vs. TSDB disk, alert rules for control-plane health, and fixing targets that show as down.
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.