vRealize Orchestrator upgrade fails with error "Shutting down Infrastructure Services"
search cancel

vRealize Orchestrator upgrade fails with error "Shutting down Infrastructure Services"

book

Article ID: 345988

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • vRealize Orchestrator upgrade fails with error "Shutting down Infrastructure Services" 
  • Running deploy.sh script succeeds without any errors
  • No new deploy.log are created under /var/log directory


Environment

VMware vRealize Orchestrator 8.x

Cause

  • We could see 4 commented out lines in the deploy.sh script.
  • These lines are responsible for logging the output of the deploy.sh script to /var/log/deploy.log. Since these were commented and not executing these logs were not created.
  • In the upgrade code there are a couple of places that require that file to be present otherwise the upgrade fails.

Resolution

To resolve this :

  1. Revert back to the snapshot before the upgrade. 
  2. ssh to the vRO appliance as root
  3. Edit the deploy.sh script :
vi /opt/scripts/deploy.sh
  1. Uncomment the below lines :
f [[ -f /var/log/deploy.log ]] && [[ ! -h /var/log/deploy.log ]]; then
    mv /var/log/deploy.log /var/log/deploy-old.log
fi
exec > >(tee -a "/var/log/deploy-$log_timestamp.log") 2>&1
ln -sfT "deploy-$log_timestamp.log" /var/log/deploy.log
  1. save the file : wq!
  2. Take a new snapshot.
  3. Retry the upgrade again.


Additional Information

Impact/Risks:
  • Upgrade will fail every time unless fixed.