VMware Cloud Community
irjdunn
Contributor
Contributor

Is there a legitimate way to stop a request "In Progress"?

Example, if your requested VM has a scenario that prevents the provisioning from completing such as a misprovisioned IP address, the request stays in "in progress" status for hours and hours. 

Is there a legitimate way to cancel the request in progress?

Does anyone know the default timeout value for an "in progress" request to finally fail?

Is there a legitimate way to cancel the request in the scenario that I've already deleted/removed the misprovisioned VM from vCenter?  A reboot of vCAC does not seem to do the trick here.


Thanks,

James

0 Kudos
3 Replies
nsldg
Contributor
Contributor

I have found the way to do this is to change the table on the postgres DB to failed. You would need to connect to the DB on your VCAC appliance as the user assigned to the DB. Run the command below with the requestnumber being the one on the request tab corisponding to your request. Make sure to get that number right you dont want to kill another machine.

update cat_request set state = 'FAILED' where requestnumber = 2109;

Thanks

Matt

0 Kudos
beefy147
Enthusiast
Enthusiast

this does work but if you set the flag to anything but failed things start to go wrong e.g. dont set the flag to success or in progress as it wipes the request history. is there a cleaner way to fix this problem?

vRA 6.2.1 for info.......

0 Kudos
mdittbrenner
Enthusiast
Enthusiast

You can cancel the job in vSphere which will send a cancel/failed job to vcac.

0 Kudos