vmware-vrlcm.log -
The below entries indicate corruption in multiple request IDs in vm_rs_request table due to which environment fetch fails with a "NullPointerException".
YYYY-HH-TTT######Z INFO vrlcm[1377] [http-nio-8080-exec-9] [c.v.v.l.u.RestHelper] -- GET http://localhost:8080/lcm/request/api/requests/xxxxxxxxxxxxxxxxxxxxxxxx: 200 nullYYYY-HH-TTT######Z INFO vrlcm[1377] [http-nio-8080-exec-9] [c.v.v.l.l.u.SettingsHelper] -- State of the request is: INPROGRESSYYYY-HH-TTT######Z INFO vrlcm[1377] [http-nio-8080-exec-9] [c.v.v.l.l.u.SettingsHelper] -- Sleeping for 500 ms and iteration count : 3YYYY-HH-TTT######Z WARN vrlcm[1377] [http-nio-8080-exec-4] [o.h.e.j.s.SqlExceptionHelper] -- SQL Error: 0, SQLState: XX001YYYY-HH-TTT######Z ERROR vrlcm[1377] [http-nio-8080-exec-4] [o.h.e.j.s.SqlExceptionHelper] -- ERROR: missing chunk number 0 for toast value xxxxx in pg_toast_xxxxYYYY-HH-TTT######Z ERROR vrlcm[1377] [http-nio-8080-exec-4] [c.v.v.l.r.c.RequestController] -- Exception while getting request details :org.springframework.orm.jpa.JpaSystemException: could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet
......................................... at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:137) ~[spring-tx-5.3.42.jar!/:5.3.42] ... 206 moreCaused by: org.postgresql.util.PSQLException: ERROR: missing chunk number 0 for toast value xxxx in pg_toast_xxxx
YYYY-HH-TTT######Z ERROR vrlcm[1377] [http-nio-8080-exec-4] [c.v.v.l.l.c.EnvironmentController] -- Exception while getting all Environment :java.lang.NullPointerException: null
pg_dump -U postgres -h localhost -d vrlcm -c -Fp -v -f /dev/null fails with below error:
error: Dumping the contents of table "vm_rs_request" failed: PQgetResult() failed.pg_dump: error: Error message from server: ERROR: missing chunk number 0 for toast value xxxxx in pg_toast_xxxxxpg_dump: error: The command was: COPY public.vm_rs_request (vmid, createdby, createdon, lastmodifiedby, lastupdatedon, tenant, version, vrn, errorcause, executionid, executionpath, executionstatus, inputmap, iscancelenabled, outputmap, requestname, requestreason, requestsource, requestsourcetype, requesttype, resultset, state) TO stdout;
Aria Suite Lifecycle 8.18
This happens due to the corruption on 'vm_rs_request' or any other table due to partition extension, database file movement etc.
Check the table 'vm_rs_request' for corruption. Please open a case with Broadcom Support to review the database.
If a snapshot/clone/backup is not present for Aria Suite Lifecycle and the extent of corruption is unfixable, redeploy Aria Suite Lifecycle and import the products again.