Patch deployment der VMware VCSA auf 7.0.3c schlägt fehl: Installation failed. Retry to resume from the current state. Or please collect the VC support bundle.

Das Ausrollen von VMware VCSA Version 7.0.3c schlug auf einer unserer VCSA-Instanzen fehl:

Command> software-packages install --staged
 [2022-02-25 07:55:59,396] : update is already staged. Proceeding to install.

 [2022-02-25 07:56:32,515] : Installing version: 7.0.3.00300
 [2022-02-25 07:57:00,976] : Running precheck ....
 [2022-02-25 07:57:02,988] : Installation failed. Retry to resume from the current state. Or please collect the VC support bundle.

Im Logfile /var/log/vmware/applmgmt/software-packages.log war folgendes zu lesen:

2022-02-25T07:56:40.055 [41858]ERROR:vmware.appliance.update.update_functions:Can't read JSON file /storage/core/software-update/install_operation [Errno 2] No such file or directory: '/storage/core/software-update/install_operation'

Das bringt mich noch nicht wirklich weiter… Die bemängelte Datei existiert.

Zum Glück gibt es noch weitere Protokolldateien. Nach einiger Suche fand ich in /var/log/vmware/applmgmt/PatchRunner.log folgendes:

2022-02-25 07:56:47,088.88Z vcIntegrity:CollectRequirements ERROR vcIntegrity Found 2 ESXi 7.0 U3 or U3a hosts in the vCenter inventory. Hosts: s-000-000b.int.iteres.com, s-000-000a.int.iteres.com

Na, da haben wir doch etwas. Vor einiger Zeit war ich dabei, jene VMware vSphere-Plattform von Version 7.0.2 auf 7.0.3a zu aktualisieren.

Version 7.03a hatte bei uns erhebliche Stabilitätsprobleme, welche auch mit der darauffolgenden Version 7.0.3b nicht adressiert wurden. Kurz danach zog VMware die Versionen 7.0.3a und 7.0.3b zurück.

Sollte das die Ursache gewesen sein? Also kurzerhand die beiden Hosts auf Version 7.0.3c aktualisiert und…

Command> software-packages install --staged

 [2022-02-25 21:31:20,256] : update is already staged. Proceeding to install.

 [2022-02-25 21:31:50,568] : Installing version: 7.0.3.00300
 [2022-02-25 21:32:13,496] : Running precheck ....
 [2022-02-25 21:32:22,524] : Validating user input ....
 [2022-02-25 21:32:29,546] : Preparing system for update ....
 [2022-02-25 21:32:32,555] : Running test transaction ....
 [2022-02-25 21:33:27,703] : Stopping services ....
[...]
 [2022-02-25 22:19:25,668] : Converting data as part of post install ....
 [2022-02-25 22:19:27,682] : Installation completed successfully.
 [2022-02-25 22:19:27,682] : Installation process completed successfully.

Und Viola!

So, ich geh’ dann mal einen Case bei VMware eröffnen…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.