Re: Disk extend during migration

2021-08-02 Thread Vojtech Juranek
> > so it took about 2 second to libvirt setBlockThreshold() call to return > > and in meantime migration was finished and we get > > VIR_ERR_OPERATION_INVALID error from setBlockThreshold() call. > > > > What is the reason for this delay? Is this operation intentionally delayed > > until migrat

Re: Disk extend during migration

2021-08-02 Thread Peter Krempa
ation > > > flows and solve few follow-up bugs, e.g. BZ #1981079 [2]. I have couple > > > of questions related to libvirt: > > > > > > * if we run disk extend during migration, it can happen that migration > > > finishes sooner than disk extend. In suc

Re: Disk extend during migration

2021-08-02 Thread Vojtech Juranek
uple > > of questions related to libvirt: > > > > * if we run disk extend during migration, it can happen that migration > > finishes sooner than disk extend. In such case we will try to set disk > > threshold on already stopped VM (we handle libvirt event that VM wa

Re: Disk extend during migration

2021-08-02 Thread Peter Krempa
On Mon, Aug 02, 2021 at 14:20:44 +0200, Vojtech Juranek wrote: > Hi, > as a follow-up of BZ #1883399 [1], we are reviewing vdsm VM migration flows > and > solve few follow-up bugs, e.g. BZ #1981079 [2]. I have couple of questions > related to libvirt: > > * if we r

Disk extend during migration

2021-08-02 Thread Vojtech Juranek
Hi, as a follow-up of BZ #1883399 [1], we are reviewing vdsm VM migration flows and solve few follow-up bugs, e.g. BZ #1981079 [2]. I have couple of questions related to libvirt: * if we run disk extend during migration, it can happen that migration finishes sooner than disk extend. In such