INFO [vcf_lcm,dd3d########438a,efab] [c.v.v.l.r.a.c.v.m.LcmManifestController,http-nio-127.0.0.1-7400-exec-4] In LcmManifestController, save manifest
DEBUG [vcf_lcm,dd3d########438a,efab] [c.v.e.s.l.s.i.LcmManifestServiceImpl,http-nio-127.0.0.1-7400-exec-4] Saving manifest with sequenceNum:94 and version:1
DEBUG [vcf_lcm,dd3d########438a,efab] [c.v.e.s.l.d.c.m.LcmManifestClientImpl,http-nio-127.0.0.1-7400-exec-4] Found manifest with version 1 and sequence number 95
ERROR [vcf_lcm,dd3d########438a,efab] [c.v.v.l.r.a.c.v.m.LcmManifestController,http-nio-127.0.0.1-7400-exec-4] In LcmManifestController, failed to save manifest
com.vmware.evo.sddc.lcm.model.error.LcmException: Lcm Manifest is already updated
ERROR [vcf_lcm,dd3d########438a,efab] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7400-exec-4] [S5CEL4] LCM_MANIFEST_ALREADY_EXISTS Lcm Manifest is already updated
ERROR [vcf_lcm,dd3d########438a,efab] [c.v.v.i.b.i.TranslationMessage,http-nio-127.0.0.1-7400-exec-4] Can't find resource for bundle java.util.PropertyResourceBundle, key LCM_MANIFEST_ALREADY_EXISTS.remedy
psql -U postgres -d lcm -h localhost -c "\x" -c "select id,version,sequence_number from manifest;"
Sample Output:
Expanded display is on.
-[ RECORD 1 ]---+---
id | 1
version | 1
sequence_number | 95
VMware Cloud Foundation 9.x
This issue occurs when the Sequence Number is modified using a Custom Manifest File.
It may also be triggered while performing the remediation steps described in KB: VCF 9.0.0 Deployment fails with VCF Installer 9.0.1 with error - NSX install image validation failed for NSX Version
To resolve this discrepancy, perform the following procedure to ensure the Manifest Table for the LCM database reflects the correct sequence number.
psql -U postgres -d lcm -h localhost -c "truncate table manifest"
TOKEN=$(curl -H 'Content-Type:application/json' https://localhost/v1/tokens -d '{"username" : "admin@local","password":"<admin_password>"}' -k | jq -r '.accessToken')
If admin@local password is not known then follow How to Reset the Admin@local password in SDDC Manager to reset it.
curl -k -H 'Content-Type: application/json' -H "Authorization: Bearer $TOKEN" -X POST https://localhost/v1/manifests -d "@/nfs/vmware/vcf/nfs-mount/metadata/vcfManifest.json"
psql -U postgres -d lcm -h localhost -c "\x" -c "select id,version,sequence_number from manifest;"
Sample Output:
Expanded display is on.
-[ RECORD 1 ]---+---
id | 2
version | 1
sequence_number | 94
systemctl restart lcm
If Issue persists please reach out to Broadcom Support referring this KB and we will be there to assist.