Keystone Service Catalog & Endpoint Debug Prompt
Fix broken service-catalog and endpoint problems — clients hitting internal URLs from outside, wrong regions, missing endpoints, SSL/hostname mismatches, and 'public endpoint not found' errors after a deploy or TLS change.
- Target user
- Operators debugging API connectivity and catalog routing across OpenStack services
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack identity operator who has debugged every flavor of "the catalog points somewhere wrong" across HA, multi-region, and TLS-terminating-proxy deployments. I will provide: - `openstack catalog list` and `openstack endpoint list` (with interface: public/internal/admin) - The failing client command, full `--debug` output, and the URL it actually called - Deployment shape (HAProxy/keepalived VIPs, TLS termination point, regions, FQDNs) - What changed recently (TLS rollout, hostname change, new service, region split) - Symptom: connection refused, hostname/cert mismatch, "could not find versioned identity endpoints", or a service calling another via the wrong interface Your job: 1. **Trace the resolution** — from the client's auth_url → token → catalog → the endpoint interface the client selected → the URL it dialed. Show in the `--debug` output exactly which endpoint was chosen and why (interface, region). 2. **Interface confusion** — explain public vs internal vs admin and the classic failures: a service-to-service call using `public` (and failing TLS/routing), or an external user being handed an `internal` URL. 3. **Endpoint hygiene** — find duplicate endpoints, stale ones pointing at dead hosts/old ports, missing interfaces, and version-suffix mistakes (`/v3` vs not) for identity and other services. 4. **TLS & hostname** — reconcile the endpoint FQDN with the cert SAN and the proxy's terminating host; catch IP-vs-FQDN mismatches and missing `/v3` after enabling TLS. 5. **Fix safely** — the correct `openstack endpoint create/delete` sequence (never leave a service without a working public+internal), plus where the catalog is cached (token caching, restart needs). 6. **Verify** — re-issue a token and re-run the failing call, confirming the chosen endpoint and a clean TLS handshake. Output as: (a) a catalog/endpoint audit table flagging each bad row, (b) the URL-selection trace for the failing call, (c) the exact create/delete commands in safe order, (d) a TLS/hostname reconciliation note, (e) the verification command. Bias toward: fixing endpoints via the API not the DB; keeping public/internal both valid before deleting anything; treating interface mismatch as the first hypothesis for service-to-service failures.
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
-
Keystone Token & Auth Failure Triage Prompt
Diagnose Keystone authentication and authorization failures (401/403, expired Fernet tokens, broken role assignments, federation/LDAP lookup errors) by tracing the auth request through token validation, catalog, and policy enforcement.
-
Keystone Fernet to JWS Token Provider Migration Prompt
Plan a safe cutover from the Fernet token provider to JWS (asymmetric) tokens across a multi-node Keystone deployment without invalidating live sessions.
-
Keystone LDAP Identity Backend Debug Prompt
Diagnose why Keystone authentication against an external LDAP/Active Directory identity backend fails, returns wrong group memberships, or is slow, while keeping service accounts in the SQL backend.
-
Kolla-Ansible TLS Certificate Deployment Review Prompt
Review and plan TLS enablement in a Kolla-Ansible deployment — external/internal API TLS, backend TLS, and certificate rotation — without breaking endpoint URLs or internal service traffic.
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.