Stale OpenStack Regions in PCD

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.

Diagnostics

  1. Get the region list using the command given below, and see the stale region entry.

$ openstack region list

+----------------+---------------+-------------+
| Region         | Parent Region | Description |
+----------------+---------------+-------------+
| Infra          | None          |             |
| [REGION_1]     | Infra         |             |
| [STALE_REGION] | Infra         |             |
... more
  1. Check if there are any endpoints available for the stale region.

Workaround

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.

  1. 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.

  1. Verify if there is any endpoint available for the stale region.

  1. Once all stale endpoints associated with a given stale region are removed. Perform the region delete operation.

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.

Last updated