diff --git a/compute/instance/instance.py b/compute/instance/instance.py index a0f8bc9..e51902e 100644 --- a/compute/instance/instance.py +++ b/compute/instance/instance.py @@ -788,6 +788,12 @@ class Instance: disk.source, ) continue + if volume.storagePoolLookupByVolume().name() == 'images': + log.info( + 'Volume %s skipped because it is from images pool', + volume.path(), + ) + continue log.info('Delete volume: %s', volume.path()) volume.delete() log.info('Undefine instance')