We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7ac4bc commit 834bf40Copy full SHA for 834bf40
cloudify_vcd/vapp_tasks.py
@@ -3,6 +3,7 @@
3
BadRequestException,
4
MissingLinkException,
5
InvalidStateException,
6
+ EntityNotFoundException,
7
OperationNotSupportedException)
8
9
from cloudify import ctx
@@ -477,6 +478,8 @@ def _delete_vm(vm_external=None,
477
478
(not vcd_unresolved_vm(e) and not cannot_power_off(e)):
479
raise
480
last_task = None
481
+ except EntityNotFoundException:
482
+ ctx.logger.info('VM is deleted. Now to delete Vapp.')
483
484
if vm_ctx.instance.runtime_properties.get('__VM_CREATE_VAPP'):
485
try:
0 commit comments