[PVE-User] Restore cancelation problem?

Eneko Lacunza elacunza at binovo.es
Thu Jul 21 10:18:00 CEST 2016


Hi all,

During some restore test, I have found that stopping a restore leaves 
rbd images unremoved:

---

restore vma archive: lzop -d -c 
/mnt/pve/txoritokieta-proxmox/dump/vzdump-qemu-111-2016_07_02-02_53_14-win2003.vma.lzo|vma 
extract -v -r /var/tmp/vzdumptmp12554.fifo - /var/tmp/vzdumptmp12554
CFG: size: 414 name: qemu-server.conf
DEV: dev_id=1 size: 26843545600 devname: drive-virtio0
DEV: dev_id=2 size: 10737418240 devname: drive-virtio1
CTIME: Sat Jul 2 02:53:15 2016
new volume ID is 'ceph-proxmox:vm-130-disk-1'
map 'drive-virtio0' to 'rbd:proxmox/vm-130-disk-1:mon_host=172.16.1.1 
172.16.1.2 
172.16.1.4:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ceph-proxmox.keyring' 
(write zeros = 0)
new volume ID is 'ceph-proxmox:vm-130-disk-2'
map 'drive-virtio1' to 'rbd:proxmox/vm-130-disk-2:mon_host=172.16.1.1 
172.16.1.2 
172.16.1.4:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ceph-proxmox.keyring' 
(write zeros = 0)
progress 1% (read 375848960 bytes, duration 44 sec)
progress 2% (read 751632384 bytes, duration 87 sec)
progress 3% (read 1127481344 bytes, duration 314 sec)
progress 4% (read 1503264768 bytes, duration 356 sec)
progress 5% (read 1879048192 bytes, duration 401 sec)
progress 6% (read 2254897152 bytes, duration 430 sec)
progress 7% (read 2630680576 bytes, duration 511 sec)
progress 8% (read 3006529536 bytes, duration 551 sec)
progress 9% (read 3382312960 bytes, duration 584 sec)
progress 10% (read 3758096384 bytes, duration 624 sec)
progress 11% (read 4133945344 bytes, duration 660 sec)
progress 12% (read 4509728768 bytes, duration 697 sec)
progress 13% (read 4885577728 bytes, duration 746 sec)
progress 14% (read 5261361152 bytes, duration 799 sec)
progress 15% (read 5637144576 bytes, duration 843 sec)
progress 16% (read 6012993536 bytes, duration 875 sec)
progress 17% (read 6388776960 bytes, duration 907 sec)
progress 18% (read 6764625920 bytes, duration 942 sec)
progress 19% (read 7140409344 bytes, duration 981 sec)
progress 20% (read 7516192768 bytes, duration 1030 sec)
progress 21% (read 7892041728 bytes, duration 1072 sec)
progress 22% (read 8267825152 bytes, duration 1110 sec)
progress 23% (read 8643674112 bytes, duration 1145 sec)
progress 24% (read 9019457536 bytes, duration 1191 sec)
Removing all snapshots: 100% complete...done.
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
unable to cleanup 'ceph-proxmox:vm-130-disk-2' - rbd rm 'vm-130-disk-2' 
error: rbd: error: image still has watchers
Removing all snapshots: 100% complete...done.
image has watchers - not removing
Removing image: 0% complete...failed.
rbd: error: image still has watchers
unable to cleanup 'ceph-proxmox:vm-130-disk-1' - rbd rm 'vm-130-disk-1' 
error: rbd: error: image still has watchers
TASK ERROR: command 'lzop -d -c 
/mnt/pve/txoritokieta-proxmox/dump/vzdump-qemu-111-2016_07_02-02_53_14-win2003.vma.lzo|vma 
extract -v -r /var/tmp/vzdumptmp12554.fifo - /var/tmp/vzdumptmp12554' 
failed: interrupted by signal

---

pveversion -v
proxmox-ve: 4.2-56 (running kernel: 4.4.13-1-pve)
pve-manager: 4.2-15 (running version: 4.2-15/6669ad2c)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.13-1-pve: 4.4.13-56
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.8-1-pve: 4.4.8-52
pve-kernel-4.2.8-1-pve: 4.2.8-41
pve-kernel-4.4.10-1-pve: 4.4.10-54
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-42
qemu-server: 4.0-83
pve-firmware: 1.1-8
libpve-common-perl: 4.0-70
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-55
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-19
pve-container: 1.0-70
pve-firewall: 2.0-29
pve-ha-manager: 1.0-32
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
ceph: 0.94.7-1~bpo80+1

-- 
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943493611
       943324914
Astigarraga bidea 2, planta 6 dcha., ofi. 3-2; 20180 Oiartzun (Gipuzkoa)
www.binovo.es




More information about the pve-user mailing list