Symptoms:
WLD Domain creation task fails during "Create VCF Domain Inventory Object Action" and a similar error log is present in /var/log/vmware/vcf/domainmanager/domainmanager.log on the SDDC Manager:
ERROR [vcf_dm,60a85256b1d98ee8,a786][c.v.v.c.f.a.BaseCreateVcfClusterObjectAction,dm-exec-5] Could not fetch network for type
Also the network pool used for the domain cannot be deleted, even though the hosts associated with it are decommissioned:
A vSAN portGroup transportType is used in Domain Creation API, while the associated network pools of the hosts used, do not contain a vSAN network.
Do not use the consumed IP addresses of the used network pool.
See the following KB which contains a script to remove stale ip addresses:
Workaround:
If the above does not work then open a case with Technical Support for them to manually delete the allocated IPs by the failed Domain Creation in the database, or the whole network_pool if it is not used by other hosts.