Highlighted
Enthusiast
Enthusiast

Request cancellation - PSQL and job cancellation

So I have been pouring through the vlcm postgres database, and have gathered the relationship between the vm_user_request and vm_request_to_engine_request tables, but I cannot determine how to actually purge requests from vRSLCM. I have a stuck data-node scale out for a vROPs deployment. The only "fool proof" way to remove a job is to redeploy and reimport the environment JSON file. This CANNOT be production ready if you cannot cancel a task. If anyone has any detail on Blackstone (CodeStream internal cloudClient Automation cruft), the lucene (luceneDocumentIndexService · vmware/xenon Wiki · GitHub ) PSQL caching of requests it would be quite helpful. The REST API doesn't SEEM to have a cancel method in the API explorer, and purging the PSQL DB seems to sweet eff-all.

4 Replies
Highlighted
Immortal
Immortal

Asking the obvious but did you bother to open an SR with VMware? If not, that should really be your first stop.

0 Kudos
Highlighted
Enthusiast
Enthusiast

Alas, I haven't I'm a Partner employee so this is in our lab

0 Kudos
Highlighted
Immortal
Immortal

Understand that. Since this is still a mostly new product with therefore not a ton of community expertise, plus the fact that you're talking about rooting around in the "guts" of this program, if it's a big enough question/issue you may consider just burning one of your partner SRs to get an answer (and then post it here openly so all can benefit).

Highlighted
Contributor
Contributor

I had a request stuck in process. I was able to run the following to delete the request.:  {{Server}}/lcm/api/request/{{requestid}}.

I had to obtain the request ID via the GUI prior to running. Also note there is no 'v1' in this api call.

0 Kudos