Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Stale OpenStack Regions in PCD
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Old OpenStack regions and endpoints still exist even after the PCD region is deleted.
Environment
- Private Cloud Director Virtualization - v2025.2 and Higher
- Private Cloud Director Kubernetes β v2025.2 and Higher
- Self-Hosted Private Cloud Director Virtualization - v2025.2 and Higher
- Self-Hosted Private Cloud Director Kubernetes - v2025.2 and Higher
Cause
- This is a known issue and a bug: PCD-2664 has been raised to track this matter.
- Do not create/delete an OpenStack region in PCD.
- To create/delete a PCD region:
- PCD SaaS Users: Contact Platform9 Support.
- PCD Self-Hosted Users: Follow the airctl region creation/deletion process.
Diagnostics
- Get the region list using the command given below, and see the stale region entry.
Openstack Command
βx
$ openstack region listβ+----------------+---------------+-------------+| Region | Parent Region | Description |+----------------+---------------+-------------+| Infra | None | || [REGION_1] | Infra | || [STALE_REGION] | Infra | |... more- Check if there are any endpoints available for the stale region.
Openstack Command
$ openstack endpoint list --region <STALE_REGION_NAME> -c Region -c "Service Name" -c "Service Type"β+----------------+----------------+----------------+| Region | Service Name | Service Type |+----------------+----------------+----------------+| [STALE_REGION] | octavia | load-balancer || [STALE_REGION] | resmgr | resmgr || [STALE_REGION] | designate | dns || [STALE_REGION] | watcher | infra-optim || [STALE_REGION] | nova | compute || [STALE_REGION] | glance | image |... moreWorkaround
Proceed with extreme caution. The steps below are non-recoverable and could result in a complete system outage.
- Always double-check the region ID before deletion to avoid affecting active deployments.
- This operation is safe and non-disruptive if performed correctly.
NOTE: DO NOT PERFORM THE DELETE OPERATION ON ANY WORKING REGION.
- Delete all endpoints associated with a given stale region, modify the script below using the stale region name, then execute it to remove the endpoints.
Bash Script
#!/bin/bashβecho "--- Capturing the endpoints in <stale-region-name>_endpoints_ids.txt ---"openstack endpoint list --region <STALE_REGION_NAME> -c id --format value <STALE_REGION_NAME>_endpoints_ids.txtβwhile IFS= read -r epval; do echo "Deleting endpoint ID - $epval" openstack endpoint delete $epvaldone < <stale-region-name>_endpoints_ids.txt- Verify if there is any endpoint available for the stale region.
Opnestack Command
$ openstack endpoint list --region <STALE_REGION_NAME> -c Region -c "Service Name" -c "Service Type"- Once all stale endpoints associated with a given stale region are removed. Perform the region delete operation.
Openstack Command
$ openstack region delete <STALE_REGION_NAME>Delete all endpoints in the stale region first, or will encounter the issue below.
Failed to delete region with ID '[stale-region-name]': Unable to delete region [stale-region-name] because it or its child regions have associated endpoints. (HTTP 403) (Request-ID: [req_id])
Validation
- Validate if the stale region is deleted, the below command should not show any stale region information.
Openstack Commands
$ openstack region listType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message