KB at a glance
| KB | Broadcom KB 455737 |
| Product | vSphere Kubernetes Service (Supervisor, Foundation Load Balancer) |
| Upgrade path | vCenter 9.0.0 / 9.0.1 / 9.0.2 to 9.1.0 / 9.1.1 |
| Trigger | updatemgr-utility.py reset-db run at some point on 9.0.x |
| Impact | Supervisor Cluster and FLBs fail after the upgrade |
| Workaround | Checker and fixer SQL scripts, run on 9.0.x before upgrading |
| Permanent fix | Next vCenter 9.1 release |
If you’re planning to move vCenter from 9.0, 9.0.1 or 9.0.2 up to 9.1 or 9.1.1, stop and check one thing first. Under the right conditions, the upgrade leaves your vSphere Kubernetes Service (VKS) Supervisor Clusters and Foundation Load Balancers (FLBs) broken.
Broadcom has documented it in KB 455737. The good news? It’s detectable, and fixable, while you’re still on 9.0.x. The bad news is that nothing in the vSphere Client will warn you.
This post walks through what goes wrong in the database, how to tell whether you’re exposed, the exact remediation steps, and what I’d check before and after the upgrade.
Quick background: Supervisor, VKS and FLB
If you only run VMs, some of this may be new, so a short refresher.
The vSphere Supervisor turns a vSphere cluster into a Kubernetes control plane. On top of it you run VKS clusters (what used to be called Tanzu Kubernetes Grid), VM Service VMs and, with VCF networking, vSphere Pods.
All of that needs a Layer 4 load balancer. In 9.0 Broadcom introduced the Foundation Load Balancer, which ships with vCenter and is deployed straight from the Supervisor activation wizard. It runs as one VM, or as an active/passive pair, inside the Supervisor’s resource pool. No separate Avi or NSX load balancer build is required, which is exactly why a lot of 9.0 labs and smaller production estates went with it.
The important part for this issue: the Supervisor and FLB are managed by vCenter, and their lifecycle metadata lives in the vCenter database (VCDB). When VCDB is inconsistent, the upgrade migrations that touch that metadata can’t do their job.
The root cause: an old vLCM fix
If you’ve ever fought vSphere Lifecycle Manager (vLCM) problems on 9.0.x, there’s a fair chance someone reset the Update Manager database with this:
python /usr/lib/vmware-updatemgr/bin/updatemgr-utility.py reset-db
It’s a common support step. Stuck image compliance, a corrupted depot sync, remediation tasks that never clear: a DB reset is often the quickest way out. And it does fix vLCM.
It also leaves damage behind.
What actually breaks in VCDB
The Update Manager data sits in the vumdbc schema inside VCDB. According to the comments in Broadcom’s fixer script, the reset drops two parent tables, system_vms_solution_spec and system_vms_cluster_solution_spec, using DROP TABLE ... CASCADE.
Three child tables hang off system_vms_cluster_solution_spec:
system_vms_cluster_solution_spec_vm_placement_policiessystem_vms_cluster_solution_spec_vm_networkssystem_vms_cluster_solution_spec_vm_datastores
The reset never drops those children explicitly. Here’s the PostgreSQL detail that catches people out. When you drop a table with CASCADE, PostgreSQL removes the foreign key constraints on other tables that point at it. It does not remove those other tables, and it does not delete their rows.
So after a reset you end up with:
- Child rows that point at parents which no longer exist (orphans).
- No foreign keys linking the children back to
system_vms_cluster_solution_spec. - A placement policies table that has also lost its
vm_placement_policycolumn and its primary key, because the enum type behind that column (lccm_vm_placement_policy) was dropped with CASCADE as well.
vLCM recreates what it needs and carries on happily. On 9.0.x you see nothing wrong. vCenter looks healthy, the Supervisor keeps running, and every health check passes.
Then you upgrade to 9.1, the upgrade expects that schema to look a certain way, and the Supervisor Cluster and FLBs fail.
I like this kind of bug the least. The command that caused it may have been run months ago, possibly by someone else during a support case, and nothing in the UI hints at a problem until after the point of no return.
Are you at risk?
You’re exposed if all of these are true:
- vCenter is currently on 9.0, 9.0.1 or 9.0.2.
- You plan to upgrade to 9.1 or 9.1.1.
- The
updatemgr-utility.py reset-dbscript has been run on this appliance at some point.
That last one is the catch. If you inherited the environment, or support ran it during a case, you may simply not know. Shell history gets rotated and case notes get lost. My advice: don’t try to prove it either way. Run Broadcom’s checker. It only reads from the schema and takes seconds.
If you have several vCenters in Enhanced Linked Mode, remember each one has its own VCDB. Check every appliance you’re upgrading, and pay most attention to any vCenter that hosts a Supervisor.
How to check and fix it before upgrading
Broadcom says the permanent fix will ship in the next vCenter 9.1 release. Until then, the KB provides two SQL scripts:
VUM_DB_Inconsistency_Checker.sqlreports whether the schema is valid.VUM_DB_Inconsistency_Fixer.sqlrepairs it.
Grab both from the attachments on KB 455737 rather than copying them from a blog, mine included. If Broadcom revises them, you want the current version.
1. Take a backup
You’re about to run SQL against VCDB. Take a fresh file-based backup from the VAMI (port 5480) and confirm it completed. If your environment allows it, take an offline snapshot of the VCSA as well. A snapshot gives you a much faster way back than a file-based restore if something goes sideways.
Delete the snapshot once you’ve finished and verified. Don’t carry it into the upgrade.
2. Get the scripts onto the appliance
Enable SSH on the VCSA if it’s off (VAMI, Access), then connect as root and type shell if you land in the appliance shell.
You have two options. The KB suggests creating each file with vi and pasting the contents in. That works, but watch for your terminal mangling indentation or line breaks on a long paste. The alternative is to copy the files over with SCP. If you use WinSCP, you’ll need root’s default shell set to bash first:
chsh -s /bin/bash root
Put it back to the appliance shell afterwards if that’s your standard (chsh -s /bin/appliancesh root).
3. Run the checker
From the directory holding the script:
psql -U postgres -d VCDB -f VUM_DB_Inconsistency_Checker.sql
The checker looks for five things: the vm_placement_policy column, the primary key on the placement policies table, and the three foreign keys back to the parent table. If all five exist you get:
VUM DB SCHEMA VALID
Nothing to fix. Carry on with your upgrade.
If any are missing:
VUM DB SCHEMA FIX REQUIRED
Move on to the fixer. If you need evidence for a change record, pipe the output through tee into a text file so you have the before and after.
4. Run the fixer
psql -U postgres -d VCDB -f VUM_DB_Inconsistency_Fixer.sql
The script runs inside a single transaction and works in a sensible order:
- Deletes orphaned rows from the three child tables. This has to come first, because PostgreSQL checks every existing row when you add a foreign key, and one orphan would make that fail.
- Adds the
vm_placement_policycolumn back if it’s missing. - Restores the primary key and the three foreign keys, but only the ones that are actually absent.
Expected output:
SET
BEGIN
DO
ALTER TABLE
DO
COMMIT
Broadcom notes the fixer is idempotent. Run it on a clean database, a partly repaired one or a broken one, and you end up in the same place. If you see ROLLBACK or an error instead of COMMIT, nothing was changed. Stop there and open a case.
5. Verify
Run the checker again:
psql -U postgres -d VCDB -f VUM_DB_Inconsistency_Checker.sql
You want VUM DB SCHEMA VALID. If it still says FIX REQUIRED, don’t upgrade. Open a case with Broadcom and attach your output.
Also open Lifecycle Manager in the vSphere Client and make sure it still loads and shows your images correctly before moving on.
6. Upgrade
With a valid result, you’re clear to start the 9.1 upgrade, whether that’s a standalone vCenter upgrade or part of a wider VCF lifecycle run.
My pre-upgrade checklist for Supervisor environments
This KB is a good reminder that vCenter upgrades with a Supervisor attached deserve a bit more prep than a plain vSphere estate. Before I start the vCenter step, I want to see:
- A fresh, verified file-based backup, plus a Supervisor control plane backup if you’ve configured one.
- The KB 455737 checker returning
VALID. - Workload Management showing the Supervisor as Running with no configuration errors.
- FLB VMs healthy in the vSphere Client, with the active/passive pair both up if you run two.
- Your current Supervisor and VKS versions confirmed as supported with the target vCenter in the Broadcom interoperability matrix.
- The vCenter pre-upgrade checks run and clean.
Screenshot the healthy state. After the upgrade, you’ll want something to compare against.
After the upgrade: what to check
Once vCenter is on 9.1, give Workload Management time to reconcile, then check:
- The Supervisor shows Running and its configuration status is clean.
- The FLB VMs are powered on and the load balancer reports healthy.
- Existing VKS clusters are reachable and their load balancer services still have external IPs.
If the FLB looks unhappy, the controller logs are the first place to look. Log into the Supervisor with the VCF CLI and pull them from the vmware-system-flb namespace:
kubectl get pods -n vmware-system-flb
kubectl logs <flb-controller-pod> -n vmware-system-flb
Already upgraded and seeing problems?
If you’re already on 9.1 and the Supervisor Cluster or FLBs are failing, don’t start hand-editing the database. The KB only covers remediation on 9.0.x, and the fixer was written for that schema.
Open a high-priority case with Broadcom Support and reference KB 455737 so they can repair the orphaned references properly. Include your vCenter build numbers, whether a vLCM reset was ever done, and your pre-upgrade backup details. If you still have a pre-upgrade backup or snapshot, mention it early. Support may prefer rolling back and fixing on 9.0.x.
FAQ
I don’t run a Supervisor. Do I care?
The KB only documents impact on VKS Supervisor Clusters and FLBs. The schema damage could still be sitting in your VCDB though, and you may enable a Supervisor later. The checker takes seconds, so I’d run it anyway.
Is the checker safe to run in production?
Yes. It only queries PostgreSQL’s schema metadata and returns a single status line. It doesn’t write anything.
What if the fixer runs on a database that was never broken?
Nothing happens. Every step checks first and only acts where something is missing.
Does this affect upgrades from 8.x straight to 9.1?
The KB is scoped to 9.0.0, 9.0.1 and 9.0.2 as the source version. If you’re coming from something else, it isn’t covered here, so check the 9.1 release notes for your path.
When is the proper fix coming?
Broadcom states it will be in the next vCenter 9.1 release. Once that’s out, upgrading straight to it should avoid the problem, but I’d still run the checker first. It costs nothing.
Final thoughts
Personally, I’m adding the checker to my pre-upgrade list for every 9.0.x vCenter, whether or not anyone remembers a vLCM reset. Thirty seconds of SQL beats a broken Supervisor and a Sev 1 case.
References
- Broadcom KB 455737: Preventing potential post upgrade issue for VKS when updating vCenter from 9.0.0/9.0.1/9.0.2 to 9.1.0/9.1.1
- Broadcom TechDocs: Deploying vSphere Supervisor with Foundation Load Balancer
- Broadcom TechDocs: Maintaining Foundation Load Balancer
- VMware VCF Blog: Load Balancing in vSphere 9.0+ and VCF 9.0+
