Hi,
I was testing the hotplug function of PVE 3.4 and found out it is not working with Ceph RBD storage.
When hotplugging a Hard Disk using Ceph i get the following error:
Parameter verification failed. (400)
virtio1: hotplug problem - adding drive failed: drive_add: string expected
Adding a Hard Disk using Ceph while the same VM is turned off works ok.
Also hotplugging using local directory (ZFS using writeback cache!) or local directory (EXT4) storage works.
Reading the following maillinglist thread (although somewhat different error message):
http://pve.proxmox.com/pipermail/pve-user/2015-February/008304.html
I'm was suspecting the same sub in the same file to be the problem: qemu_driveadd in /usr/share/perl5/PVE/QemuServer.pm
My guess was that while using Ceph the $drive variable is not set correctly using hotplug. (empty or malformed).
I reverted the patch (commit) and now it works! So while the commit fixes handling of spaces it breaks something else.
Kind regards,
Caspar
I was testing the hotplug function of PVE 3.4 and found out it is not working with Ceph RBD storage.
When hotplugging a Hard Disk using Ceph i get the following error:
Parameter verification failed. (400)
virtio1: hotplug problem - adding drive failed: drive_add: string expected
Adding a Hard Disk using Ceph while the same VM is turned off works ok.
Also hotplugging using local directory (ZFS using writeback cache!) or local directory (EXT4) storage works.
Reading the following maillinglist thread (although somewhat different error message):
http://pve.proxmox.com/pipermail/pve-user/2015-February/008304.html
I'm was suspecting the same sub in the same file to be the problem: qemu_driveadd in /usr/share/perl5/PVE/QemuServer.pm
My guess was that while using Ceph the $drive variable is not set correctly using hotplug. (empty or malformed).
I reverted the patch (commit) and now it works! So while the commit fixes handling of spaces it breaks something else.
Kind regards,
Caspar