Unable to Delete Network Host Config from UI
Problem
Unable to delete network host config from the UI, even if the host is not using it.
Environment
Private Cloud Director Virtualization - till 2025.4-497
Self-Hosted Private Cloud Director Kubernetes - till 2025.4-497
Component: Blueprint
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 the host configuration in the host_to_hostconfig_map table of the Resource Manager database.
This issue is tracked under bug PCD-407 and is now fixed in PCD 2025.6-151 and later releases, which prevent new stale mappings from being created.
Workaround
Retrieve the token:
token=$(openstack token issue -f value -c id)Get the list of host configs:
Get the list of hosts that use the host config that needs to be deleted:
Delete the stale host config mapping. Run below for each
[HOST_ID]returned in the output of the command executed in the above output
Delete the host Configuration after removing all the mappings
Validation
Check the UI to confirm that the previously stale host configuration no longer appears.
Last updated
