Unable to Delete Stale Compute Service

Problem

  • Unable to delete stale compute service with the below error.
openstack command
Copy

Environment

  • Private Cloud Director Virtualization - v2025.4 and Higher
  • Self-Hosted Private Cloud Director Virtualization - v2025.4 and Higher
  • Nova

Cause

  • Forcefully removing a host from PCD, resulting in incomplete cleanup of resources on the management plane.

Diagnostics

  • Compute Service List:
Openstack Command
Copy
  • Resource Provider List:
Openstack Command
Copy
  • Nova API Pod Logs:
    • First grep the Nova API logs with compute service UUID and Note the Deletion Request ID.
Nova API logs
Copy

- Now grep the Nova API logs with Deletion Request ID and Note the Missing Resource Provider UUID.

Nova API Logs
Copy
  • Based on above logs, as part of compute service deletion Nova is trying to delete the associated resource provider in Placement, but it's unable to locate it in the ProviderTree.

Resolution

  • Created a dummy Resource Provider with the same UUID that Nova is looking for during compute service deletion.
Openstack Command
Copy
  • Verify if the dummy Resource Provider with the same UUID is created.
Openstack Command
Copy
  • Now, Delete the Compute service.
Openstack Command
Copy

Validation

  • Check the Complete Services list.
Openstack Command
Copy

Additional Information

  • Please consult our documentation for the recommended procedure for offboarding a host from PCD.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard