[pve-devel] qemu 4.4 : rbd : snapshot memory, savevm is hanging

Alexandre DERUMIER aderumier at odiso.com
Sun Nov 8 05:06:54 CET 2015


Some news,

first I'm seeing this warning when debugging

WARNING: Image format was not specified for 'rbd:pooltest/vm-162-state-snap10:mon_host=10.3.94.31:id=admin:auth_supported=cephx:keyring=/etc/pve/priv/ceph/ceph1.keyring' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.

it's since qemu 2.3, we need to specify format=raw, we are already doing it for -drive , I'm not sure with vmstate open.




then, we the snapshot is hanging:

savevm-async: savevm inerate pending size 11948032 ret 129
...
savevm-async: savevm inerate pending size 389120 ret 95
savevm-async: done iterating
-> block here



when it's working : 

savevm-async: savevm inerate pending size 14626816 ret 385
savevm-async: savevm inerate pending size 13049856 ret 129
..
savevm-async: savevm inerate pending size 421888 ret 103
savevm-async: done iterating
savevm-async: savevm inerate finished
savevm-async: save complete
savevm-async: save_snapshot_completed
savevm-async: save_snapshot_cleanup


----- Mail original -----
De: "aderumier" <aderumier at odiso.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Samedi 7 Novembre 2015 18:48:08
Objet: [pve-devel] qemu 4.4 : rbd :  snapshot memory, savevm is hanging

Hi, 

I'm trying memory snapshot with qemu 4.4 with rbd (librbd), and it seem to hang 

(It's working fine with qcow2) 


Do it work for you ? 

Here the snapshot job log: 

" 
snapshot create failed: starting cleanup 
Removing all snapshots: 100% complete...done. 
Removing image: 1% complete... 
Removing image: 2% complete... 
Removing image: 3% complete... 
Removing image: 4% complete... 
Removing image: 5% complete... 
Removing image: 6% complete... 
Removing image: 7% complete... 
Removing image: 8% complete... 
Removing image: 9% complete... 
Removing image: 10% complete... 
Removing image: 11% complete... 
Removing image: 12% complete... 
Removing image: 13% complete... 
Removing image: 14% complete... 
Removing image: 15% complete... 
Removing image: 16% complete... 
Removing image: 17% complete... 
Removing image: 18% complete... 
Removing image: 19% complete... 
Removing image: 20% complete... 
Removing image: 21% complete... 
Removing image: 22% complete... 
Removing image: 23% complete... 
Removing image: 24% complete... 
Removing image: 25% complete... 
Removing image: 26% complete... 
Removing image: 27% complete... 
Removing image: 28% complete... 
Removing image: 29% complete... 
Removing image: 30% complete... 
Removing image: 31% complete... 
Removing image: 32% complete... 
Removing image: 33% complete... 
Removing image: 34% complete... 
Removing image: 35% complete... 
Removing image: 36% complete... 
Removing image: 37% complete... 
Removing image: 38% complete... 
Removing image: 39% complete... 
Removing image: 40% complete... 
Removing image: 41% complete... 
Removing image: 42% complete... 
Removing image: 43% complete... 
Removing image: 44% complete... 
Removing image: 45% complete... 
Removing image: 46% complete... 
Removing image: 47% complete... 
Removing image: 48% complete... 
Removing image: 49% complete... 
Removing image: 50% complete... 
Removing image: 51% complete... 
Removing image: 52% complete... 
Removing image: 53% complete... 
Removing image: 54% complete... 
Removing image: 55% complete... 
Removing image: 56% complete... 
Removing image: 57% complete... 
Removing image: 58% complete... 
Removing image: 59% complete... 
Removing image: 60% complete... 
Removing image: 61% complete... 
Removing image: 62% complete... 
Removing image: 63% complete... 
Removing image: 64% complete... 
Removing image: 65% complete... 
Removing image: 66% complete... 
Removing image: 67% complete... 
Removing image: 68% complete... 
Removing image: 69% complete... 
Removing image: 70% complete... 
Removing image: 71% complete... 
Removing image: 72% complete... 
Removing image: 73% complete... 
Removing image: 74% complete... 
Removing image: 75% complete... 
Removing image: 76% complete... 
Removing image: 77% complete... 
Removing image: 78% complete... 
Removing image: 79% complete... 
Removing image: 80% complete... 
Removing image: 81% complete... 
Removing image: 82% complete... 
Removing image: 83% complete... 
Removing image: 84% complete... 
Removing image: 85% complete... 
Removing image: 86% complete... 
Removing image: 87% complete... 
Removing image: 88% complete... 
Removing image: 89% complete... 
Removing image: 90% complete... 
Removing image: 91% complete... 
Removing image: 92% complete... 
Removing image: 93% complete... 
Removing image: 94% complete... 
Removing image: 95% complete... 
Removing image: 96% complete... 
Removing image: 97% complete... 
Removing image: 98% complete... 
Removing image: 99% complete... 
Removing image: 100% complete...done. 
TASK ERROR: query-savevm returned status 'failed' 
" 
_______________________________________________ 
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