Recommission host failing with an error 'Failed to allocate IPs from networks with error'
Host was decommissioned due to hardware failure, reimaged and attempt was made to re-add to same IP configuration.
Information can be gathered from logs:
domainmanager.log
[YYYY-MM-DDTHH:MM:SS] ERROR [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.c.s.a.n.NetworkPoolAdapterImpl,dm-exec-13] Error occurred fetching all the networks from the network pool ########-####-####-####-9650ff67187c
[YYYY-MM-DDTHH:MM:SS] DEBUG [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.c.s.utils.IpAllocationUtil,dm-exec-13] ESXi Host <ESXiHostname.domain> does not have an allocated IP for network type VMOTION
[YYYY-MM-DDTHH:MM:SS] WARN [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.c.s.a.n.NetworkPoolAdapterImpl,dm-exec-13] There are no IP addresses blocked for network ########-####-####-####-5de85c262059.
[YYYY-MM-DDTHH:MM:SS] INFO [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.c.s.a.n.NetworkPoolAdapterImpl,dm-exec-13] Unblocking all IP addresses in the network ########-####-####-####-e4f18a06693c for the execution ID ########-####-####-####-3c2b05c70828.
[YYYY-MM-DDTHH:MM:SS] WARN [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.c.s.a.n.NetworkPoolAdapterImpl,dm-exec-13] There are no IP addresses blocked for network ########-####-####-####-e4f18a06693c.
[YYYY-MM-DDTHH:MM:SS] INFO [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.c.s.a.n.NetworkPoolAdapterImpl,dm-exec-13] Unblocking all IP addresses in the network ########-####-####-####-5de85c262059 for the execution ID ########-####-####-####-3c2b05c70828.
[YYYY-MM-DDTHH:MM:SS] WARN [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.c.s.a.n.NetworkPoolAdapterImpl,dm-exec-13] There are no IP addresses blocked for network ########-####-####-####-5de85c262059.
[YYYY-MM-DDTHH:MM:SS] ERROR [vcf_dm,50bfa8598976449f,38a0] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-13] [MP29FJ] SDDC_MANAGER_FAILED_TO_ASSIGN_IP Failed to allocate IPs from networks with error:
Confirm the Networks for which above mentioned IDs belong to
In this case,
########-####-####-####-e4f18a06693c - vMotion
########-####-####-####-5de85c262059 - vSAN
Update network information using the public APIs Network Pools APIs | VMware Cloud Foundation API
If unable to complete the task, please contact VMware Broadcom GS to manually edit the SDDC Manager database