]> git.proxmox.com Git - pve-storage.git/commit
vdisk_list: skip scanning storages which cannot have images/rootdisks
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 14:14:04 +0000 (16:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 9 Jul 2020 14:16:23 +0000 (16:16 +0200)
commitc43655d2ed63f1ca690807c7d6c3cdff8cce30b8
tree4fcb56e7061aa364fb9ccc1c01b07034e5ee795a
parentd6fc193816048785f863d6ac3449a992ca6b4a6e
vdisk_list: skip scanning storages which cannot have images/rootdisks

Do not try to scan (and thus activate) storages which aren't
configured to support (or cannot support) "vdisks" anyway.

Avoids seemingly strange failures of VM migrations due to a backup storage
not being currently online - even if that storage isn't referenced in
the VM config anywhere..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Storage.pm