How to workaround "Update installation failed. vCenter Server is non-operational." message during VCSA 7.0 update
This article is short and simple, hopefully helping some of the many folks that have watched either my Jun 24 2020 or Jun 25 2020 VCSA 7.0 upgrade attempt videos, using VAMI.
For me, my home lab had a healthy VCSA 6.7 upgrade to VCSA 7.0 GA, performed successfully on camera on release day Apr 02 2020 here. That GA version is also known as:
7.0.0.10100 Apr 02 2020 Build 15952498
- Release Notes.
I then had a successful VAMI upgrade back in March, to release 7.0.0a:
7.0.0.10300 May 18 2020 Build 16189094
- Release Notes.
Alas, since Jun 23 2020's release of 7.0.0b, I've been unable upgrade to it due to error. This most recent release is also known as:
7.0.0.10400 Jun 22 2020 Build 16386292
- Release Notes.
What's the issue I ran into? Let's say you go into vSphere Client, then you select:
Menu / Hosts and Clusters / Updates / Update Planner
but instead of a happy link to get you over to VAMI Updates to proceed with your update to 7.0.b, you instead are faced with this error:
Unexpected error occurred while fetching the updates
Or maybe you're in VAMI, on the Update tab, you select "Stage and Install" the upgrade, but on page 2 of the wizard you get:
Update installation failed. vCenter Server is non-operational
It is recommended that you backup vCenter Server before installing any update or patch
Why did this error happen? I do not know, sigh. If you do, please drop a public comment below, we'd all appreciate your wisdom!
The Fix
What to do? VCSA seems to otherwise be working fine for me for months. Rebooting VCSA doesn't fix this. So it was time to look for a real fix, or at least a workaround.
I found a fix for the same "non-operational" error VCSA 6.7 here on reddit, which links to this detailed article. I tried it on my VCSA 7.0.0a while recording, and what a nice surprise, it works successfully on VCSA 7.0 too! My new video walk through appears here below, let us know if it helps you too!
Step-by-Step
-
SSH to your VCSA 7.x appliance
If you don't have SSH access enabled, temporarily turn it on by following along by using VAMI, which in my lab meant browsing tohttps://vcsa.lab.localhost:5480
-
Type your credentials,
root
username andpassword
-
You likely don't have BASH shell active by default, so when prompted, just type:
shell
-
You'll now see a command like this
root@vcsa [ ~ ]#
-
Next, delete this one file, you can copy-and-paste the following 1 line command into your SSH session if you'd like:
rm /etc/applmgmt/appliance/software_update_state.conf
- Try the upgrade again.
That's it, enjoy your latest TinkerTry Tip!
Video
See also at TinkerTry
All vSphere 7 articles.
All vSphere 7 videos.
See also
- Virtual Center 6.7U1b upgrade fails with: Update installation failed, vCenter is non-operational
Mar 08 2019 by Grzegorz Kulikowski at grzegorzkulikowski.info