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

Ignore unknown volumes on VMs

parent 4de1b5cb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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