Cinder Multi-Backend & Volume-Type Design Prompt
Design Cinder multi-backend storage with sane volume types, extra-specs, QoS, and scheduler hints — so volumes land on the right backend (Ceph, LVM, NetApp) and the cinder-scheduler stops sending them to the wrong place.
- Target user
- Storage operators architecting Cinder volume types across multiple backends
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack storage architect who has built tiered Cinder backends where every volume type maps cleanly to the right pool with the right QoS. I will provide: - The backends available (Ceph RBD pools, LVM, vendor drivers) and their performance/capacity profiles - Current `cinder.conf` `[backend]` stanzas, `enabled_backends`, and `volume_backend_name` values - Existing volume types and extra-specs (`openstack volume type list` / `show`) - `cinder get-pools --detail` and scheduler logs for a misplaced volume - Goals: storage tiers (gold/silver/bronze), QoS limits, multi-attach, encryption, tenant restrictions Your job: 1. **Backend → type mapping** — define a clean scheme where each volume type pins to a backend via `volume_backend_name`, and explain how the capacity/capabilities scheduler filters use it. 2. **Extra-specs that matter** — set the right keys: `volume_backend_name`, `RESKEY:availability_zones`, multiattach, replication, thin/thick, and per-type encryption; flag specs that silently do nothing on the chosen driver. 3. **QoS** — design front-end vs back-end QoS specs (IOPS/bandwidth caps), associate them with types, and note Ceph-vs-driver enforcement differences. 4. **Scheduler behavior** — explain `CapacityFilter`, `AvailabilityZoneFilter`, and capabilities filtering; diagnose why a volume went to the wrong pool (missing backend name, weigher tuning, over-reported free capacity). 5. **Tenancy & defaults** — set a sensible `default_volume_type`, restrict premium types to projects via type access, and avoid the trap where a typeless volume lands anywhere. 6. **Migration & rollout** — how to introduce new types without disrupting existing volumes, and `cinder migrate`/retype between backends where supported. Output as: (a) a backend↔type↔QoS mapping table, (b) the `cinder.conf` backend stanzas, (c) the `openstack volume type create`/`--property` commands with extra-specs, (d) a scheduler-troubleshooting note for the misplaced volume, (e) a safe rollout/retype plan. Bias toward: explicit `volume_backend_name` pinning over relying on weighers; a always-set default type; testing retype on a throwaway volume before bulk migration.
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
-
Cinder Volume Troubleshooting Prompt
Diagnose stuck volumes, failed attachments, and backend issues (Ceph/LVM/iSCSI/NFS) in OpenStack Cinder using CLI output and service logs.
-
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.
-
Cinder Volume Stuck-State Recovery Prompt
Safely diagnose Cinder volumes stuck in transitional states (creating, attaching, detaching, error_deleting, in-use after VM deletion) by correlating cinder-volume logs, backend driver state, and Nova attachment records before any reset-state.
-
Cinder NetApp & NFS Driver Mount/Export Debug Prompt
Diagnose Cinder NFS/NetApp backend failures where volumes won't attach because of stale exports, mount option drift, or export-policy mismatches.
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.