["status":"ERROR", "statusCode":"INTERNAL_SERVER_ERROR", "message":"Error occurred while downloading log bundle","resourceIdentifier":null,"errorCode":0,"errors":null}VCF Operations > Fleet Management > Lifecycle > VCF Management > Manage VCF Automation, the VCF Automation component details; vmware-system-user password alias differs from the alias marked as "in use" in the Locker..tar.gz archive./var/log/vrlcm/vmware_vrlcm.log file in VCF Fleet Management displays the following error stack trace:INFO vrlcm[#######] [http-nio-8080-exec-6] [c.v.v.l.l.c.DeploymentsController] -- Rest GET call to invoke the downloadurl:https://<VCFA_VIP>/supportbundles/vcfa-bundle-########T######Z-########T######Z-#####.tar.gz
...
ERROR vrlcm[#######] [http-nio-8080-exec-4] [c.v.v.l.l.c.InputValidationExceptionHandlingController] -- Handling RuntimeException with error message: Error occurred while downloading log bundle
java.lang.RuntimeException: Error occurred while downloading log bundle
...
Caused by: java.io.IOException: Failed to download file: 401
at com.vmware.vrealize.lcm.lcops.controller.DeploymentsController.downloadLogBundleFile(DeploymentsController.java:3052)vmware-system-user password was changed outside of VCF Fleet Management, and the internal Kubernetes secrets on the VCFA appliance were not properly updated to reflect this new password.root account password on the VCFA appliance has expired. Log bundle generation requires temporary sudo privilege escalation to read Kubernetes configurations. The expired root password blocks this escalation, crashing the log generation process and resulting in an empty archive and subsequent 401 download error.vmware-system-user password is known and that SSH access is available on all nodes of the VCF Automation cluster. If not, refer to the KB article below for guidance:vmware-system-user and remove the password expiration policy for the root account.vmware-system-uservmware-system-user account.YOUR-NEW-PASSWORD with the correct password):HASH=$(echo 'YOUR-NEW-PASSWORD' | vmsp passwd --password-stdin)SECRET=$(echo $HASH | base64 -w 0)
echo $SECRETecho $SECRET command.root and load the Kubernetes admin config:sudo -i
export KUBECONFIG=/etc/kubernetes/admin.confkubectl get secrets -n vmsp-platform | grep sshOUTPUT-OF-$SECRET] from Step 1(iv) with your actual values):kubectl patch secret vcf-mgmt-########-ssh-password-secret -n vmsp-platform -p "{\"data\":{\"sshPassword\":\"[OUTPUT-OF-$SECRET]\"}}"root, run the following command to set the root password to never expire:chage -m 0 -M -1 rootadmin to VCF Operations UI ( https://<VCF_OPS_FQDN_IP)/ui )Fleet Management > Lifecycle > VCF Management > Manage VCF Automationvmware-system-user password alias now matches the "in use" reference in the Locker.vmware-system-user and run the following commands to list generated log bundle ensuring it is not a empty generated log bundle:sudo -i
export KUBECONFIG=/etc/kubernetes/admin.conf
K8S_TOKEN=$(kubectl get secrets synthetic-checker-krp -n vmsp-platform -ojsonpath={.data.token} | base64 -d)
PRIMARY_VIP=$(kubectl get gateway/vmsp-gateway -n istio-ingress -ojsonpath={.status.addresses[0].value})
curl -k -XPOST -H "Authorization: Bearer ${K8S_TOKEN}" "https://${PRIMARY_VIP}:30005/webhooks/vmsp-platform/supportbundle/list".tar.gz archive.root user to enable the VCF Fleet Management UI to access Locker:touch /var/lib/vrlcm/UI_ENABLED#Identify the pod responsible for generating the logs: (Eg: supportbundle-vmsp-platform-generate-hook-######-##### )
kubectl get pods -A
#Modify the below command with the correct pod name to view the logs
kubectl logs -f supportbundle-vmsp-platform-generate-hook-######-##### -n vmsp-platform