Unexpected VMware Cloud Director error. [...] Computer name cannot be longer than 15 characters
VMware Cloud Director Availability 4.x
Due to restrictions in the guest OS for Windows based operating systems, computer names are restricted to 15 characters in VMware Cloud Director environments. In some cases, the computer name is set to the fully qualified domain name for the virtual machine rather than the host name for the device, which increases the length of the entry.
In order to avoid this restriction, confirm that the computer name is set to a value that is 15 characters or less in the source VMware Cloud Director site, as discussed in the following document:
Edit Virtual Machine Properties in the VMware Cloud Director Tenant Portal
If the computer name on the item includes the domain (e.g., mycomputer.mydomain.local), restrict the value to only include the host name (e.g., mycomputer).
Additionally, validate that the guest customization configuration in VMware Cloud Director Availability (vCDA) is set to a value that is 15 characters or less and only contains the computer name:
All Actions > Recovery settings
.Guest customization
.General
section.Guest customization
is activated, confirm that the Computer Name
contains a valid entry.