mem> YYYY-MM-DD TIME .779+10:00 [06764 error 'commonvpxCommon' opID=1F335118-000004FA-55] [Vpxd_HandleVmRootError] Received unrecoverable VmRootError. Generating minidump ...mem> YYYY-MM-DD TIME .779+10:00 [06764 error 'Default' opID=1F335118-000004FA-55] An unrecoverable problem has occurred, stopping the VMware VirtualCenter service. Error: Error[VdbODBCError] (-1) "ODBC error: (23000) - [Microsoft][SQL Server Native Client 10.0][SQL Server]The INSERT statement conflicted with the FOREIGN KEY constraint "FK_COMP_RES_VSAN_REF_HOST". The conflict occurred in database "VIM_VCDB", table "dbo.VPX_HOST", column 'ID'." is returned when executing SQL statement "INSERT INTO VPX_COMPUTE_RESOURCE_VSAN_HOST WITH (ROWLOCK) (COMP_RES_ID, HOST_ID, NODE_UUID, CLUSTER_UUID, AUTOCLAIM_STORAGE, ENABLED) VALUES (?, ?, ?, ?, ?, ?)"mem> YYYY-MM-DD TIME .809+10:00 [06764 verbose 'commonvpxCommon' opID=1F335118-000004FA-55] Backtrace:mem> -->mem> YYYY-MM-DD TIME .116+10:00 [06764 panic 'Default' opID=1F335118-000004FA-55] (Log recursion level 2) Unrecoverable VmRootError. Panic!
For more information on purging old data and setting retention policies, see Purging old data from the database used by VMware vCenter Server (1025914).alter table VPX_EVENT_ARG drop constraint FK_VPX_EVENT_ARG_REF_EVENT, FK_VPX_EVENT_ARG_REF_ENTITY alter table VPX_ENTITY_LAST_EVENT drop constraint FK_VPX_LAST_EVENT_EVENTtruncate table VPX_TASKtruncate table VPX_ENTITY_LAST_EVENTtruncate table VPX_EVENTtruncate table VPX_EVENT_ARGalter table VPX_EVENT_ARG add constraint FK_VPX_EVENT_ARG_REF_EVENT foreign key(EVENT_ID) references VPX_EVENT (EVENT_ID) on delete cascade, constraint FK_VPX_EVENT_ARG_REF_ENTITY foreign key (OBJ_TYPE) references VPX_OBJECT_TYPE (ID)alter table VPX_ENTITY_LAST_EVENT add constraint FK_VPX_LAST_EVENT_EVENT foreign key(LAST_EVENT_ID) references VPX_EVENT (EVENT_ID) on delete cascadeShrink Database
Purging old data from the database used by vCenter Server