Unable to backup KVM machines after update

mel128

Member
May 9, 2011
77
0
6
Hello,

Yesterday I did an update on a fresh V2 install on Debian Squeeze and an usual apt-get upgrade.

This night, the usual backup failled on KVM machines with this error message : Undefined subroutine &PVE::Storage::cluster_lock_storage called at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 240.

The backup of the OpenVz machines was done without error.


Any idea on how to solve this ?

Michel.
 
An additional info, the problem occurs when the KVM virtual machine is running. If it is stopped, the backup is done without issue.
 
This night, the usual backup failled on KVM machines with this error message : Undefined subroutine &PVE::Storage::cluster_lock_storage called at /usr/share/perl5/PVE/VZDump/QemuServer.pm line 240.

Seems you have some old packages. What is the output of:

# pveversion -v
 
Same problem here !

root@spmx593n:~# pveversion -vpve-manager: 2.1-12 (pve-manager/2.1/be112d89)
running kernel: 2.6.32-11-pve
proxmox-ve-2.6.32: 2.0-66
pve-kernel-2.6.32-11-pve: 2.6.32-66
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-39
pve-firmware: 1.0-17
libpve-common-perl: 1.0-28
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-26
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1
 
Thank for your reply Udo.

Yes, there is a LVM partition. PVE 2.x worked since one month and I did only a apt-get upgrade. The backup of OpenVz virtual machines, using also snapshot, is not affected.
 
Dietmar,

apt repository is deb http://download.proxmox.com/debian squeeze pve

# pveversion -v
pve-manager: 2.1-12 (pve-manager/2.1/be112d89)
running kernel: 2.6.32-12-pve
proxmox-ve-2.6.32: 2.1-68
pve-kernel-2.6.32-12-pve: 2.6.32-68
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.3-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.92-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.8-1
pve-cluster: 1.0-27
qemu-server: 2.0-39
pve-firmware: 1.0-17
libpve-common-perl: 1.0-28
libpve-access-control: 1.0-24
libpve-storage-perl: 2.0-27
vncterm: 1.0-2
vzctl: 3.0.30-2pve5
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-9
ksm-control-daemon: 1.1-1
 
Last edited:
Yes Tom. It seems to be solved now.

What's happened is :

The result of apt-get update was, and I did not noticed it :

The following packages have been kept back:
proxmox-ve-2.6.32 pve-qemu-kvm qemu-server
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

I do not know why the update failed on these packages.

I did :

apt-get install proxmox-ve-2.6.32 pve-qemu-kvm qemu-server

A manual backup of a running virtual KVM machine is working now. I wait the scheduled one this night.

Thank for your help.
 
thanks for feedback. the announcements includes the command for full upgrade.
(aptitude update && aptitude full-upgrade)
 
Thanks for the post... I was having the same problem and this solved it for me...

Yes Tom. It seems to be solved now.

What's happened is :

The result of apt-get update was, and I did not noticed it :



I do not know why the update failed on these packages.

I did :



A manual backup of a running virtual KVM machine is working now. I wait the scheduled one this night.

Thank for your help.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!