Deleting a Failed Request in vRSLCM

You had a failed import environment. You tried to delete the environment but it gave you a failed to delete error.

You go to the request page, you will see there is a failed request. Unfortunately there is no delete button for you to delete this request. 

The workaround is to use POSTMAN. If you don't have it yet, go to https://www.postman.com/ download it and install it now. Please consult your VMware technical support before performing this workaround. Do this with your own risk. Take a snapshot or backup of this appliance incase anything bad happens!

To delete this request, clicked on the failed button to bring up the next screen. Take note on the request ID. You will need to use this ID in POSTMAN.

Launch POSTMAN. First thing you need to do is to get POSTMAN to login to your vRSLCM appliance. Follow the red boxes in the image as your guidance. 
POST https://<vRSLCM FQDN>/lcm/authzn/api/login

Next is to use API DELETE to delete the failed request using the request ID you had took note of it earlier.
DELETE https://<vRSLCM FQDN>/lcm/request/api/requests/<Request ID>
You will see there is a "1" at the body. It means successfully deleted one entry.

You go back to vRSLCM environment, and you notice it has been removed.


Comments