Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-03 Thread Alexandre DERUMIER
voyé: Vendredi 3 Octobre 2014 09:40:20 Objet: RE: [pve-devel] possible problem with drive-mirror and block-job-completed > I'll ask . Do you have seen something new in last qemu-kvm ? Maybe this one: http://lists.nongnu.org/archive/html/qemu-stable/2014-08/msg00189.html ___

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-03 Thread Dietmar Maurer
> I'll ask . Do you have seen something new in last qemu-kvm ? Maybe this one: http://lists.nongnu.org/archive/html/qemu-stable/2014-08/msg00189.html ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Alexandre DERUMIER
ve-devel] possible problem with drive-mirror and block-job-completed > Now, I have tell to the user forum to put a sleep, Maybe the user uses old qemu-kvm? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Dietmar Maurer
> Now, I have tell to the user forum to put a sleep, Maybe the user uses old qemu-kvm? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Alexandre DERUMIER
I'm not sure) I don't known if we could add something like s->synced = true; s->common.synced = true; to get the sync status in query-block-job - Mail original - De: "Alexandre DERUMIER" À: "Dietmar Maurer" Cc: pve-devel@pve.proxmox.com Envo

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Alexandre DERUMIER
>>Would you mind to ask on the qemu list? Yes,I ll try to reproduce first, to be sure - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc: pve-devel@pve.proxmox.com Envoyé: Jeudi 2 Octobre 2014 10:01:23 Objet: RE: [pve-devel] possible pro

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Dietmar Maurer
> > Maybe it could be possible to retrieve the "synced" property without event, > with some hack ? > > I guess that is possible, because current code ($stat->{len} == > $stat->{offset}) > does the same thing. need to correct myself: I guess that is possible, but it will not help because current

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Dietmar Maurer
> So, I think current proxmox code detection is correct ? > > last if ($stat->{len} == $stat->{offset}); Would you mind to ask on the qemu list? > Maybe it could be possible to retrieve the "synced" property without event, > with some hack ? I guess that is possible, because current code ($st

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-02 Thread Alexandre DERUMIER
it's related to rbd with writeback) - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" , pve-devel@pve.proxmox.com Envoyé: Jeudi 2 Octobre 2014 07:30:33 Objet: RE: [pve-devel] possible problem with drive-mirror and block-job-completed Also make sur

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
vel@pve.proxmox.com Envoyé: Jeudi 2 Octobre 2014 07:30:33 Objet: RE: [pve-devel] possible problem with drive-mirror and block-job-completed Also make sure you are testing with latest qemu (2.1.2). > Maybe it could be possible to retrieve the "synced" property without event,

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Dietmar Maurer
Also make sure you are testing with latest qemu (2.1.2). > Maybe it could be possible to retrieve the "synced" property without event, > with > some hack ? (through classic qmp query) > ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.p

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
gt;{len} == $stat->{offset}); maybe it's not enough, something like $stats->{synced} could be better. - Mail original - De: "Alexandre DERUMIER" À: pve-devel@pve.proxmox.com Envoyé: Mercredi 1 Octobre 2014 16:09:40 Objet: [pve-devel] possible problem with dr

Re: [pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
$count++ unless $frozen; } } elsif ($frozen) { vm_resume($vmid,1); $count = 0; } $old_len = $stat->{offset}; sleep 1; } ----- Mail origi

[pve-devel] possible problem with drive-mirror and block-job-completed

2014-10-01 Thread Alexandre DERUMIER
Hi, Bug report here: http://forum.proxmox.com/threads/19733-storage-migration-virtio-failed?p=101317#post101317 Rbd -> rbd drive mirror. Currently, we are using qmp block-job-complete just after drive-mirror, but block-job-complete need to be sure that drives are correctly sync static