Unable to Delete Network Host Config from UI

Problem

Unable to delete network host config from the UI even if it is not being used by any host.

Environment

  • Private Cloud Director Virtualization - v2025.4 and Higher
  • Self-Hosted Private Cloud Director Kubernetes - v2025.4 and Higher
  • Component: Host Configuration Management (resmgr database)

Cause

The host configuration was previously associated with a host that has since been decommissioned. However, a stale mapping entry remains between the host and host configuration in the host_to_hostconfig_map table of the Resmgr database.

This issue is tracked under bug PCD-407 and is now fixed on PCD 2025.6-151 above release, which prevents new stale mappings from being created.

Existing stale entries from earlier versions will persist after the upgrade; it's recommended to follow the steps mentioned in the Resolution to delete the stale entries.

Diagnostics

  1. Retrieve the token:
command
Copy
  1. Get the list of host configs:
API call
Copy
  1. Get the list of hosts that use the host config that needs to be deleted:
API call
Copy

Resolution

  1. Delete the stale host config mapping

Run below for each [HOST_ID]returned in the output of command executed in the point number 3 in Diagnostics section

API call
Copy
  1. Delete the host Configuration after removing all the mappings
API call
Copy

Validation

Check the UI to confirm that the previously stale host configuration no longer appears.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard