Power on of a Vapp/VM with guest customization that is enabled to join the machine to domain it fails with the below error
Log location:/opt/vmware/vcloud-director/logs/vcloud-container-debug.logUnable to create deployment package. - Failed to execute process [/opt/vmware/vcloud-director/deployPkg/deployPkg]. Standard Output: Logging in /tmp/vmware-imc/deploypkg-######-####-####-####.log Standard Error: Deployment failed. Runtime error: /opt/vmware/vcloud-director/tmp/cust#########.cfg(11): expected >. Log can be found at: /tmp/vmware-imc/deploypkg-######-####-####-####.log
VMware Cloud Director 10.5.x, 10.6.x
This is because of the character '<' present in the domain password that is used to join the machine to domain. In XML some characters like <,& are reserved for markup which causes conflict with the password that is used.
Engineering is aware of this issue where they are evaluating the fix. There is no ETA for it.
Workaround:
Make sure to exclude character '<' in the domain password that is used to join the machine to domain.