[pve-devel] qemu-sever>=4.0-15 and pve-qemu-kvm<2.4-1 are incompatible at the moment

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Aug 18 14:15:38 CEST 2015


https://git.proxmox.com/?p=qemu-server.git;a=commitdiff;h=663d66413048f32f401224178bc96a81f1a2ec63
this (a bit to simple) patch made qemu-server>=4.0-15 incompatible with 
pve-qemu-kvm<2.4-1, at least for the backup jobs.

Previously we got the UUID of the backup task directly as an string 
whereas now we receive an (hash) object.

> ERROR: Can't use string ("3a121cfc-fa04-4c53-bdfe-53710513"...) as a 
> HASH ref while "strict refs" in use at 
> /usr/share/perl5/PVE/VZDump/QemuServer.pm line 321.
> INFO: aborting backup job
> INFO: stopping kvm after backup task
> ERROR: Backup of VM 113 failed - Can't use string 
> ("3a121cfc-fa04-4c53-bdfe-53710513"...) as a HASH ref while "strict 
> refs" in use at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 321.
> INFO: Backup job finished with errors
> TASK ERROR: job errors
An user already reported an error like this in the forum.


I would propose to increase the dependencies for the qemu-server package 
so that it needs pve-qemu-kvm-2.4-1 (actual it's at version 2.2) if we 
say we ship PVE4 with qemu 2.4 (only).

Else a check at the returned value could solve this problem also easily, 
but would introduce code which may be soon unnecessary.

Any opinions to that?




More information about the pve-devel mailing list