After upgrading the ESXi host to version 8.0 U3, the Distributed Resource Scheduler (DRS) is no longer functioning, and the cluster service health status is showing as Degraded/Unhealthy.
VMware vSphere ESXi 8.0U3
This issue is primarily attributed to an unsupported or malformed hostname configuration present either within the ESXi host's /etc/hosts file or its general system settings. Common problematic formats that prevent proper hostname resolution and registration include, but are not limited to, trailing characters such as periods (e.g., esxi101., esxi101.example.com.), hyphens (e.g., esx-, esxi101.example.com-), or unintended trailing spaces (e.g., "esxi101.example.com "). Such syntactical inaccuracies prevent the ESXi host and dependent services, notably vCLS, from correctly identifying and utilizing the hostname, leading to operational failures.
The following steps outline the recommended procedure to resolve the identified issue and ensure correct vCLS pod configuration on the affected ESXi host.
1. Enable Cluster Retreat Mode
2. Correct Hostname Configuration
esxcli system hostname set --host <correct_hostname> --domain <correct_domain.com><correct_hostname> and <correct_domain.com> with the appropriate values for your environment (e.g., --host esx --domain example-domain.com).3. Verify Hostname Configuration
/etc/hosts file. Ensure that the complete hostname, including the domain, is now correctly reflected within the file.4. Confirm vCLS Pod Setting
configstorecli config current get -c esx -g infravisor_pods -k vcls5. Initiate vCLS Pod Creation
configstorecli config current set -c esx -g infravisor_pods -k vcls -p /pod_settings/enabled -v truecli [root@hostname1:/var/run/crx/infra] configstorecli config current set -c esx -g infravisor_pods -k vcls -p /pod_settings/enabled -v true Set: completed successfully6. Ascertain vCLS Pod Operational Status
inf-cli get pods -n vcls7. Restart Essential Services
hostd, vpxa, and Infra services on the ESXi host to ensure that all changes are fully applied and take effect./etc/init.d/hostd restart /etc/init.d/vpxa restart /etc/init.d/infravisor restartvSphere 8.0 Update 3 uses vCLS 2.0 by default.
NOTE: The hostname can also be changed via DCUI
Additional information on hostname changes: KB307780