Eli Mesika has uploaded a new change for review. Change subject: core: adding retry for host start for PPC ......................................................................
core: adding retry for host start for PPC Sometimes a restart operation started by engine is not completed because the host PM failed to put the host on 'on' state This occurred on PPC hosts only until now. Some fencing scripts as the one used here (IPMI) have an option to se retries for the 'on' operation by sending : retry_on=<number> The patch adds "retry_on=2" for teh relevant PPC fencing scripts such that this will be sent by engine as a default when a PPC host has one of those agents used Change-Id: I2c7a195526eb3f6454116806131294de2d3fc067 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1151553 Signed-off-by: Eli Mesika <[email protected]> --- M packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql 1 file changed, 2 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/90/34590/1 diff --git a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql index db57bd6..5335ee6 100644 --- a/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql +++ b/packaging/dbscripts/upgrade/pre_upgrade/0000_config.sql @@ -850,11 +850,13 @@ select fn_db_update_config_value('DBEngine','Postgres','general'); select fn_db_update_config_value('DefaultTimeZone','(GMT) GMT Standard Time','general'); select fn_db_update_config_value('FenceAgentDefaultParams','ilo3:lanplus,power_wait=4;ilo4:lanplus,power_wait=4','general'); +select fn_db_update_config_value('FenceAgentDefaultParamsForPPC','ilo3:lanplus=1,cipher=1,privlvl=administrator,power_wait=4,retry_on=2;ilo4:ilanplus=1,cipher=1,privlvl=administrator,power_wait=4,retry_on=2;ipmilan:lanplus=1,cipher=1,privlvl=administrator,power_wait=4,retry_on=2','general'); select fn_db_update_config_value('FenceAgentMapping','drac7=ipmilan,ilo2=ilo,ilo3=ipmilan,ilo4=ipmilan','general'); select fn_db_update_config_value('FenceStartStatusDelayBetweenRetriesInSec','10','general'); select fn_db_update_config_value('FenceStartStatusRetries','18','general'); select fn_db_update_config_value('FenceStopStatusDelayBetweenRetriesInSec','10','general'); select fn_db_update_config_value('FenceStopStatusRetries','18','general'); + select fn_db_update_config_value('IPTablesConfig',' # oVirt default firewall configuration. Automatically generated by vdsm bootstrap script. *filter -- To view, visit http://gerrit.ovirt.org/34590 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2c7a195526eb3f6454116806131294de2d3fc067 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
