VCF 9.1 Lab Part 13: Patching the Management Components

Why patch a fresh install

I built this lab on VCF 9.1.0.0 GA on purpose. The plan was to patch to the latest 9.1.0 express patch first and move to 9.1.1 later, as its own post. This one covers the management components. SDDC Manager, NSX, vCenter and the ESX hosts come next. It builds on Part 11 (certificates) and Part 12 (management services backup), so the lab was healthy and backed up before I touched anything.

How the patches arrive

Express patches come through the online depot. You patch the management components in VCF Operations under Build, Lifecycle, VCF Management, Upgrade. I looked for a Broadcom page that gives an order for this patch level and did not find one. The community write-ups I found say the patches are independent of each other, Fleet lifecycle goes first, and the software depot and services runtime are worth doing early. The order I used is my own judgement on top of that.

What I patched

Component GA build Patched build Time taken
Fleet lifecycle 9.1.0.0.25371109 9.1.0.0400.25570104 34 min
Software depot 9.1.0.0.25371105 9.1.0.0400.25570105 34 min
VCF services runtime 9.1.0.0.25370367 9.1.0.0200.25555874 2 h 44 min
Salt RaaS 9.1.0.0.25346036 9.1.0.0400.25544946 38 min
Salt master 9.1.0.0.25346036 9.1.0.0400.25544946 32 min
SDDC lifecycle 9.1.0.0.25371107 9.1.0.0400.25570103 36 min
Identity broker 9.1.0.0.25368698 9.1.0.0100.25522734 33 min
VCF Automation 9.1.0.0.25370929 9.1.0.0200.25556825 2 h 40 min
Migration service engine 9.1.0.0.25370929 9.1.0.0200.25556825 38 min
VCF Operations 9.1.0.0.25346025 9.1.0.0400.25541561 66 min

Log management was already on 9.1.0.0400.25544947 and telemetry had no patch on offer. I did the whole run one component at a time, with a check of the task page between each one. It took from 6:13 PM on the 29th to 4:00 PM on the 30th, most of it waiting.

Upgrade tab listing the management components that are ready for a patch

Fleet lifecycle first

Fleet lifecycle patches itself before anything else, so I started there. It took 34 minutes and finished without a problem.

The prechecks, and one failure

I ran the prechecks for the other components together at 7:18 PM. Most finished within the hour. The Software depot precheck failed at 8:03 PM with two errors in the same minute. The backup workflow failed for the depot component, and the platform health check reported this:

vmsp-platform: wrong resource state: InProgress - package deployment is in progress [VCFMS-HEALTH-002]

The Broadcom articles I found for this code describe the same message in other situations, such as an identity broker upgrade or a proxy setting, and none of them matched my case. What they share is the advice to check that the platform package deployments are finished, then retry. I checked, found every package deployment Successful, and retried the Software depot precheck on its own. It passed in 7 minutes.

My guess is that ten prechecks, each taking its own backup, collided. I can’t prove that. Next time I will run the prechecks one component at a time.

Software depot precheck failed on the platform health check and the backup workflow
Software depot precheck passed after the retry

Software depot and the services runtime

The Software depot upgrade took 34 minutes. The services runtime took 2 hours 44 minutes, by far the longest of the management components apart from VCF Automation.

One subtask of the services runtime upgrade logged an error, and the task still finished as Completed:

[VCFMS-PRECHECK-BACKUP-CONFIG-001] SSH fingerprint mismatch for server '{Undefined key: arg}'.

The server name was never filled in, so the message does not say which server it means. I compared the SSH fingerprint stored in the backup settings with the host keys on my backup server, and the RSA key matched. The 02:30 scheduled backup that night wrote a fresh set for every component, and the target grew from 1.8 GB to 3.0 GB. I found no documentation for that error code. I treat it as harmless, but I can’t explain it.

VCF services runtime upgrade task with all subtasks completed

Salt, SDDC lifecycle and the identity broker

These went one after the other, each in 30 to 40 minutes: Salt RaaS, Salt master, SDDC lifecycle and the identity broker. Salt RaaS and Salt master share a target build, and I found nothing that puts one before the other. I did RaaS first. None of the four logged an error.

VCF Automation and the migration service engine

VCF Automation took 2 hours 40 minutes. The migration service engine is a separate task with its own row in the upgrade list, and it ran for another 38 minutes. While VCF Automation was patching, VCF Operations raised a VCF Automation object down notification, which fits a restart. It was not in the active alert list afterwards.

VCF Operations last

I left VCF Operations until the end because it patches the console I was working in. When it started upgrading, the console went away and showed this until the service returned:

VMware Cloud Foundation Operations is not available. You will be redirected when the service is available.

It came back at the login page. The task had finished by 4:00 PM, 66 minutes after I started it.

VCF Operations unavailable page shown while the console patches itself
VCF Operations upgrade task completed

Result

Every management component with a patch on offer is on its 9.1.0 patch level. The versions match the table above. VCF Health afterwards shows 0 critical, 0 immediate and 0 warning findings. The VCF instance reads Good with no objects holding critical issues, and the four ESX hosts, vCenter, vSAN cluster, NSX and management services all show green.

Tasks list showing every patch task completed
Components tab showing the patched versions
VCF Health showing zero findings and the fleet in a good state

What I’d change

Run the prechecks one component at a time. Take a fresh management services backup before the first patch. Start the long ones, the services runtime and VCF Automation, in the evening so they finish while I sleep.

Next

The core components come in Part 14: SDDC Manager, NSX, vCenter and the ESX hosts.