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

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Aug 18 14:25:14 CEST 2015


> I would propose to increase the dependencies for the qemu-server package 

The only other alternative would be changing the pve-qemu-kvm patches
to whitelist this API call in qemu to allow returning builtin types
again and go back to the way it used to work previously. Would mean
more incompatibilities within the older pve4 packages but hey, it's
still beta ;-)

(Why would anyone upgrade one without the other, though? That doesn't
make any sense to me. Then again, as an Arch user I know not to -Sy
without -u ;-) )

> On August 18, 2015 at 2:15 PM Thomas Lamprecht <t.lamprecht at proxmox.com>
> wrote:
> 
> 
> 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?
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
>




More information about the pve-devel mailing list