Symptoms
An error message halts provisioning, machines provide one of the following error messages:
AGENT_CUSTOMIZATION_FAULT - Internal template vm-XX customization failed. Failed To Obtain Valid IP Address. Address assigned (X.X.X.X). Check DHCP server connectivity.
AGENT_CUSTOMIZATION_FAULT - InternalTemplate vm-XXXX customization failed. Failed To Obtain Valid IP Address. No valid network adapters found on vm.
AGENT_CUSTOMIZATION_FAULT - InternalTemplate vm-XXXX customization failed. Failed To Obtain Valid IP Address. Some adapters were disconnected.
Purpose
To highlight a potential error response when customizing Horizon Instant Clones.
Cause
Invalid IP assignments can have a multitude of causes.
Resolution
DHCP (Dynamic Host Configuration Protocol) Server Connectivity:
Check the network settings of the Horizon Agent Machine to ensure that it is configured to obtain an IP address from the DHCP server.Check the connectivity between the VM and the DHCP server. Ensure that there are no firewall or network configuration issues that are preventing communication between the two.Verify that the DHCP server is functioning properly and that it is configured to assign IP addresses to VMs.
For additional details on troubleshooting DHCP from the perspective of the DHCP Server, please see Microsoft Documentation: Troubleshoot problems on the DHCP serverHorizon Agent Machine Network Adapter Issues:
Ensure your image is prepared following the best practices outlined in Horizon View Best Practices: Parent Image Creation and Maintenance. (90152)Ensure you pay close attention chose appropriate supported hardware for the Ethernet Adapter. Reference: Virtual Machine Custom Configuration Parameters (vmxnet3 for Windows)Ensure your version of VMware tools is compatible with your specific edition of Horizon View. Reference: InteropMatrix
Note: Network Adapter Disconnections can trickle up as a consequence of Esxi Host Level issues.Please find a range of resources below to assist in troubleshooting.
Network adapter (vmnic) is down or fails with a failed criteria code (2014553)Troubleshooting network connection failures (1008367)Troubleshooting network receive traffic faults and other NIC errors in ESXi (50121760)Network connectivity loss on virtual machines with Windows Guest OS configured with VMXNET3 nic after VMware Tools (11.3.5 or later) downgrade (88209)ESXi hosts have intermittent or no network connectivity (1004109)
Related Information
This is a child article of AGENT_CUSTOMIZATION_FAULT - An Index of Instant Clone Customization Errors (90884)