Re: [devel] [PATCH 1/1] imm: sPbeRtMutations is updated even when validation for duplicate values fails [#2422]

2018-05-08 Thread Zoran Milinkovic
ttrName.c_str(), objectName.c_str()); err = SA_AIS_ERR_INVALID_PARAM; break; // out of for switch } The same code can be applied for other changes. BR, Zoran -Original Message- From: Danh Vo [mailto:danh.c...@dektech.com.au] Sent: den 15 mars 2018 11:54 To:

Re: [devel] [PATCH 1/1] imm: fix memory leaked in immnd [#2825]

2018-04-04 Thread Zoran Milinkovic
den 4 april 2018 08:25 To: Vu Minh Nguyen <vu.m.ngu...@dektech.com.au>; Anders Widell <anders.wid...@ericsson.com>; ravisekhar.ko...@oracle.com; Zoran Milinkovic <zoran.milinko...@ericsson.com>; Lennart Lund <lennart.l...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.ne

Re: [devel] [PATCH 1/1] mds: improve thread safety in mdstest [#2746]

2018-03-22 Thread Zoran Milinkovic
what’s in for loops. I don’t think that because of that rwlock is needed. BR, Zoran From: Hans Nordebäck Sent: den 22 mars 2018 14:21 To: Hoa Le <hoa...@dektech.com.au>; Zoran Milinkovic <zoran.milinko...@ericsson.com>; Anders Widell <anders.wid...@ericsson.com>

Re: [devel] [PATCH 1/1] mds: improve thread safety in mdstest [#2746]

2018-03-21 Thread Zoran Milinkovic
Hi, According to the patch (I haven't checked the code), I don't see the reason for using rwlock. Pthread mutex will even work better than rwlock in the patch. Reasons for using mutex: 1. Mutex is much faster than rwlock in Linux, around 10 times faster, if I remember correctly 2. Here, we are

Re: [devel] [PATCH 1/1] imm: not allow creating reserved IMM class names [#2771]

2018-03-07 Thread Zoran Milinkovic
Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 7 mars 2018 08:32 To: Hans Nordebäck <hans.nordeb...@ericsson.com>; Zoran Milinkovic <zoran.milinko...@ericsson.com>; ravisekhar.ko...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: RE: [devel] [PATCH 1/1] imm: not al

Re: [devel] [PATCH 1/1] imm: improve immlist printout for multiple attribute values [#2753]

2018-03-06 Thread Zoran Milinkovic
Hi Vu, Ack from me. Thanks, Zoran -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 24 januari 2018 15:47 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; ravisekhar.ko...@oracle.com Cc: opensaf-devel@lists.sourceforge.net; Vu Minh

Re: [devel] [PATCH 1/1] imm: not allow creating reserved IMM class names [#2771]

2018-03-06 Thread Zoran Milinkovic
u] Sent: den 30 januari 2018 15:24 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; ravisekhar.ko...@oracle.com Cc: opensaf-devel@lists.sourceforge.net; Vu Minh Nguyen <vu.m.ngu...@dektech.com.au> Subject: [PATCH 1/1] imm: not allow creating reserved IMM class names [#

Re: [devel] [PATCH 1/1] imm: return correct error code when working on more than 10000 objects [#2359]

2018-02-27 Thread Zoran Milinkovic
gip...@oracle.com>; Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subject: RE: [PATCH 1/1] imm: return correct error code when working on more than 1 objects [#2359] Hi Srinivas, I see you added new error code type to the function ` immsv_evt_enc_n

Re: [devel] [PATCH 1/1] imm: immnd coredump during SYNC finalize [#2775]

2018-01-31 Thread Zoran Milinkovic
Hi Vu, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 31 januari 2018 12:20 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Vu Minh Nguyen <

Re: [devel] [PATCH 0/1] Review Request for imm: not allow creating reserved IMM class names [#2771]

2018-01-26 Thread Zoran Milinkovic
-Original Message- From: and...@acm.org [mailto:anders.bjornerst...@telia.com] Sent: den 26 januari 2018 13:05 To: Vu Minh Nguyen <vu.m.ngu...@dektech.com.au>; Zoran Milinkovic <zoran.milinko...@ericsson.com>; ravisekhar.ko...@oracle.com Cc: opensaf-devel@lists.sourceforge.net

Re: [devel] [PATCH 1/1] imm: fix wrong printouts and incorrect behavior of immadm/immcfg [#2751]

2018-01-24 Thread Zoran Milinkovic
Hi Vu, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 24 januari 2018 15:02 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; ravisekhar.ko...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1/1] imm: fix immnd restarted during SYNC finalize [#2749]

2017-12-27 Thread Zoran Milinkovic
Hi Vu, Ack from me. Thanks, Zoran -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 27 december 2017 11:32 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Vu Minh Nguyen <vu.m.ngu...@dekte

[devel] [PATCH 1/1] imm: change log level for failing to send accept message [#2426]

2017-12-20 Thread Zoran Milinkovic
Importance log level is changed from error to warning level due to no reaction from IMMD. --- src/imm/immd/immd_evt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imm/immd/immd_evt.c b/src/imm/immd/immd_evt.c index a0d9319..4c1999b 100644 --- a/src/imm/immd/immd_evt.c

[devel] [PATCH 0/1] Review Request for imm: change log level for failing to send accept message [#2426]

2017-12-20 Thread Zoran Milinkovic
OpenSAF servicesn Core libraries n Samples n Tests n Other n Comments (indicate scope for each "y" above): - revision fc0757f36c0e803840fca62a06b612a82c6d6d9d Author: Zoran

Re: [devel] [PATCH 1/1] imm: Restore printout format in immxml tools to maintain backward compatibility [#2728]

2017-12-14 Thread Zoran Milinkovic
Hi Nguyen, Ack from me. Thanks, Zoran -Original Message- From: Nguyen Luu [mailto:nguyen.tk@dektech.com.au] Sent: den 14 december 2017 09:24 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Vu Minh Nguyen <vu.m.ngu...@dektech.com.au> Cc: opensaf-devel@lists.sou

[devel] [PATCH 1/1] osaf: add /sbin/shutdown to sudoers file in 00-README.conf [#2729]

2017-12-05 Thread Zoran Milinkovic
/sbin/shutdown is added to /etc/sudoers for the configuration steps in 00-README.conf --- 00-README.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/00-README.conf b/00-README.conf index 2a7ce96..5de2862 100644 --- a/00-README.conf +++ b/00-README.conf @@ -21,7 +21,7 @@

[devel] [PATCH 0/1] Review Request for osaf: add shutdown to sudoers file in 00-README.conf [#2729]

2017-12-05 Thread Zoran Milinkovic
revision e7ff736355ec63b8a1dea8a592d3b61f3571d2a5 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 5 Dec 2017 14:36:53 +0100 osaf: add /sbin/shutdown to sudoers file in 00-README.conf [#2729] /sbin/shutdown is added to /etc/sudoers for the configuration steps in

Re: [devel] [PATCH 1/1] clm: clmprint does not work as expected [#2651]

2017-11-14 Thread Zoran Milinkovic
Hi Vu, Ack from me. Please correct the output in my second comment. You can correct it when you puch the code. Thanks, Zoran From: Vu Minh Nguyen <vu.m.ngu...@dektech.com.au> Sent: Tuesday, November 14, 2017 7:16:29 AM To: Zoran Milinkovic Cc: opensaf

Re: [devel] [PATCH 1/1] clm: clmprint does not work as expected [#2651]

2017-11-13 Thread Zoran Milinkovic
Hi Vu, Find my comments inline -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 1 november 2017 12:29 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Vu Minh Nguyen <vu.m.ngu...@dektech.com.au

[devel] [PATCH 1/1] imm: update README with IMM changes in OpenSAF 5.17.11 and rename IMM schema [#2665]

2017-11-06 Thread Zoran Milinkovic
Add two sections. The section that describes the new flag for enabling features in 5.17.11, and the section that describes the removal of disconnected appliers Rename IMM schema from OpensafImm_Upgrade_5.17.10.xml to OpensafImm_Upgrade_5.17.11.xml ---

[devel] [PATCH 0/1] Review Request for imm: update README with IMM changes in OpenSAF 5.17.11 and rename IMM schema [#2665]

2017-11-06 Thread Zoran Milinkovic
uot; above): - revision b1c4e0f471066da278eedfbe27f585a644fabeb8 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Mon, 6 Nov 2017 17:25:22 +0100 imm: update README with IMM changes in OpenSAF 5.17.11 and rename IMM schema [#2665] Add two sections. The section that d

Re: [devel] [PATCH 1/1] imm: update README with IMM changes in OpenSAF 5.17.11 [#2665]

2017-11-03 Thread Zoran Milinkovic
Hi Vu, That paragraph is talking about implementer names, and it's still valid. Ticket #2579 is about appliers. Thanks, Zoran -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 3 november 2017 11:31 To: Zoran Milinkovic <zoran.milinko...@ericsson.

[devel] [PATCH 1/1] imm: update README with IMM changes in OpenSAF 5.17.11 [#2665]

2017-11-02 Thread Zoran Milinkovic
Add two sections. The section that describes the new flag for enabling features in 5.17.11, and the section that describes the removal of disconnected appliers --- src/imm/README | 66 ++ 1 file changed, 66 insertions(+) diff --git

[devel] [PATCH 0/1] Review Request for imm: update README with IMM changes in OpenSAF 5.17.11 [#2665]

2017-11-02 Thread Zoran Milinkovic
revision e9e63b8ee8486063421c1063d6155b91fb78307e Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Thu, 2 Nov 2017 15:12:38 +0100 imm: update README with IMM changes in OpenSAF 5.17.11 [#2665] Add two sections. The section that describes the new flag for enabling fea

[devel] [PATCH 1/1] imm: improve the cascade delete [#2667]

2017-11-01 Thread Zoran Milinkovic
IMMND will reduce the number of object deleted messages to PBE with sending only one message containing the root object name instead of sending one message for each delete object. --- src/imm/common/immpbe_dump.cc | 541 ++ src/imm/immnd/ImmModel.cc |

[devel] [PATCH 0/1] Review Request for imm: improve the cascade delete [#2667]

2017-11-01 Thread Zoran Milinkovic
revision ce29d3b5a78f4d250ff39d9fc8b60c53191c35c3 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Wed, 1 Nov 2017 15:35:50 +0100 imm: improve the cascade delete [#2667] IMMND will reduce the number of object deleted messages to PBE with sending only one message containing the root object name instead of sen

Re: [devel] [PATCH 1/1] clm: add new admin operations [#2649]

2017-10-27 Thread Zoran Milinkovic
Hi Hans, Find my comments inline -Original Message- From: Hans Nordebäck Sent: den 27 oktober 2017 15:01 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1/1] clm: add new admin operations [#2649] Hi Zoran, ack

Re: [devel] [PATCH 1/1] clm: add new admin operations [#2649]

2017-10-27 Thread Zoran Milinkovic
Hi Anders, Find my comments inline. -Original Message- From: Anders Widell Sent: den 27 oktober 2017 13:52 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hans Nordebäck <hans.nordeb...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [devel] [PA

Re: [devel] [PATCH 2/2] clm: Make the cluster reset admin operation safe [#2451]

2017-10-26 Thread Zoran Milinkovic
Hi, This solution is not safe and is NBC. If a new node with earlier release join the cluster, the whole cluster will be rebooted. For example, this is dangerous if a node with an older OpenSAF release reboot during SMF upgrade. Then the whole cluster will be restarted before the campaign is

Re: [devel] [PATCH 1/1] clm: add new admin operations [#2649]

2017-10-26 Thread Zoran Milinkovic
Hi, base/process.h cannot be used in C code. The patch copies the pattern for execution of all other scripts. Thanks, Zoran -Original Message- From: Anders Widell Sent: den 26 oktober 2017 13:35 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hans Nordebäck <ha

[devel] [PATCH 1/1] clm: replace immadm command with admin op call in clm test [#2654]

2017-10-25 Thread Zoran Milinkovic
Due to long execution of immadm in a separated thread and possible timeout in poll, the executing immadm command for locking, unlocking and shutting down nodes is replaced with calling IMM admin operation function. --- src/clm/apitest/clmtest.c | 92

[devel] [PATCH 0/1] Review Request for clm: replace immadm command with admin op call in clm test [#2654]

2017-10-25 Thread Zoran Milinkovic
revision 56ee9e7557c84416367e0510c0dc3023f29be9ad Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Wed, 25 Oct 2017 17:14:43 +0200 clm: replace immadm command with admin op call in clm test [#2654] Due to long execution of immadm in a separated thread and possible timeout in pol

Re: [devel] [PATCH 1/1] clm: fix errors in clmprint tool [#2651]

2017-10-25 Thread Zoran Milinkovic
Hi Vu, Ack from me. Thanks, Zoran -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 25 oktober 2017 06:20 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hans Nordebäck <hans.nordeb...@ericsson.com> Cc: opensaf-devel@lists.sourcef

Re: [devel] [PATCH 1/1] clm: fix errors in clmprint tool [#2651]

2017-10-24 Thread Zoran Milinkovic
Hi Vu, Find my comments inline. -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 24 oktober 2017 10:56 To: Hans Nordebäck <hans.nordeb...@ericsson.com>; Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourcef

Re: [devel] [PATCH 1/1] clm: fix return wrong error code [#2652]

2017-10-24 Thread Zoran Milinkovic
Hi Vu, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 24 oktober 2017 09:58 To: Hans Nordebäck <hans.nordeb...@ericsson.com>; Zoran Milinkovic <zoran.milinko...@ericsson.com>; A

Re: [devel] [PATCH 1/1] clm: fix errors in clmprint tool [#2651]

2017-10-24 Thread Zoran Milinkovic
Hi Vu, Find my comments inline -Original Message- From: Vu Minh Nguyen [mailto:vu.m.ngu...@dektech.com.au] Sent: den 24 oktober 2017 09:43 To: Hans Nordebäck <hans.nordeb...@ericsson.com>; Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.

[devel] [PATCH 1/1] clm: add new admin operations [#2649]

2017-10-23 Thread Zoran Milinkovic
Add two new admin operations to CLM. 1. Node reboot will use the same openation id as cluster reboot, but the DN will contain CLM node Example for rebooting SC2: immadm -o 4 safNode=SC-2,safCluster=myClmCluster 2. Execute action on remote nodei(s) with operation id 5. Action is a

[devel] [PATCH 0/1] Review Request for clm: add new admin operations [#2649]

2017-10-23 Thread Zoran Milinkovic
revision 139140322c7fb0674763fcc3ab802e9aeb608794 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Mon, 23 Oct 2017 16:29:44 +0200 clm: add new admin operations [#2649] Add two new admin operations to CLM. 1. Node reboot will use the same openation id as cluster reboot, but the DN will

Re: [devel] [PATCH 1/1] amf: immxml-configure utility (tool) is failing with UTF-8 encoding [#2632]

2017-10-18 Thread Zoran Milinkovic
oktober 2017 12:11 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Vijay Roy <vijay@oracle.com> Subject: [PATCH 1/1] amf: immxml-configure utility (tool) is failing with UTF-8 encoding [#2632] The fix is to support UTF-8 unicode validat

Re: [devel] [PATCH 1/1] base: double start failed [#2622]

2017-10-17 Thread Zoran Milinkovic
Hi Rafael, Reviewed the patch, but didn't test. Ack from me. Thanks, Zoran -Original Message- From: Rafael Odzakow Sent: den 16 oktober 2017 13:53 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hans Nordebäck <hans.nordeb...@ericsson.com> Cc: opensaf-devel@lists.sou

Re: [devel] [PATCH 1/1] base: double start failed [#2622]

2017-10-10 Thread Zoran Milinkovic
- From: Rafael Odzakow Sent: den 10 oktober 2017 14:08 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hans Nordebäck <hans.nordeb...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Rafael Odzakow <rafael.odza...@ericsson.com> Subject: [PATCH 1/1] base: double star

Re: [devel] [PATCH 1/1] imm: Don't call exit() in IMM library [#2604]

2017-10-02 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 2 oktober 2017 08:47 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <hung.d.ngu...@dekte

Re: [devel] [PATCH 1/1] imm: Update admo id after resurrecting [#2591]

2017-09-26 Thread Zoran Milinkovic
Hi Hung, Good catch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 26 september 2017 05:04 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <h

Re: [devel] [PATCH 1/1] imm: Don't allow setting new admo name when object is in a critical CCB [#2576]

2017-09-15 Thread Zoran Milinkovic
n you push the code. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 14 september 2017 06:42 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <hung.d.ngu...@dektech.co

[devel] [PATCH 0/1] Review Request for imm: remove disconnected appliers [#2579]

2017-09-11 Thread Zoran Milinkovic
revision b843838c0f947dedc53410729d4fb9c600501000 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Mon, 11 Sep 2017 17:46:23 +0200 imm: remove disconnected appliers [#2579] When an applier is disconnected, it will be removed from the system after time period set in minApplierTimeout attribute in IMM obj

[devel] [PATCH 1/1] imm: remove disconnected appliers [#2579]

2017-09-11 Thread Zoran Milinkovic
When an applier is disconnected, it will be removed from the system after time period set in minApplierTimeout attribute in IMM object. If the time is set to 0, it will work as it works today, and it will never be removed from the system. The time set in minApplierTimeout attribute guarantees

Re: [devel] [PATCH 1/1] imm: Validate input invocation for saImmOiAdminOperationResult [#2571]

2017-09-07 Thread Zoran Milinkovic
Hi Hung, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 6 september 2017 12:55 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <h

Re: [devel] [PATCH 1/1] imm: Regenerate PBE on SQLITE_CORRUPT and SQLITE_MISMATCH [#2573]

2017-09-06 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 6 september 2017 13:42 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <hung.d.ngu...@dekte

Re: [devel] [PATCH 1/1] smf: fix to avoid core dump during smf upgrade while imm sync [#2550]

2017-08-22 Thread Zoran Milinkovic
Peddavandla <reddy.neelaka...@oracle.com>; Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subject: RE: [PATCH 1/1] smf: fix to avoid core dump during smf upgrade while imm sync [#2550] Hi Lennart, Thanks for you inputs. I completely agree

[devel] [PATCH 0/1] Review Request for imm: change log level from error to warning in PBE [#2559]

2017-08-17 Thread Zoran Milinkovic
29d Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Thu, 17 Aug 2017 14:53:23 +0200 imm: change log level from error to warning in PBE [#2559] In #2491, the log message if logged always with error log level. If a cluster goes headless, this case is very likely to be happen wi

[devel] [PATCH 1/1] imm: change log level from error to warning in PBE [#2559]

2017-08-17 Thread Zoran Milinkovic
In #2491, the log message if logged always with error log level. If a cluster goes headless, this case is very likely to be happen with ERR_TRY_AGAIN, but that's expected behavior when the cluster goes headless. --- src/imm/common/immpbe_dump.cc | 12 +--- 1 file changed, 9 insertions(+),

Re: [devel] [PATCH 1/1] imm: fix immnd coredump due to initialized CLM handle [#2549]

2017-08-16 Thread Zoran Milinkovic
where immnd_cb->clm_hdl is set to 0. Thanks, Zoran -Original Message- From: A V Mahesh [mailto:mahesh.va...@oracle.com] Sent: den 16 augusti 2017 05:59 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1/1] imm: fix imm

[devel] [PATCH 0/1] Review Request for imm: regenerate PBE in verifyClassPBE only if database is corrupted [#2491]

2017-08-14 Thread Zoran Milinkovic
revision 13fd2be582b9445bc8ea9ca20e281f0a3e39cd29 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Mon, 14 Aug 2017 14:30:53 +0200 imm: regenerate PBE in verifyClassPBE only if database is corrupted [#2491] In verifyClassPBE(), the patch makes distinguish between IMM issue and database corruption. Fo

[devel] [PATCH 1/1] imm: regenerate PBE in verifyClassPBE only if database is corrupted [#2491]

2017-08-14 Thread Zoran Milinkovic
In verifyClassPBE(), the patch makes distinguish between IMM issue and database corruption. For IMM issue, PBE will not be regenerated, while for database corruption, PBE will be regenerated. --- src/imm/common/immpbe_dump.cc | 18 ++ 1 file changed, 14 insertions(+), 4

[devel] [PATCH 1/1] imm: fix immnd coredump due to initialized CLM handle [#2549]

2017-08-09 Thread Zoran Milinkovic
Initially CLM handle is set to 0. When CLM handle is initialized, it can be initialized again only when saClmDispatch returns SA_AIS_ERR_BAD_HANDLE. This will prevent coredumps with initialized CLM handle caused with MDS UP message for AMF and CLM services. --- src/imm/immnd/immnd_clm.c | 7

[devel] [PATCH 0/1] Review Request for imm: fix immnd coredump due to initialized CLM handle [#2549]

2017-08-09 Thread Zoran Milinkovic
6f8 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Wed, 9 Aug 2017 13:37:11 +0200 imm: fix immnd coredump due to initialized CLM handle [#2549] Initially CLM handle is set to 0. When CLM handle is initialized, it can be initialized again only when saClmDispatch returns SA_AI

[devel] [PATCH 1/1] imm: include CLM in poll before CLM handle is initialized [#2544]

2017-08-07 Thread Zoran Milinkovic
CLM selection object is initially set to -1. Included CLM selection object in poll will be ignored until CLM selection object is created and set to fds[FD_CLM]. --- src/imm/immnd/immnd_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/imm/immnd/immnd_main.c

[devel] [PATCH 0/1] Review Request for clm: handle ERR_BAD_HANDLE for saImmOmSearchInitialize [#2528]

2017-07-14 Thread Zoran Milinkovic
462ae70282 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Fri, 14 Jul 2017 15:07:12 +0200 clm: handle ERR_BAD_HANDLE for saImmOmSearchInitialize [#2528] CLM handles ERR_BAD_HANDLE for saImmOmSearchInitialize in clms_cluster_config_get. As part of this patch, handling of IMM ver

[devel] [PATCH 1/1] clm: handle ERR_BAD_HANDLE for saImmOmSearchInitialize [#2528]

2017-07-14 Thread Zoran Milinkovic
CLM handles ERR_BAD_HANDLE for saImmOmSearchInitialize in clms_cluster_config_get. As part of this patch, handling of IMM version is improved in the same function. --- src/clm/clmd/clms_imm.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git

[devel] [PATCH 1/1] imm: regenerate PBE on SQL constraint error [#2527]

2017-07-12 Thread Zoran Milinkovic
PBE will be regenerated on SQL constraint error code. --- src/imm/common/immpbe_dump.cc | 17 + 1 file changed, 17 insertions(+) diff --git a/src/imm/common/immpbe_dump.cc b/src/imm/common/immpbe_dump.cc index 5185bb4..100222f 100644 --- a/src/imm/common/immpbe_dump.cc +++

[devel] [PATCH 0/1] Review Request for imm: regenerate PBE on SQL constraint error [#2527]

2017-07-12 Thread Zoran Milinkovic
OpenSAF servicesn Core libraries n Samples n Tests n Other n Comments (indicate scope for each "y" above): - revision 306efaabb70225703f57645adc2b645802e23d44 Aut

[devel] [PATCH 1/1] clm: make CLM tests independent of other CLM tests [#2520]

2017-07-05 Thread Zoran Milinkovic
The patch removes dependencies between CLM tests. CLM tests can be run more times now. Duplicated CLM tests are removed from clmtest. --- src/clm/apitest/clmtest.c | 15 src/clm/apitest/tet_saClmClusterTrack.c | 130 +++- 2 files changed, 94

[devel] [PATCH 0/1] Review Request for clm: make CLM tests independent of other CLM tests [#2520]

2017-07-05 Thread Zoran Milinkovic
d55 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Wed, 5 Jul 2017 16:44:24 +0200 clm: make CLM tests independent of other CLM tests [#2520] The patch removes dependencies between CLM tests. CLM tests can be run more times now. Duplicated CLM tests are removed from clmt

Re: [devel] [PATCH 0/5] Review Request for ntf: ntfimcn does not handle SA_ERR_UNAVAILABLE [#2506]

2017-06-29 Thread Zoran Milinkovic
Hi Praveen, I checked saImmOmClassDescriptionGet_2() and the function returns ERR_UNAVAILABLE only if IMM handle is initialized with A.2.18 and above version. The problem here is that first OI handle is initialized with imm_version variable, which version is A.2.12. Then OM handle is

[devel] [PATCH 1/1] imm: send imm finalize message to immnd when dispatch returns ERR_BAD_HANDLE [#2504]

2017-06-28 Thread Zoran Milinkovic
Send IMM_FINALIZE message to immnd when dispatch functions returns ERR_BAD_HANDLE. IMM_FINALIZE will release all allocated resources of a handle on IMM service side. --- src/imm/agent/imma_proc.cc | 51 ++ 1 file changed, 51 insertions(+) diff --git

[devel] [PATCH 1/1] rde: allow early role change when active or standby nodes are introduced [#2513]

2017-06-28 Thread Zoran Milinkovic
When active or standby nodes are introduced with request message, there is no need to wait more for requesting the active role. When standby node is introduced, then we are sure that there is an active node somewhere in the cluster. So, changing the peer state is safe. ---

[devel] [PATCH 0/1] Review Request for rde: allow early role change when active or standby nodes are introduced [#2513]

2017-06-28 Thread Zoran Milinkovic
42bb4d0da1 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Wed, 28 Jun 2017 13:25:29 +0200 rde: allow early role change when active or standby nodes are introduced [#2513] When active or standby nodes are introduced with request message, there is no need to wait more for reque

Re: [devel] [PATCH 1/1] imm: Allow stale clients to be discarded when going to headless [#2487]

2017-06-14 Thread Zoran Milinkovic
Hi Hung, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 9 juni 2017 08:41 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; mahesh.va...@oracle.com Cc: opensaf-devel@lists.sourceforge.net; Hu

Re: [devel] [PATCH 1/1] imm: fix counting timeouts for old critical CCBs [#2495]

2017-06-14 Thread Zoran Milinkovic
Thanks, Zoran -Original Message- From: A V Mahesh [mailto:mahesh.va...@oracle.com] Sent: den 14 juni 2017 12:13 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1/1] imm: fix counting timeouts for old critical CCBs [#2495] Hi

[devel] [PATCH 1/1] imm: fix counting timeouts for old critical CCBs [#2495]

2017-06-14 Thread Zoran Milinkovic
The patch fix counting timeouts for old critical CCBs --- src/imm/immnd/ImmModel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imm/immnd/ImmModel.cc b/src/imm/immnd/ImmModel.cc index 25f8621..d76142e 100644 --- a/src/imm/immnd/ImmModel.cc +++

[devel] [PATCH 0/1] Review Request for imm: fix counting timeouts for old critical CCBs [#2495]

2017-06-14 Thread Zoran Milinkovic
OpenSAF servicesn Core libraries n Samples n Tests n Other n Comments (indicate scope for each "y" above): - revision dcd53316bf6a294b439403a81daa25715fa022c7 Aut

Re: [devel] [PATCH 1/1] immtest: Explicitly clear implementer name in OI long DN testcases [#2484]

2017-06-09 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 6 juni 2017 09:41 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; mahesh.va...@oracle.com Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <h

Re: [devel] [PATCH 1/1] imm: remove vector clearing for dead implementers, nodes and admin owners in objectSync [#2481]

2017-06-05 Thread Zoran Milinkovic
are write-only (W_AVAILABLE state). While veteran nodes are in R_AVAILABLE state, they only check their data with syncing data, but do not update any data. BR, Zoran -Original Message- From: A V Mahesh [mailto:mahesh.va...@oracle.com] Sent: den 5 juni 2017 12:13 To: Zoran

Re: [devel] [PATCH 1/1] imm: Clear mLastResult before sending response to agent [#2470]

2017-05-29 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 29 maj 2017 12:34 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net; Hung Duc

[devel] [PATCH 0/1] Review Request for imm: change log level to warning for "ER Problem in sending to IMMD over MDS" [#2465]

2017-05-19 Thread Zoran Milinkovic
-- revision 6d71bc3ef6fae9b601853f34c173eaecce7beee2 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Fri, 19 May 2017 14:35:12 +0200 imm: change log level to warning for "ER Problem in sending to IMMD over MDS" [#2465] Log level for message "ER Problem in sending to IMMD ov

[devel] [PATCH 1/1] imm: change log level to warning for "ER Problem in sending to IMMD over MDS" [#2465]

2017-05-19 Thread Zoran Milinkovic
Log level for message "ER Problem in sending to IMMD over MDS" is changed from error to warning. --- src/imm/immnd/immnd_evt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/imm/immnd/immnd_evt.c b/src/imm/immnd/immnd_evt.c index cacf4d5..21d8671 100644 ---

Re: [devel] [PATCH 1/1] imm: Clear dead IMMND info before switching to ACTIVE role [#2418]

2017-05-19 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 17 maj 2017 09:53 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1/1] imm: Discard Adm Impl continuation when peer IMMND is down [#2461]

2017-05-19 Thread Zoran Milinkovic
Hi Hung, Ack from me. Please, add in the comment and update the ticket that you also discard search impl continuation. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 17 maj 2017 09:40 To: Zoran Milinkovic <zoran.mili

Re: [devel] [PATCH 1/1] imm: Remove CcbErrStrings that are set only on nodes with OI/PBE [#2446]

2017-05-19 Thread Zoran Milinkovic
[mailto:hung.d.ngu...@dektech.com.au] Sent: den 10 maj 2017 08:41 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [PATCH 1/1] imm: Remove CcbErrStrings that are set only on nodes with OI/PBE [#2446] Hi

Re: [devel] [PATCH 1/1] imm: Skip sending re-intro message if IMMD is not up [#2447]

2017-05-18 Thread Zoran Milinkovic
Hi Hung, Reviewed the code. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 9 maj 2017 10:29 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net

Re: [devel] [PATCH 1/1] smf: Attribute value handling in longDn applier is incorrect [#2442]

2017-04-27 Thread Zoran Milinkovic
Hi Lennart, You have a typo in the comment you've changed. SMF is only interested in longDnsAllowed attribute, and not in opensafNetworkName Thanks, Zoran -Original Message- From: Lennart Lund [mailto:lennart.l...@ericsson.com] Sent: den 27 april 2017 15:10 To:

Re: [devel] [PATCH 1/1] imm: Improve ccb error string handling [#2367]

2017-04-26 Thread Zoran Milinkovic
Hi Hieu, Reviewed the patch and IMM code again. Ack from me. Thanks, Zoran -Original Message- From: Zoran Milinkovic [mailto:zoran.milinko...@ericsson.com] Sent: den 25 april 2017 13:33 To: Hieu Thanh Nguyen <hieu.t.ngu...@dektech.com.au>; reddy.neelaka...@oracle.com; Hung Duc

Re: [devel] [PATCH 1/1] imm: Improve ccb error string handling [#2367]

2017-04-25 Thread Zoran Milinkovic
n Sent: den 25 april 2017 05:01 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Cc: opensaf-devel@lists.sourceforge.net Subject: RE: [PATCH 1/1] imm: Improve ccb error string handling [#2367] Hi Zoran, B

Re: [devel] [PATCH 1/1] imm: Improve ccb error string handling [#2367]

2017-04-21 Thread Zoran Milinkovic
Hi Hieu, This code will not work with CCB error strings related with PBE. PBE can be running on a different node than the originating node. Thanks, Zoran -Original Message- From: Hieu Nguyen [mailto:hieu.t.ngu...@dektech.com.au] Sent: den 21 april 2017 09:27 To: Zoran Milinkovic

Re: [devel] [PATCH 1/1] imm: Add more details to no dangling CcbErrorString [#2433]

2017-04-21 Thread Zoran Milinkovic
gu...@dektech.com.au] Sent: den 21 april 2017 08:45 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Subject: [PATCH 1/1] imm: Add more details to no dangling CcbError

Re: [devel] [PATCH 1/1] rde: save a role for active and standby nodes in peer info request [#2423]

2017-04-20 Thread Zoran Milinkovic
Hi Anders, I'll add your comments when I push the code. Thanks, Zoran -Original Message- From: Anders Widell Sent: den 18 april 2017 16:06 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; ramesh.bet...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: Re: [devel]

Re: [devel] [PATCH 1 of 1] imm: Use waitpid with WNOHANG to check for sync process and pbe process [#2420]

2017-04-18 Thread Zoran Milinkovic
Hi Hung, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 11 april 2017 14:08 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourcefor

Re: [devel] [PATCH 1/1] imm: Ignore the sync'ed IMMND nodes that are not up [#2418]

2017-04-18 Thread Zoran Milinkovic
Hi Hung, Ack with a minor inline comment. -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 13 april 2017 10:52 To: Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.net; Hung Duc Nguyen <h

Re: [devel] [PATCH 1 of 1] cpd: to correct failover behavior of cpsv [#1765] V5

2017-04-18 Thread Zoran Milinkovic
Hi Hoang, Ack from me. Thanks, Zoran -Original Message- From: Vo Minh Hoang [mailto:hoang.m...@dektech.com.au] Sent: den 14 april 2017 10:44 To: 'A V Mahesh' <mahesh.va...@oracle.com>; Zoran Milinkovic <zoran.milinko...@ericsson.com> Cc: opensaf-devel@lists.sourceforge.

[devel] [PATCH 0/1] Review Request for rde: save a role for active and standby nodes in peer info request [#2423]

2017-04-11 Thread Zoran Milinkovic
libraries n Samples n Tests n Other n Comments (indicate scope for each "y" above): - revision 0ba8847949ad2ea3517e782c5c277bf37b14af24 Author: Zoran Milinkovic <zoran.milinko...

[devel] [PATCH 1/1] rde: save a role for active and standby nodes in peer info request [#2423]

2017-04-11 Thread Zoran Milinkovic
When a node with active or standby role sends peer info request, the node role will be saved. This will avoid setting the active role to the new starting node. --- src/rde/rded/rde_main.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rde/rded/rde_main.cc b/src/rde/rded/rde_main.cc

Re: [devel] [PATCH 1 of 1] imm: Check if response is NULL when sending MDS sync message [#2401]

2017-04-11 Thread Zoran Milinkovic
Hi Hung, Ack from me. Thanks, Zoran -Original Message- From: Hung Nguyen [mailto:hung.d.ngu...@dektech.com.au] Sent: den 4 april 2017 09:10 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@oracle.com Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH

Re: [devel] [PATCH 1 of 1] immm: Fixed memory leak in imm_cfg.c file [#2408]

2017-04-11 Thread Zoran Milinkovic
Hi Hieu, Fix indentation. In C files, we use TAB instead of spaces. Ack from me. Thanks, Zoran -Original Message- From: Hieu Nguyen [mailto:hieu.t.ngu...@dektech.com.au] Sent: den 3 april 2017 07:26 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; reddy.neelaka...@orac

Re: [devel] [PATCH 1 of 1] imm :decrement the pending reply when error is other than SA_AIS_OK when newCcbId is called [#2386] V2

2017-03-22 Thread Zoran Milinkovic
Hi Neelakanta, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 21 mars 2017 12:15 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dektech.c

Re: [devel] [PATCH 1 of 1] imm :decrement the pending reply when error is other than SA_AIS_OK when newCcbId is called [#2386]

2017-03-20 Thread Zoran Milinkovic
2017 10:29 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc Nguyen <hung.d.ngu...@dektech.com.au> Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 1 of 1] imm :decrement the pending reply when error is other than SA_AIS_OK when newCcbId is called [#2386] s

Re: [devel] [PATCH 1 of 1] imm: return ERR_UNAVAILABLE when CLM node is locked, for OiObjectimplementerSet/Release[#2373]

2017-03-20 Thread Zoran Milinkovic
Hi Neelakanta, Reviewed the patch. Ack from me. Thanks, Zoran -Original Message- From: reddy.neelaka...@oracle.com [mailto:reddy.neelaka...@oracle.com] Sent: den 20 mars 2017 10:36 To: Hung Duc Nguyen <hung.d.ngu...@dektech.com.au>; Zoran Milinkovic <zoran.milinko...@ericsso

Re: [devel] [PATCH 0 of 2] Review Request for mdstest: handle memory leak [#1860]

2017-03-08 Thread Zoran Milinkovic
== possibly lost: 120 bytes in 4 blocks ==21333==still reachable: 263,815 bytes in 5 blocks ==21333== suppressed: 0 bytes in 0 blocks Thanks, Zoran -Original Message- From: Vo Minh Hoang [mailto:hoang.m...@dektech.com.au] Sent: den 8 mars 2017 05:49 To: Zoran Milinkovic

Re: [devel] [PATCH 1 of 1] imm: Fix all Cppcheck 1.77 issues [#2333]

2017-03-08 Thread Zoran Milinkovic
Hi Mahesh, Reviewed and tested the patch. The patch silently fix IMMA UP bug. Ack from me. Thanks, Zoran -Original Message- From: mahesh.va...@oracle.com [mailto:mahesh.va...@oracle.com] Sent: den 3 mars 2017 06:42 To: Zoran Milinkovic <zoran.milinko...@ericsson.com>; Hung Duc

[devel] [PATCH 1 of 1] imm: fix log level for saClmDispatch [#2353]

2017-03-07 Thread Zoran Milinkovic
src/imm/immnd/immnd_main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) If saClmDispatch fails with SA_AIS_ERR_BAD_HANDLE error, the message will be logged with warning level and CLM handle will be reinitialized. All other saClmDispatch errors will be logged with error level.

[devel] [PATCH 0 of 1] Review Request for imm: fix log level for saClmDispatch [#2353]

2017-03-07 Thread Zoran Milinkovic
n Other n Comments (indicate scope for each "y" above): - changeset 7174f12861a545a4cbb542d9834e9976f7840493 Author: Zoran Milinkovic <zoran.milinko...@ericsson.com> Date: Tue, 07 Mar 2017 17:02:07 +0100

  1   2   3   4   5   6   7   >