When attempting to deploy VMware Cloud Foundation (VCF) Operations via VCF SDDC Manager, the deployment task fails at the "Upload VCF Operations binary to VCF Operations fleet management" stage. The task shows the following error:
|
Description
|
Upload VCF Operations binary to VCF Operations fleet management
|
|
Progress Messages
|
Upload binary content /nfs/vmware/vcf/nfs-mount/bundle/<directory>/Operations-Appliance-9.x.x.x.<build_number>.ova to VCF Operations fleet management failed
|
|
Error
|
Message: Upload binary content /nfs/vmware/vcf/nfs-mount/bundle<directory>/Operations-Appliance-9.x.x.x.<build_number>.ova to VCF Operations fleet management failed
Remediation Message:
Reference Token: <TOKEN_NUMBER>
Cause: Failed to retrieve binary source mapping details from VCF Operations Management at <FQDN> 401 : "{"code":401,"description":"Bad credentials"}"
|
Error in /var/log/vmware/vcf/domainmanager/domainmanager.log reveals a 401 UNAUTHORIZED error during the API call to VCF Fleet Management::
DEBUG [vcf_dm,<WORKFLOW_ID>] [c.v.e.s.r.c.LoggingHttpRequestInterceptor,dm-exec-#] Request URI: https://<FM_FQDN>/lcm/lcops/api/v2/settings/product-binaries
Request method: GET
Request body:
Response code: 401 UNAUTHORIZED
Response headers: [Date:"<DATE_TIME>", Content-Type:"application/json", Content-Length:"44", Connection:"keep-alive", X-Content-Type-Options:"nosniff", X-XSS-Protection:"1; mode=block", Cache-Control:"no-cache, no-store, max-age=0, must-revalidate", Pragma:"no-cache", Expires:"0", X-Frame-Options:"DENY", Content-Security-Policy:"script-src 'self'", Strict-Transport-Security:"max-age=31536000; includeSubDomains", Lcm-API-Version:"8.0"]
Response body: {"code":401,"description":"Bad credentials"}
ERROR [vcf_dm,<WORKFLOW_ID>] [c.v.e.s.v.s.UploadBinaryToVcfOpsMgmtAction,dm-exec-#] Error in uploading binary content /nfs/vmware/vcf/nfs-mount/bundle/<directory_id>Operations-Appliance-9.x.x.x.<build_number>.ova to VCF Operations Management
com.vmware.evo.sddc.common.vrealize.vrlcm.VrlcmException: Failed to retrieve binary source mapping details from VCF Operations Management at <FM_FQDN>