Re: [Libguestfs] [PATCH v2] v2v: rhv-upload-plugin: Defer imageio connection

2021-01-21 Thread Eric Blake
On 1/21/21 6:16 AM, Nir Soffer wrote: > On Thu, Jan 21, 2021 at 1:57 PM Nir Soffer wrote: > ... > > How I tested: > > I could not use the example python plugin with the added delay, since > os.preadv() is not available in python 3.6 (added in 3.7). > > I could not use the delay filter since it

Re: [Libguestfs] [PATCH v2] v2v: rhv-upload-plugin: Defer imageio connection

2021-01-21 Thread Nir Soffer
On Thu, Jan 21, 2021 at 2:08 PM Richard W.M. Jones wrote: > > On Thu, Jan 21, 2021 at 01:56:55PM +0200, Nir Soffer wrote: > > This happens only when not using unix socket, for example when running > > on non-ovirt host, or ovirt host from another data center, or when using > > -oo

Re: [Libguestfs] [PATCH v2] v2v: rhv-upload-plugin: Defer imageio connection

2021-01-21 Thread Nir Soffer
On Thu, Jan 21, 2021 at 1:57 PM Nir Soffer wrote: ... How I tested: I could not use the example python plugin with the added delay, since os.preadv() is not available in python 3.6 (added in 3.7). I could not use the delay filter since it supports only integer delay. With fedora 32 image with

Re: [Libguestfs] [PATCH v2] v2v: rhv-upload-plugin: Defer imageio connection

2021-01-21 Thread Richard W.M. Jones
On Thu, Jan 21, 2021 at 01:56:55PM +0200, Nir Soffer wrote: > This happens only when not using unix socket, for example when running > on non-ovirt host, or ovirt host from another data center, or when using > -oo rhv_direct=false > > When using unix socket, we close the initial HTTPSConnection,