carl1
Expert
Expert

vRA 8.2: Auto-destroy VM on failure

When a provision fails after a VM is provisioned (like in Ansible while installing applications), the VM remains.  This is really nice in a development setting but is a real problem in a production setting (user thinks they have a VM that is ready, but it is not).  I can't seem to find the switch to tell vRA to auto-destory when a provision fails.

Thanks,
Carl L.

0 Kudos
1 Reply
comahony
VMware Employee
VMware Employee

Hi @carl1 , 

AFAIK this is not possible out of the box. Maybe this can be achieved with event subscriptions -- didn't tested it?

You can also create a feature request, if you think this is something needed to the product (https://kb.vmware.com/s/article/1002123#:~:text=To%20submit%20a%20Feature%20Request,Policies%20on%20....)

Regards,

Leandro.

0 Kudos