Failed to validate NTP configuration. Validate input specification as new NtpConfiguration to VMware Cloud Foundations."Via API:
Message: Error occurred while validating details of entities.Remediation Message: Please make sure all the entities are reachable and ACTIVE.
/var/log/vmware/vcf/operartionsmanager/operationsmanager.logYYYY-MM-DDTHH:MM:SS ERROR [vcf_om,xxxxxxxxxxxxxxxxxxxxxxxxxxx,zzzz] [c.v.v.s.s.v.SystemConfiguratorEntitiyStateValidator,om-exec-18] Error occurred while checking the maintenance mode state for the host <ESXi Host FQDN>.com.vmware.vcf.systemconfigurator.error.SystemConfiguratorException: Host is in MAINTENANCE mode<ESXi Host FQDN> at com.vmware.vcf.systemconfigurator.services.validators.SystemConfiguratorEntitiyStateValidator.checkHostMaintenanceMode(SystemConfiguratorEntitiyStateValidator.java:389) at com.vmware.vcf.systemconfigurator.services.validators.SystemConfiguratorEntitiyStateValidator.validate(SystemConfiguratorEntitiyStateValidator.java:108) at com.vmware.vcf.systemconfigurator.services.validators.SystemConfigurationsValidator.lambda$validateEntitiesState$0(SystemConfigurationsValidator.java:111) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at com.vmware.vcf.common.tracing.TraceRunnable.run(TraceRunnable.java:59) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840)YYYY-MM-DDTHH:MM:SS ERROR [vcf_om,xxxxxxxxxxxxxxxxxxxxxxxxxxx,zzzz] [c.v.v.s.s.v.SystemConfiguratorEntitiyStateValidator,om-exec-18] Entity state validation failedcom.vmware.vcf.systemconfigurator.error.SystemConfiguratorException: Error occurred while checking the maintenance mode state for the host <ESXi Host FQDN>. at com.vmware.vcf.systemconfigurator.services.validators.SystemConfiguratorEntitiyStateValidator.checkHostMaintenanceMode(SystemConfiguratorEntitiyStateValidator.java:413) at com.vmware.vcf.systemconfigurator.services.validators.SystemConfiguratorEntitiyStateValidator.validate(SystemConfiguratorEntitiyStateValidator.java:108) at com.vmware.vcf.systemconfigurator.services.validators.SystemConfigurationsValidator.lambda$validateEntitiesState$0(SystemConfigurationsValidator.java:111) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) at com.vmware.vcf.common.tracing.TraceRunnable.run(TraceRunnable.java:59) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840)YYYY-MM-DDTHH:MM:SS DEBUG [vcf_om,xxxxxxxxxxxxxxxxxxxxxxxxxxx,zzzz] [c.v.v.s.u.SystemConfigErrorLocalizationUtil,om-exec-18] Locale from LocaleContextHolder - en_US
VCF 9.x
SDDC 5.x
This issue occurs due to a mismatch between the DNS name of the ESXi host recorded in SDDC Manager and the DNS name actually configured on the ESXi host.
To successfully set the NTP configuration on the SDDC Manager, ensure the ESXi host's hostname is consistent across both the SDDC and the host itself.
esxcli system hostname get
https://<ESXi FQDN>/mob/?moid=ha-searchindex&method=findByDnsName (Provide the details below and proceed with Invoke method)datacenter - emptydnsName - <ESXi FQDN>vmSearch - falseesxcli system hostname set --fqdn=<esx_host_fqdn>
Alternatively, you can set the host and domain separately:
esxcli system hostname set --host=<esx_short_name> --domain=<domain_name>
{ "ntpServers": [ { "ipAddress": "<ntp fqdn/ip>" } ]}NTP configuration may also fail if SDDC Manager is unable to validate the maintenance mode state of hosts that are already in maintenance mode. In such cases, identify the host from the logs, exit it from maintenance mode, and then reconfigure NTP.
Ensure bi-directional ICMP traffic is allowed between SDDC Manager and the DNS/NTP servers.