[pve-devel] [PATCH] rbd : free_image : retry if rbd has watchers
Alexandre DERUMIER
aderumier at odiso.com
Fri Nov 7 10:45:57 CET 2014
>>Btw, did you visit OpenStack Summit in Paris? If so, any interesting news?
No, don't have had time to visit it, sorry.
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Vendredi 7 Novembre 2014 10:44:37
Objet: RE: [pve-devel] [PATCH] rbd : free_image : retry if rbd has watchers
> I have dig a little big, and I find the real problem.
>
> block-job-cancel is async, so it take 1 or 2s for the block-job is really finished.
>
> That's why we got the "rbd has watcher" error, because the disk was always
> open in qemu.
>
> So, we just need to check that block-job don't exist anymore before continue.
>
> I'll send a patch today.
Great!
Btw, did you visit OpenStack Summit in Paris? If so, any interesting news?
More information about the pve-devel
mailing list