VMware Aria Suite Lifecycle upgrade pre check fails with "vRLCM some request is in progress. wait for the request to get completed. Progress of request can be tracked in request page"
search cancel

VMware Aria Suite Lifecycle upgrade pre check fails with "vRLCM some request is in progress. wait for the request to get completed. Progress of request can be tracked in request page"

book

Article ID: 314920

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:

 

  • VMware Aria Suite Lifecycle upgrade Precheck fails with:

"vRLCM some request is in progress. wait for the request to get completed. Progress of request can be tracked in request page"

vrlcmstuckrequestkb.jpg

  • There are no "In Progress", "Pending", or "Submitted" requests on the requests page of the UI.
  • The full error code displayed in the UI is:

Error Code: LCMCOMMON800020 VMware Aria Suite Lifecycle upgrade pre-validation failed. VMware Aria Suite Lifecycle upgrade pre-validation failed. Check logs for more details. com.vmware.vrealize.lcm.common.exception.LcmException: VMware Aria Suite Lifecycle upgrade pre-validation failed. Check logs for more details. at com.vmware.vrealize.lcm.drivers.commonplugin.task.LcmUpgradePrecheckTask.execute(LcmUpgradePrecheckTask.java:82) at com.vmware.vrealize.lcm.automata.core.TaskThread.run(TaskThread.java:63) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source)

 
 


Environment

VMware Aria Suite Lifecycle 8.x
VMware vRealize Suite Lifecycle Manager 8.10.x

Cause

The issue can occur when Aria Suite lifecycle Manager has difficulties communicating with a managed environment which can result in requests becoming stuck in progress indefinitely.

Resolution

To resolve the issue perform the steps:

1. Snapshot the Aria Suite lifecycle Manager appliance as a best practice precaution.

2. SSH to the Aria Suite lifecycle Manager appliance as the root user

3.Connect to the postgres database:

su - postgres
cd /opt/vmware/vpostgres/11/bin/
./psql -d vrlcm

4. To clear the stuck requests execute the commands:

delete from vm_rs_request where requestname=‘lcmgenricsetting’;
delete from vm_engine_execution_request where enginestatus=‘INITIATED’;
delete from vm_engine_statemachine_instance where status=‘CREATED’;
delete from vm_engine_event where status=‘IN_PROGRESS’;
delete from vm_rs_request where state = 'INPROGRESS';
VACUUM FULL verbose analyze vm_rs_request;

5. Restart the lifecycle Manager services:

systemctl restart  vrlcm-server.service

6. Run the upgrade Prechecker again