Hi Alex,

Ack, Code review only

Regards,
Ravi
----- Original Message -----
From: [email protected]
To: [email protected], [email protected]
Cc: [email protected], [email protected]
Sent: Tuesday, November 28, 2017 10:34:48 PM GMT +05:30 Chennai, Kolkata, 
Mumbai, New Delhi
Subject: [PATCH 1/1] plm: setup immutil wrapper profile [#2708]

If an immutil_XXX call fails, PLM asserts which reboots the node.

immutil wrapper profile is not set.

Set the immutil wrapper profile.
---
 src/plm/plmd/plms_imm.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/plm/plmd/plms_imm.c b/src/plm/plmd/plms_imm.c
index ef61b57..e3882e4 100644
--- a/src/plm/plmd/plms_imm.c
+++ b/src/plm/plmd/plms_imm.c
@@ -4384,6 +4384,12 @@ SaAisErrorT plms_imm_init(void)
 {
        SaAisErrorT rc = SA_AIS_OK;
 
+       extern struct ImmutilWrapperProfile immutilWrapperProfile;
+
+       immutilWrapperProfile.errorsAreFatal = false;
+       immutilWrapperProfile.retryInterval = 1000;
+       immutilWrapperProfile.nTries = 180;
+
        TRACE_ENTER();
 
        do {
-- 
2.9.5


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to