Users may observe one or more of the following:
platform-vc-serviceaccount-httpPlatform Health Check,Failed,Platform Health Check Error [platform-vmsp-platform-platform-vc-serviceaccount-http : Unexpected status code: 401 expected: 200, response body: "{\"type\":\"com.vmware.vapi.std.errors.unauthenticated\",\"value\":{\"error_type\":\"UNAUTHENTICATED\",\"challenge\":\"SIGN realm=\\\"<SHA1_THUMBPRINT>\\\",sts=\\\"https://<MGMT_VC_FQDN>/sts/STSService/vsphere.local\\\", Basic realm=\\\"vCenter\\\"\",\"messages\":[]}}"] [VCFMS-HEALTH-002]Platform Health Check,Failed,Platform Health Check Error [platform-vmsp-platform-platform-snapshots-snapshot : unable to create vSphere client: ServerFaultCode: Cannot complete login due to an incorrect user name or password.] [VCFMS-HEALTH-002]Invoke attached script that takes vCenter admin credentials to remediate the vCenter service account used by VCF services runtime / VCF Automation.
Step 1: Copy the remediation script to the control plane node
From a machine that can reach the node, copy the script to /home/vmware-system-user:
scp service-account-remediation.sh vmware-system-user@<node-ip>:/home/vmware-system-user/service-account-remediation.sh
Step 2: Connect to the cluster node and initialize access
Follow Broadcom Document: Establish an SSH Connection to a VCF Services Runtime Instance
Step 3: Run the script
chmod +x /home/vmware-system-user/service-account-remediation.sh
/home/vmware-system-user/service-account-remediation.sh
The script will prompt for a vCenter administrator credentials and vmware-system-user credentials of VCF Service runtime. Using those credentials, the script will trigger an operation to fix the vCenter service account used by VCF services Runtime.
Note: Follow the above steps and use the same script to fix the vCenter service account of VCF Automation by running it from any of the VCF Automation node.