"Unexpected vSphere Client error has occurred"Logs from Kubernetes "sddc-build-service" name space reports vAPI invocation exception:
Login to VSP node using vmware-system-user and run the command: kubectl logs <vcf-sddc-build-service-pod-name> -n vcf-sddc-lcm
Creating new session on vcf-example.com for [email protected] with custom trustYYYY-MM-DDTHH:MM:SS ERROR sddc-build-service 44 [lcm@4413 scPath="ops" thread="system-task-worker-15" logger="c.b.v.v.client.VcenterVapiHelper" method="invoke:36"] [####-####-####-####, taskId=####-####-####-####] - Exception occurred during VC vAPI invocationYYYY-MM-DDTHH:MM:SS stdout F java.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.Unauthenticated: Unauthenticated (com.vmware.vapi.std.errors.unauthenticated) => {YYYY-MM-DDTHH:MM:SS stdout F messages = [],YYYY-MM-DDTHH:MM:SS stdout F data = <null>,YYYY-MM-DDTHH:MM:SS stdout F errorType = UNAUTHENTICATED,YYYY-MM-DDTHH:MM:SS stdout F challenge = SIGN realm="####-####-####-####",sts="https://vcf-testqdn.com/sts/STSService/vsphere.local", Basic realm="vCenter"
The/var/log/vmware/sso/vmware-identity-sts.logon the vCenter appliance reports: "Failed to authenticate principal [[email protected]] for tenant [vsphere.local]"
In a VVF environment, rotating the SSO administrator ([email protected]) password does not automatically update the vcf-iam-vcenter-admin secret in the VCF platform management cluster. This results in an authentication mismatch during component deployment.
Broadcom is aware of this issue. This is targeted to be fixed in a future release.
To resolve the authentication failure, manually patch the Kubernetes secret:
NEW_PASSWORD='#######'NOW=$(date -u +"%Y-%m-%dT%H:%M:%SZ")kubectl patch secret vcf-iam-vcenter-admin -n vcf-sddc-lcm \ --type=merge \ -p "{ \"data\": { \"clientSecret\": \"$(echo -n "${NEW_PASSWORD}" | base64 -w 0)\" }, \"metadata\": { \"annotations\": { \"vcf.broadcom.com/last-rotated-date\": \"${NOW}\" } } }"
Expected Output: secret/vcf-iam-vcenter-admin patched
kubectl get secret vcf-iam-vcenter-admin -n vcf-sddc-lcm -o yamlIf you require further assistance, see Contact Support.