Powering on with the domain join option enabled in guest customization fails with the error: 'Unable to create deployment package'
search cancel

Powering on with the domain join option enabled in guest customization fails with the error: 'Unable to create deployment package'

book

Article ID: 396201

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

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.log

Unable 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

Environment

VMware Cloud Director 10.5.x, 10.6.x

Cause

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. 

Resolution

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.