Simone Tiraboschi has uploaded a new change for review.

Change subject: packaging: setup: increasing vdscli SSL timeout
......................................................................

packaging: setup: increasing vdscli SSL timeout

Increasing vdscli SSL timeout from default value (60 seconds) to
180 seconds in order to prevent SSL timeout errors on slow storage
operations.

Change-Id: I09f758d7521d1d94d0ed757fac926a3f14b7f0c2
Bug-Url: https://bugzilla.redhat.com/1169290
Signed-off-by: Simone Tiraboschi <[email protected]>
---
M ovirt-hosted-engine-setup.spec.in
M src/ovirt_hosted_engine_setup/constants.py
M src/plugins/ovirt-hosted-engine-setup/system/vdsmenv.py
3 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup 
refs/changes/58/38958/1

diff --git a/ovirt-hosted-engine-setup.spec.in 
b/ovirt-hosted-engine-setup.spec.in
index 2625f86..4310d4a 100644
--- a/ovirt-hosted-engine-setup.spec.in
+++ b/ovirt-hosted-engine-setup.spec.in
@@ -40,7 +40,7 @@
 Requires:       python-ethtool >= 0.6-3
 Requires:       otopi >= 1.3.1
 Requires:       vdsm >= 4.17.0
-Requires:       vdsm-cli >= 4.17.0
+Requires:       vdsm-cli >= 4.17.1
 Requires:       vdsm-gluster >= 4.17.0
 Requires:       vdsm-python >= 4.17.0
 Requires:       ovirt-host-deploy >= 1.3.1
diff --git a/src/ovirt_hosted_engine_setup/constants.py 
b/src/ovirt_hosted_engine_setup/constants.py
index d043083..c30df64 100644
--- a/src/ovirt_hosted_engine_setup/constants.py
+++ b/src/ovirt_hosted_engine_setup/constants.py
@@ -291,6 +291,7 @@
     HA_NOTIF_SMTP_SOURCE_EMAIL = 'source-email'
     HA_NOTIF_SMTP_DEST_EMAILS = 'destination-emails'
     BLANK_UUID = '00000000-0000-0000-0000-000000000000'
+    VDSCLI_SSL_TIMEOUT = 180
 
 
 @util.export
diff --git a/src/plugins/ovirt-hosted-engine-setup/system/vdsmenv.py 
b/src/plugins/ovirt-hosted-engine-setup/system/vdsmenv.py
index 2c2e28a..0fa7758 100644
--- a/src/plugins/ovirt-hosted-engine-setup/system/vdsmenv.py
+++ b/src/plugins/ovirt-hosted-engine-setup/system/vdsmenv.py
@@ -51,7 +51,7 @@
         super(Plugin, self).__init__(context=context)
 
     def _connect(self):
-        cli = vdscli.connect()
+        cli = vdscli.connect(timeout=ohostedcons.Const.VDSCLI_SSL_TIMEOUT)
         self.environment[ohostedcons.VDSMEnv.VDS_CLI] = cli
         vdsmReady = False
         retry = 0


-- 
To view, visit https://gerrit.ovirt.org/38958
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I09f758d7521d1d94d0ed757fac926a3f14b7f0c2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Simone Tiraboschi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to