Failed to deploy workload domain in VCF 5.1.0.0-22688368 with error:
Message: Hosts cannot be added to the cluster domain-c0000
Remediation Message:
Reference Token: 366VGF
Cause: Retriable operation 'Adding host host000.xxxxx.xxxxxx.xxxxx.xxxxx to cluster domain-c0000' failed to complete after 6 retries. Unexpected status code: 503
2024-02-22T20:33:14.770+0000 ERROR [vcf_dm,4097b82353e3423528,55ee] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-9] [G7A1gS] VSPHERE_HOSTS_CANNOT_BE_ADDED_TO_CLUSTER Hosts cannot be added to the cluster domain-c0000
com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Hosts cannot be added to the cluster domain-c0000
at com.vmware.vcf.common.fsm.plugins.action.impl.BaseHostsInClusterAction.addHostsToClusterAction(BaseHostsInClusterAction.java:329)
//vpxd log:
2024-02-22T20:00:11.606Z error vpxd[22093] [Originator@6876 sub=Default opID=26c7ed76] [VdbStatement] [19]datatype: 7, size: 52, arraySize: 0
2024-02-22T20:00:11.606Z error vpxd[22093] [Originator@6876 sub=Default opID=26c7ed76] [VdbStatement] value = "Vcenter000.xxxxx-xxxx-xxx-xxxx-xxxxxxx-xxxxxx
2024-02-22T20:00:11.631Z error vpxd[22093] [Originator@6876 sub=Default opID=26c7ed76] An unrecoverable problem has occurred, stopping the VMware VirtualCenter service. Error: Error[VdbODBCError] (-1) "ODBC error: (22001) - ERROR: value too long for type character varying(50);
--> Error while executing the query" is returned when executing SQL statement "UPDATE VPX_HOST SET DATACENTER_ID=?,DNS_NAME=?,HOST_KEY=?,IP_ADDRESS=?,EXPECTED_SSL_THUMBPRINT=?,HOST_SSL_THUMBPRINT=?,HOST_SSL_CERTIFICATE=?,USER_NAME=?,PASSWORD=?,PASSWORD_LAST_UPD_DT=?,SOAP_PORT=?,AUTHD_PORT=?,ENABLED=?,VPXA_ID=?,VMOTION_ENABLED=?,FAULTTOLERANCE_ENABLED_FLG=?,LICENSED_EDITION=?,LOCAL_IP_ADDRESS=?,ADMIN_DISABLED_FLG=?,MANAGEMENT_IP=?,AGENT_VM_DATASTORE_ID=?,AGENT_VM_NETWORK_ID=?,GATEWAY_TYPE=?,GATEWAY_ID=?,GATEWAY_TRUST_TOKEN=? WHERE ID=?"
2024-02-22T20:00:11.639Z panic vpxd[22093] [Originator@6876 sub=Default opID=26c7ed76]
-->
--> Panic: Unrecoverable VmRootError. Panic!
//related codes:
private TaskInfo getTaskInfo(final Task task) {
BlockingFuture<TaskInfo> p = new BlockingFuture<>();
task.getInfo(p);
try {
return p.get(10, TimeUnit.MINUTES);
} catch (ExecutionException | InterruptedException | TimeoutException ex) {
log.error(
"Unable to retrieve task {} info: {}",
getTaskLoggingInfo(task._getRef()),
ex.getMessage(),
ex);
return null;
}
}
VCF 5.1.0.0-22688368
Failed to create workload domain with vCenter FQDN of length greater than 50 Characters
Change the vCenter FQDN/DNS name length to shorter then 50 Characters and redeploy the workload domain.