vzdump and destroyed VMs

iti-asi

Member
Jul 14, 2009
52
0
6
València
www.iti.upv.es
Hi,

We had several PVE backup jobs in a server, which had a OpenVZ container and three KVMs.

We recently moved one of the KVMs to a second host (in another PVE cluster) and destroyed the OpenVZ container. Since then, we get the following:

Code:
Subject: [Sysadmin] Cron <root@admon01> vzdump --quiet --snapshot --compress
        --dumpdir /backup --mailto email@address 110

Use of uninitialized value in concatenation (.) or string at /usr/sbin/vzdump line 1305.
Use of uninitialized value in -d at /usr/sbin/vzdump line 760.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/vzdump line 760.
Use of uninitialized value in substitution (s///) at /usr/sbin/vzdump line 919.
Use of uninitialized value in sprintf at /usr/sbin/vzdump line 931.
And the backup summary is:

Code:
┌──────┬──────┬────────┬──────────┬──────────┬──────────────────┐
│ VMID │ NAME │ STATUS │ TIME     │ SIZE     │ FILENAME         │
├──────┼──────┼────────┼──────────┼──────────┴──────────────────┤
│ 110  │      │ FAILED │ 00:00:00 │ directory '' does not exist │
├──────┴──────┴────────┼──────────┼──────────┬──────────────────┤
│ TOTAL                │ 00:00:01 │ 0KB      │                  │
└──────────────────────┴──────────┴──────────┴──────────────────┘


Detailed backup logs:


vzdump --quiet --snapshot --compress --dumpdir /backup --mailto email@address 110

110: Jan 19 23:00:02 INFO: Starting Backup of VM 110 ()
110: Jan 19 23:00:02 ERROR: Backup of VM 110 failed - directory '' does not exist

It looks like the failure to find the OpenVZ container is preventing all other backups from running.
 
Wow, I realize this box is running an ancient PVE version (etch based!) which we're trying to empty to reinstall, and I suspect this bug must be fixed already in the current versions. If so, sorry about the noise.