Creating a new cluster using SDDC Manager fails at task "Upload vSphere Lifecycle Manager Image to vCenter Server" with UNAUTHENTICATED ERROR
search cancel

Creating a new cluster using SDDC Manager fails at task "Upload vSphere Lifecycle Manager Image to vCenter Server" with UNAUTHENTICATED ERROR

book

Article ID: 434628

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • The "Upload vSphere Lifecycle Manager Image to vCenter Server" sub-task fails during add cluster workflow with error -

Failed to upload Image Zip [https://sddc_fqdn/vmware/vcf/personalities/####-####-####-####-####/Content/OFFLINE_BUNDLE_####-####-####-####-####.zip] to vcenter.Cause: Exception occurred during vAPI invocation:
java.util.concurrent.ExecutionException:
com.vmware.vapi.std.errors.Unauthenticated: Unauthenticated
(com.vmware.vapi.std.errors.unauthenticated) => { messages = [], data =
<null>, errorType = UNAUTHENTICATED, challenge = SIGN

  • The error below appears in the SDDC Manager log - /var/log/vmware/vcf/domainmanager/domainmanager.log - 

YYYY-MM-DDThh:mm:ss.sss+ssss DEBUG [vcf_dm,####,####] [c.v.e.s.o.c.c.ContractParamBuilder,dm-exec-4] Contract task Upload the ESX image & VIBs (aka personality) to Image
Depot Manager in vcenter input: {"vcConnection":{"address":"vcenter_fqdn","port":0,"username":"[email protected]","password":"*"},
"description":"####-####-####-####-####",
"zipLocations":["https://sddc_fqdn/vmware/vcf/personalities/####-####-####-####-####/Content/OFFLINE_BUNDLE_####-####-####-####-####.zip"]}

YYYY-MM-DDThh:mm:ss.sss+ssss ERROR [vcf_dm,####,####] [c.v.v.s.https.vapi.VapiClientFactory,dm-exec-4] Exception occurred during vAPI invocation
java.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.Unauthenticated: Unauthenticated (com.vmware.vapi.std.errors.unauthenticated) => {
messages = [],
data = ,
errorType = UNAUTHENTICATED,
challenge = SIGN realm="##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:#",sts="https://vcenter_fqdn/sts/STSService/vsphere.local", Basic realm="vCenter"
}

Caused by: com.vmware.vapi.std.errors.Unauthenticated: Unauthenticated (com.vmware.vapi.std.errors.unauthenticated) => {
messages = [],
data = ,
errorType = UNAUTHENTICATED

Environment

VCF 5.2.0.0

VCF 9.x

Cause

  • The workflow was started at a point in time with a password that was valid at that point in time.
  • Thereafter the password was rotated, meaning the password in the workflow spec was now invalid - thus any subsequent retry of the workflow results in an unauthenticated status.

Resolution

  • Use the article below to export the workflow spec, update the password, reinject the workflow spec, and retry the failed task - 

https://knowledge.broadcom.com/external/article?articleNumber=314620