Virtual Center 6.7U1b upgrade fails with: Update installation failed, vCenter is non-operational

by Grzegorz Kulikowski

In order to reproduce, get a VC/PSC 6.7 . Make the /storage/log full 100% . Installation fails with unexpected problem.

2019-03-07 14_29_49-host1.greg.labs - VMware ESXi.png

Step two, you clean up the /storage/log a bit and it still fails.

2019-03-07 14_31_15-host1.greg.labs - VMware ESXi.png

After this i made sure that there is 98% free.ย  And same error occurs.

You can reboot PSC/VC as many times as you want, thatย  does not help. In order to fix it, login to your VC/PSC box and delete file:

/etc/applmgmt/appliance/software_update_state.conf

After file is gone, or moved , go back to installer and click update -> it works !

Have a look what was causing the error :

2019-03-08 13_23_22-vCenter Server Appliance11.png

And the installer script was looking at it hence failing while spotting INSTAL_FAILED with this cryptic error message that the vcenter is not operational

/usr/lib/applmgmt/update/py/vmware/appliance/update/update_state.py

2019-03-08 13_26_13-vc001-psc001 - VMware Remote Console33.png

Many thanks to Ciaran from @VMwareย  for spotting that!

Advertisements

You may also like

17 comments

Anonymous June 10, 2019 - 5:52 am

good stuff! Same issue here. I updated the state file to show “UPDATES_PENDING” and saved the file. After that, patching works via web gui!

Reply
Anonymous June 21, 2019 - 4:35 pm

Great!, Thanks, solved it.

Reply
Anonymous September 2, 2019 - 6:39 am

Thanks!!
//Johan

Reply
Anonymous December 29, 2019 - 9:59 am

WOW Thanks !!!

Reply
vmdude March 4, 2020 - 11:41 pm

Dude you ROCK! Thanks so much made short work of what is a weird issue.

Reply
psvmware March 5, 2020 - 9:07 am

no worries Dude, glad it worked ๐Ÿ˜‰

Reply
Anonymous March 20, 2020 - 9:02 pm

been searching for the answer for months! thanks soo much!

Reply
psvmware April 14, 2020 - 10:53 am

no worries ๐Ÿ˜‰ glad it worked !

Reply
German April 13, 2020 - 4:47 am

excelente procedimiento, muchas gracias.

Reply
psvmware April 14, 2020 - 10:54 am

you welcome ๐Ÿ˜‰ cool that it worked out for you.

Reply
blackjack82 May 12, 2020 - 10:42 pm

This worked for me as well, thank you!

Reply
Anonymous May 20, 2020 - 1:56 pm

Funny – the same issue exists with VC 7.0. Gotta love that product quality coming out of VMware these days…

Reply
psvmware May 20, 2020 - 2:00 pm

hehe ๐Ÿ˜‰ i guess they did not see this post

Reply
Anonymous May 20, 2020 - 11:52 pm

Let me guess. You tried to update, it said that the update didn’t exist? They seem to release the update notice that vCenter sees before actually fully pushing out to their CDN.

Reply
Jason Boche (@jasonboche) June 4, 2020 - 6:40 pm

Nice job and thank you for sharing. This issue still exists in vCenter Server 7 GA.

Reply
Anonymous June 24, 2020 - 11:33 pm

Adding to the pile, still happened in 7!

Reply
psvmware June 25, 2020 - 9:07 am

๐Ÿ˜‰ Glad it still helps hehehe ๐Ÿ˜‰ I should never remove this posts , can be valid for many years hehe

Reply

Leave a Reply

Chinese (Simplified)DutchEnglishFrenchGermanHindiPolishRussianSpanish