During a VCF Operations component upgrade (e.g. 9.1.0.0100 → 9.1.0.0400), the upgrade hangs indefinitely at Run Component Upgrade Prechecks, reported in the UI as waiting on LCM legacy node verification.
VCF Operations 9.1.x
The CaSA service caches Service Registry entries in memory. The CaSA service populates the registry entries only once during construction. The upgrade issue occurs due to the following sequence:
A registry entry is deleted or updated on the admin node. For example, the ops-lcm entry represents the legacy OPS LCM 9.0 component retiring during migration.
The admin node syncs the change to peer nodes using the on-disk services.json file.
The in-memory cache on non-admin nodes fails to invalidate the old data.
The non-admin nodes continue serving the stale, pre-delete state until an administrator restarts the CaSA service.
The precheck workflow queries the stale state and never observes the expected post-delete condition.
Because the precheck workflow cannot observe the post-delete condition, the upgrade process hangs.
curl --request DELETE --url https://localhost/casa/services/ops-lcm \
--header 'accept: application/json' \
--header 'content-type: application/json' \
-u 'admin:PASSWORD' -k -irm -fr /usr/lib/vmware-casa-b2b/cd /storage/db/pakRepoLocal/mv 9.1.1.0* 9.1.1.*-moved
mv APUAT-for-8186-9110* APUAT-for-8186-9110*-movedservice vmware-casa restart