vzdump no longer "sees" KVM VM's

jcpham

New Member
Apr 12, 2009
19
0
1
I've run into a problem where vzdump no longer recognizes or "sees" the two KVM virtual machines on my PVE host. Several other things are also concerning me. I'll post the all of the output and see if anyone here can help me or decipher what is going on. vzdump stopped functioning after apt-get dist-upgrade.

volt:~# pveversion -v
pve-manager: 1.3-1 (pve-manager/1.3/4023)
qemu-server: 1.0-14
pve-kernel: 2.6.24-18
pve-kvm: 86-3
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1

volt:~# uname -a
Linux volt 2.6.24-9-pve #1 SMP PREEMPT Tue Nov 17 09:34:41 CET 2009 x86_64 GNU/Linux

volt:~# vzdump --snapshot --dumpdir /mnt/ext --all INFO: starting new backup job: vzdump --snapshot --dumpdir /mnt/ext --all
INFO: Backup job finished successfuly


VMID
NAME
STATUS
TIME
SIZE
FILENAME
101
VM 101
FAILED
00:00:00
unable to find VM '101'
102
VM 102
FAILED
00:00:00
unable to find VM '102'
TOTAL
00:00:00
0KB


101: no log available 102: no log available

apt issues:

volt:~# cat /etc/apt/sources.list
# Debian Etch main
#deb http://ftp.us.debian.org/debian lenny main
# WEBMIN
#deb http://download.webmin.com/download/repository sarge contrib
# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve
# Dell OMSA
#deb ftp://ftp.sara.nl/pub/sara-omsa dell sara
# Debian Etch security updates
#deb http://security.debian.org/ lenny/updates main

Before you start asking. Yes, we do also have webmin and Dell Openmanage installed on the PVE host.
That is the current, active sources.list for apt, however.

volt:~# apt-get update
Get:1 http://download.proxmox.com lenny Release.gpg [189B]
Ign http://download.proxmox.com lenny/pve Translation-en_US
Get:2 http://download.proxmox.com lenny Release [2464B]
Ign http://download.proxmox.com lenny/pve Packages/DiffIndex
Ign http://download.proxmox.com lenny/pve Packages
Get:3 http://download.proxmox.com lenny/pve Packages [6912B]
Fetched 9565B in 1s (5454B/s)
Reading package lists... Done
volt:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
proxmox-ve pve-manager qemu-server
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

volt:~# vzlist
Container(s) not found
volt:~# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
101 SBS running 4096 300.00 4180
102 SQL running 2048 80.00 4201
 
I've run into a problem where vzdump no longer recognizes or "sees" the two KVM virtual machines on my PVE host. Several other things are also concerning me. I'll post the all of the output and see if anyone here can help me or decipher what is going on. vzdump stopped functioning after apt-get dist-upgrade.

volt:~# pveversion -v
pve-manager: 1.3-1 (pve-manager/1.3/4023)
qemu-server: 1.0-14
pve-kernel: 2.6.24-18
pve-kvm: 86-3
pve-firmware: 1
vncterm: 0.9-2
vzctl: 3.0.23-1pve3
vzdump: 1.2-5
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1

volt:~# uname -a
Linux volt 2.6.24-9-pve #1 SMP PREEMPT Tue Nov 17 09:34:41 CET 2009 x86_64 GNU/Linux

volt:~# vzdump --snapshot --dumpdir /mnt/ext --all INFO: starting new backup job: vzdump --snapshot --dumpdir /mnt/ext --all
INFO: Backup job finished successfuly


VMID
NAME
STATUS
TIME
SIZE
FILENAME
101
VM 101
FAILED
00:00:00
unable to find VM '101'
102
VM 102
FAILED
00:00:00
unable to find VM '102'
TOTAL
00:00:00
0KB


101: no log available 102: no log available

apt issues:

volt:~# cat /etc/apt/sources.list
# Debian Etch main
#deb http://ftp.us.debian.org/debian lenny main
# WEBMIN
#deb http://download.webmin.com/download/repository sarge contrib
# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve
# Dell OMSA
#deb ftp://ftp.sara.nl/pub/sara-omsa dell sara
# Debian Etch security updates
#deb http://security.debian.org/ lenny/updates main

Before you start asking. Yes, we do also have webmin and Dell Openmanage installed on the PVE host.
That is the current, active sources.list for apt, however.

volt:~# apt-get update
Get:1 http://download.proxmox.com lenny Release.gpg [189B]
Ign http://download.proxmox.com lenny/pve Translation-en_US
Get:2 http://download.proxmox.com lenny Release [2464B]
Ign http://download.proxmox.com lenny/pve Packages/DiffIndex
Ign http://download.proxmox.com lenny/pve Packages
Get:3 http://download.proxmox.com lenny/pve Packages [6912B]
Fetched 9565B in 1s (5454B/s)
Reading package lists... Done
volt:~# apt-get upgrade

run 'apt-get dist-upgrade' and not 'apt-get upgrade'
 
volt:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
proxmox-ve pve-manager qemu-server
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

dist-upgrade is what seems to have started this problem. I stopped my VM's, did the dist-upgrade, rebooted, and ever since then vzdump does not see the KVM VM's.

This host started as 0.9 or 1.0 and has been upgraded a few times to the current version. I'm concerned about my current kernel version and the output versions of pveversion -v.

I was expecting to be on 1.4/4390 after dist-upgrade, but I'm not and I'm not sure why.
 
I also need to point out that someone else seems to be having the same problem as me with vzdump.

My host is also a single node, but I do not have any OpenVZ VM's, just the two KVM VM's:

-----Original Message-----
From: pve-user-bounces@pve.proxmox.com
[mailto:pve-user-bounces@pve.proxmox.com] On Behalf Of Dietmar Sent: Wednesday, December 30, 2009 10:26 AM
To: XXXXXX proxmoxve
Subject: Re: [PVE-User] Backup Problem

Please can you post the content of /etc/cron.d/vzdump

And what is the output of

# qm list

and

# vzlist

- Dietmar

> -----Original Message-----
> From: pve-user-bounces@pve.proxmox.com [mailto:pve-user-
> bounces@pve.proxmox.com] On Behalf Of XXXXXXXX
> Sent: Mittwoch, 30. Dezember 2009 17:18
> To: proxmoxve
> Subject: [PVE-User] Backup Problem
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I have a backup job on my proxmox server that is set as follows:
>
> * Include all VMs
> * All days of week checked.
> * 03:00 start time
> * Mode: snapshot
> * Compress files is checked.
>
> This morning I noticed that the backup report included only my single
> OpenVZ VM and excluded all the Qemu/KVM VMs. Only that VM is included
> and no references are made to any of the other machines in the backup
> log.
>
> I see now that the last backup that included all the VMs was on Nov
> 19th.
>
> My PVE Version info is as follows:
>
> pve-manager: 1.3-1 (pve-manager/1.3/4023)
> qemu-server: 1.0-14
> pve-kernel: 2.6.24-11
> pve-kvm: 86-3
> pve-firmware: 1
> vncterm: 0.9-2
> vzctl: 3.0.23-1pve3
> vzdump: 1.2-5
> vzprocps: 2.0.11-1dso2
> vzquota: 3.0.11-1
>
> It is a single node cluster.
>
>
> Does anyone have any ideas why the KVM backups would have stopped and
> how I can get them working again?
 
I think my sources.list was way out of date. Just did a dist-upgrade and it looks to have upgraded correctly. Rebooting server now. Will test vzdump shortly.
 
Resolved: vzdump no longer "sees" KVM VM's

Problem resolved. /etc/apt/sources.list was incorrect and out of date. I checked another PVE host and updated my repos:

deb http://ftp.us.debian.org/debian lenny main contrib

# PVE packages provided by proxmox.com
deb http://download.proxmox.com/debian lenny pve

# security updates
deb http://security.debian.org/ lenny/updates main contrib


apt-get update
apt-get dist-upgrade

And everything updated successfully. vzdump works again now.
 
sorry for the double post. not sure how I did that.

vzdump works again now.
 
Last edited:

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!