Error: "Cannot complete login due to an incorrect user name or password" when a Virtual machine with Guest Customization is powered on
search cancel

Error: "Cannot complete login due to an incorrect user name or password" when a Virtual machine with Guest Customization is powered on

book

Article ID: 444216

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Failed to power on the VM including "#" in the VM name and enabling Guest Customization.


  • Within the log file /opt/vmware/vcloud-director/logs/vcloud-container-debug.log the following error is observed:
    yyyy-mm-dd hh:mm:ss,sss | DEBUG    | task-service-activity-pool-35062 | CJob                           | updateFailedJob(com.vmware.ssdc.util.LMException) with locale=ja_JP | requestId=####,request=POST https://####/api/vdc/####/action/instantiateVmFromTemplate,requestTime=####,remoteAddress=####,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:150.0) Gecko/201...,accept=application/*+xml;version ## vcd=####,task=#### activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:####)
    com.vmware.ssdc.util.LMException: Cannot complete login due to an incorrect user name or password.
            at com.vmware.ssdc.util.LMException.wrap(LMException.java:135)
            at com.vmware.vcloud.val.filetransfer.impl.FileTransferToRemoteHostActivity$TransferToRemoteHostPhase.invokeCancelableOperation(FileTransferToRemoteHostActivity.java:115)
            at com.vmware.vcloud.common.activity.toolkit.VcdAbstractActivity$CancelablePhase.invoke(VcdAbstractActivity.java:591)
            at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
            at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
            at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
            at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
            at java.base/java.lang.Thread.run(Thread.java:829)


  • Within the ESXi log file /var/log/vmware/hostd.log the following error is observed:
    yyyy-mm-dd hh:mm:ss,sssZ warning hostd[2100249] [Originator@6876 sub=Vimsvc.CgiServiceManager] Path for ticket is not valid: ***####: '/folder/####/cust####.cab?dsName=####' != '/folder*/*/cust*.cab'

Environment

VMware Cloud Director 10.6

Cause

This issue could occur due to special character restrictions in vSphere.
For more information, see Troubleshooting issues with VMs or datastore names containing special characters .

Resolution

Special characters such as "#" should be avoided in VM names to prevent potential issues.