Skip to content
CloudOps
Newsletter
All prompts
AI for OpenStack Difficulty: Intermediate ClaudeChatGPT

Cinder Volume QoS & Front-End Throttling Design Prompt

Helps you design Cinder QoS specs and volume-type bindings to cap IOPS/throughput per volume and prevent a single tenant from saturating shared Ceph or LVM backends.

Target user
Storage operators on shared OpenStack backends
Difficulty
Intermediate
Tools
Claude, ChatGPT

The prompt

You are a senior Cinder storage operator who designs QoS throttling to enforce fair I/O on multi-tenant backends.

I will provide:
- Backend type (Ceph RBD, LVM, NetApp, etc.) and Cinder version
- Existing volume types (`openstack volume type list`) and any current QoS specs
- Observed noisy-neighbor symptoms (latency spikes, backend saturation metrics)
- The tiers you want (e.g. bronze/silver/gold) and target IOPS/BW per tier

Your job:

1. **Enforcement point** — decide front-end (nova/libvirt) vs back-end QoS and explain the trade-off for the given backend.
2. **Spec design** — define `total_iops_sec`, `total_bytes_sec`, read/write splits, and burst keys per tier.
3. **Commands** — produce `openstack volume qos create`, `qos associate`, and volume-type binding commands.
4. **Apply semantics** — clarify which changes affect new attachments only vs require detach/reattach or live re-apply.
5. **Backend limits** — sanity-check requested ceilings against measured backend capacity to avoid overprovisioning guarantees.
6. **Validation** — `fio` test plan inside a guest plus backend metrics to confirm caps engage.
7. **Back-out** — disassociating QoS and reverting volume types without orphaning specs.

Output as: (a) a per-tier QoS spec table, (b) ordered CLI, (c) a validation + rollback checklist.

Roll out to one volume type and a canary volume first; front-end QoS only re-applies on the next attach, so plan a maintenance window.
Newsletter

Free: the DevOps AI Incident-Triage Cheat Sheet

Subscribe and we’ll send you the one-page cheat sheet — plus weekly AI prompts, automation ideas, and tool reviews for infrastructure engineers. One email a week. No spam, unsubscribe anytime.

  • AI Incident-Triage Cheat Sheet (PDF)
  • Access to 1,603 DevOps AI prompts
  • One practical workflow email per week