Eli Mesika has uploaded a new change for review.

Change subject: core: Expose stop/start retry/delay configuration.
......................................................................

core: Expose stop/start retry/delay configuration.

Expose stop/start retry/delay configuration to engine-config

This patch exposes the following values to engine-config:

FenceStopStatusDelayBetweenRetriesInSec (10)
FenceStopStatusRetries (18)
FenceStartStatusDelayBetweenRetriesInSec (10)
FenceStartStatusRetries (18)

The values in brackets are the default values so currently we are
waiting for the desired status for 3 min while pooling it each 10 sec
for 18 times.

There may be cases that those values should be customized and therefor
those values should be exposed to engine-config

Change-Id: I71c4af7b6d8fcdacaaff4abfec40b4fdf9cf5abf
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1147218
Signed-off-by: Eli Mesika <[email protected]>
---
M packaging/etc/engine-config/engine-config.properties
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/22/33922/1

diff --git a/packaging/etc/engine-config/engine-config.properties 
b/packaging/etc/engine-config/engine-config.properties
index b35840a..eea6ce6 100644
--- a/packaging/etc/engine-config/engine-config.properties
+++ b/packaging/etc/engine-config/engine-config.properties
@@ -444,3 +444,11 @@
 UnsupportedLocalesFilterOverrides.type=String
 DefaultMTU.description="Default MTU value"
 DefaultMTU.type=Mtu
+FenceStartStatusRetries.type=Integer
+FenceStartStatusRetries.description=Defines how many status command retries 
are done in order to get a 'on' status after host is started from power 
management.
+FenceStartStatusDelayBetweenRetriesInSec.type=Integer
+FenceStartStatusDelayBetweenRetriesInSec.description=Defines how may seconds 
to wait between each retry in FenceStopStatusRetries.
+FenceStopStatusRetries.type=Integer
+FenceStopStatusRetries.description=Defines how many status command retries are 
done in order to get a 'off' status after host is stopped from power management.
+FenceStopStatusDelayBetweenRetriesInSec.type=Integer
+FenceStopStatusDelayBetweenRetriesInSec.description=Defines how may seconds to 
wait between each retry in FenceStartStatusRetries.


-- 
To view, visit http://gerrit.ovirt.org/33922
To unsubscribe, visit http://gerrit.ovirt.org/settings

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

Reply via email to