/var/log/vmware/prelude), errors similar to the following indicating that pods are not reaching a ready state:[ERROR][<timestamp>][vROFQDN] Pod: <pod_name>-#######-##### is not in Ready or Completed state. All pods must be in either of these states.
[ERROR][<timestamp>][vROFQDN] Services verification found errors.kubectl get pods -AVMware Aria Automation Orchestrator 8.18.x
kube-system namespace have been running for an extended period (greater than 30 days) and have become stale and / or are not healthy.vco application service pods (prelude namespace) to fail the readiness verification.Revert the environment back to the snapshot taken prior to the first upgrade attempt.
Connect to the VMware Aria Automation Orchestrator appliance via SSH.
Stop the services in the environment by running the following command:
/opt/scripts/deploy.sh --onlyClean
Verify the age of the kube-system pods:
kubectl get pods -n kube-system
If the pod AGE is greater than 30 days, restart the kube-system namespace pods:
kubectl delete pod -n kube-system --all
Redeploy the platform scripts to initialize the refreshed pods:
/opt/scripts/deploy.sh
Perform a cleanup of the prelude upgrade files from the previous failed attempt and clear the associated cron jobs:
vracli cluster exec -- bash -c 'rm -rf /data/restorepoint /var/vmware/prelude/upgrade /var/log/vmware/prelude/upgrade-report-latest*; crontab -u root -l | grep -v -F "/opt/scripts/upgrade/upg-mon.sh" | crontab -u root -'
Start the environment services again:
/opt/scripts/deploy.sh
Reattempt the upgrade