Commit 9a0f28bc authored by Antoine Millet's avatar Antoine Millet

Ignore unknown volumes on VMs

parent 4de1b5cb
......@@ -256,6 +256,11 @@ class VirtualMachine(object):
else:
continue
# Ignore unknown volumes:
if volume is None:
logger.warn('Unknown volume for vm %s', self.name)
continue
path = volume.path
# update cache behaviour
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment