[Libguestfs] [PATCH] v2v: Increase the timeout of VMware curl connections (RHBZ#1146007).

Richard W.M. Jones rjones at redhat.com
Thu Jun 25 19:55:09 UTC 2015


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




More information about the Libguestfs mailing list