Richard W.M. Jones
2015-Jun-25 19:55 UTC
[Libguestfs] [PATCH] v2v: Increase the timeout of VMware curl connections (RHBZ#1146007).
On certain webservers these appear to go beyond even 600 seconds (10 minutes). --- v2v/input_libvirt_vcenter_https.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v2v/input_libvirt_vcenter_https.ml b/v2v/input_libvirt_vcenter_https.ml index 01a6c89..c6b9a1f 100644 --- a/v2v/input_libvirt_vcenter_https.ml +++ b/v2v/input_libvirt_vcenter_https.ml @@ -250,7 +250,8 @@ let map_source_to_uri ?readahead password uri scheme server path let json_params = [ "file.driver", JSON.String "https"; "file.url", JSON.String url; - "file.timeout", JSON.Int 600; + (* https://bugzilla.redhat.com/show_bug.cgi?id=1146007#c10 *) + "file.timeout", JSON.Int 2000; ] in let json_params -- 2.3.1
Pino Toscano
2015-Jun-26 13:35 UTC
Re: [Libguestfs] [PATCH] v2v: Increase the timeout of VMware curl connections (RHBZ#1146007).
In data giovedì 25 giugno 2015 20:55:09, Richard W.M. Jones ha scritto:> On certain webservers these appear to go beyond even 600 seconds (10 > minutes). > --- > v2v/input_libvirt_vcenter_https.ml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/v2v/input_libvirt_vcenter_https.ml b/v2v/input_libvirt_vcenter_https.ml > index 01a6c89..c6b9a1f 100644 > --- a/v2v/input_libvirt_vcenter_https.ml > +++ b/v2v/input_libvirt_vcenter_https.ml > @@ -250,7 +250,8 @@ let map_source_to_uri ?readahead password uri scheme server path > let json_params = [ > "file.driver", JSON.String "https"; > "file.url", JSON.String url; > - "file.timeout", JSON.Int 600; > + (* https://bugzilla.redhat.com/show_bug.cgi?id=1146007#c10 *) > + "file.timeout", JSON.Int 2000; > ] in > > let json_paramsLGTM. Worth bumping directly to 3600 by now? -- Pino Toscano
Reasonably Related Threads
- [PATCH 0/4] v2v: Use libvirt-supplied <vmware:datacenterpath> if available.
- [PATCH 0/5] v2v: Handle disks with snapshots (RHBZ#1172425).
- [PATCH 0/2] v2v: vcenter: Calculate dcPath correctly (RHBZ#1256823).
- [PATCH 0/2] v2v: Add --password-file parameter (RHBZ#1158526).
- [PATCH 0/4] v2v: Add a new tool virt-v2v-copy-to-local to handle Xen and ESXi