]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer/Cloudinit.pm
cloudinit: fix vm start hanging with disk on ZFS
authorMira Limbeck <m.limbeck@proxmox.com>
Fri, 27 Sep 2019 13:13:30 +0000 (15:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 18 Oct 2019 19:40:34 +0000 (21:40 +0200)
commit9a13f0fed307be5436091afbeb3d3b1321d8f699
treef6fc679e73b17d7917705e41ac86f4ca28ad9336
parent21e1ee7b324554354f5a6623ad51858bb08e94ad
cloudinit: fix vm start hanging with disk on ZFS

With the changes to pve-storage in commit 56362cf the startup hangs for
5 minutes on ZFS if the cloudinit disk does not exist. Instead of
calling activate_volume followed by file_size_info we now call
volume_size_info. This should work reliably on all storages that support
cloudinit disks.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PVE/QemuServer/Cloudinit.pm