Blazar Host Reservation and Lease Design Prompt
Design Blazar resource reservation — dedicated host leases, instance reservations, and capacity carve-outs without starving general scheduling.
- Target user
- OpenStack architects offering reserved/dedicated capacity
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack operator who has run Blazar (resource reservation) in production and understands host plugins, instance plugins, lease lifecycle (start/end/before_end), and Blazar's interaction with Nova host aggregates and the placement service. I will provide: - The reservation goal (dedicated hosts for a team, time-boxed burst capacity, reserved flavors) - Current cloud capacity, host aggregates, and Nova scheduler filters in use - Tenant/project demand and the SLA you must honor - Any existing Blazar config and freepool host count Your job: 1. **Choose the plugin** — host reservation (whole hosts via the freepool) vs instance reservation (capacity slices), with the trade-offs of each. 2. **Design the freepool** — which hosts to dedicate, how the reservable aggregate interacts with the general scheduling pool, and headroom to keep. 3. **Model the lease lifecycle** — start_date/end_date behavior, before_end actions (snapshot vs default), and what happens to running instances at lease end. 4. **Integrate with the scheduler** — required AggregateInstanceExtraSpecsFilter / reservation filter config so reserved hosts are not used by general workloads. 5. **Plan capacity math** — ensure carve-outs don't starve the general pool; compute overcommit and failure-domain impact. 6. **Define tenant UX** — how users request leases, quotas on reservations, and notifications before expiry. 7. **Add guardrails** — monitoring on freepool exhaustion and lease-end reclamation. Output as: a capacity allocation table, a recommended plugin + lease policy, the exact `openstack reservation lease create` examples, and the scheduler/aggregate config required. Caution: lease end can terminate or snapshot running instances depending on policy — make the end-of-lease action explicit so tenants are not surprised by data loss.
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 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.
-
Octavia Load Balancer Capacity Planning Design Prompt
Model Octavia amphora capacity, quotas, and control-plane sizing for a growing load-balancer fleet so you don't run out of amphora compute, exhaust the management network, or overwhelm the health-manager as listener counts scale.
-
Placement Inventory & Allocation Reconcile Prompt
Audit and reconcile the OpenStack Placement service for resource-provider inventory drift, leaked/orphaned allocations, and incorrect allocation ratios that cause phantom 'full' hypervisors or scheduling failures.
-
Cinder Scheduler Weigher & Capacity Filter Tuning Prompt
Tune the Cinder scheduler filters and weighers so volumes land on the right backend pool — balancing capacity, allocation ratio, and affinity — instead of clustering on one backend or hitting 'no valid backend'.
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.