Re: [devel] [PATCH 3 of 4] mds: use TIPC segmentation/reassembly [#654]

2014-05-06 Thread SuryaNarayana Garlapati
Before going ahead, Following is the explanation for the arch_word of the MDS. Arch word(4bits) is combination of architecture and bit size of the machine. 3 bits are allocated for architecture and 1 bit is allocated for bit size. architecture of value 0 means unspecified. Message encoding is

[devel] [PATCH 1 of 1] log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT reports error [#884]

2014-05-06 Thread mathi . naickan
osaf/tools/saflog/saflogger/saf_logger.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) saflogger is not returning appropriate exit code to the shell when SaLogWriteLogCallbackT returns error. The patch exits with EXIT_FAILURE when the SaLogWriteLogCallbackT returns error diff --git

[devel] [PATCH 0 of 1] Review Request for log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT reports error [#884]

2014-05-06 Thread mathi . naickan
Summary: log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT reports error [#884] Review request for Trac Ticket(s): #884 Peer Reviewer(s): lennart.l...@ericsson.com Pull request to: LIST THE PERSON WITH PUSH ACCESS HERE Affected branch(es): opensaf-4.3.x, 4.4.x, default Development

Re: [devel] [PATCH 0 of 2] Review Request for log: ignore environment variables when config object exists [#841]

2014-05-06 Thread Lennart Lund
Have tested and it seems Ok. ACK Thanks Lennart -Original Message- From: mathi.naic...@oracle.com [mailto:mathi.naic...@oracle.com] Sent: den 2 maj 2014 23:45 To: Lennart Lund Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 0 of 2] Review Request for log: ignore environment

[devel] [PATCH 0 of 1] Review Request for amfd: instantiate mw sus when node is joining [#863]

2014-05-06 Thread nagendra . k
Summary: amfd: instantiate mw sus when node is joining [#863] Review request for Trac Ticket(s): #863 Peer Reviewer(s): Hans F, Hans N praveen Pull request to: LIST THE PERSON WITH PUSH ACCESS HERE Affected branch(es): All Development branch: Default Impacted

[devel] [PATCH 1 of 1] amfd: instantiate mw sus when node is joining [#863]

2014-05-06 Thread nagendra . k
osaf/services/saf/amf/amfd/su.cc | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) Problem: When mw su is in locked-in state and opensaf is started, amfnd hangs. When mw su is unlocked-in, amfnd still doesn't instantiate the mw su. Analysis: Amfd doesn't send instantiate

Re: [devel] [PATCH 1 of 1] amfd: instantiate mw sus when node is joining [#863]

2014-05-06 Thread Hans Feldt
I don't get the use/test case. In the ticket node lock is performed. Node lock should not affect the mw SU meaning after mw restart the mw SU should be instantiated. The patch seems to indicate that SU admin ops are done. Thanks, Hans -Original Message- From: nagendr...@oracle.com

Re: [devel] [PATCH 1 of 1] log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT reports error [#884]

2014-05-06 Thread Lennart Lund
Hi This seems Ok but there is one more problem in the same area that should be fixed as well. if (cb_invocation != invocation) { fprintf(stderr, logWriteLogCallbackT FAILED: wrong invocation\n); return errorCode; } Should be changed to:

Re: [devel] [PATCH 1 of 1] amfd: instantiate mw sus when node is joining [#863]

2014-05-06 Thread Nagendra Kumar
Please check the ticket, it is updated now. Thanks -Nagu -Original Message- From: Hans Feldt [mailto:hans.fe...@ericsson.com] Sent: 06 May 2014 17:22 To: Nagendra Kumar; Hans Nordebäck; Praveen Malviya Cc: opensaf-devel@lists.sourceforge.net Subject: RE: [PATCH 1 of 1] amfd:

Re: [devel] [PATCH 1 of 1] amfd: fix SU in-service macro [#493]

2014-05-06 Thread praveen malviya
In #493 the assignments were given to SU5 without checking its presence state. But this was not because of some admin operation, but due to the continuous faults in in all other SUs which were receiving the assignments. So ideally such a check of Presence sate should be added in assignment

Re: [devel] [PATCH 1 of 1] amfd: fix SU in-service macro [#493]

2014-05-06 Thread Hans Feldt
First I don't think we should bring in cluster and application state just like this. It is not relevant for this case and we anyway don't support such ops. Second this macro is out of control and should be changed into a (inline) function instead. Haven't I already done that in my refactoring

[devel] [PATCH 1 of 1] amfd: return try_again to sg admin unlock-in if any su is in terminating state [#854]

2014-05-06 Thread nagendra . k
osaf/services/saf/amf/amfd/sg.cc | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) Problem: SG admin lock-in return immediately. Next admin unlock-in also succeed even if sus are not terminated yet. Analysis: If Amf could return try again to unlock-in admin op, then another

[devel] [PATCH 0 of 1] Review Request for amfd: return try_again to sg admin unlock-in if any su is in terminating state [#854]

2014-05-06 Thread nagendra . k
Summary: amfd: return try_again to sg admin unlock-in if any su is in terminating state [#854] Review request for Trac Ticket(s): #854 Peer Reviewer(s): Hans F, Hans N, Praveen Pull request to: LIST THE PERSON WITH PUSH ACCESS HERE Affected branch(es): All Development branch: Default

[devel] [PATCH 0 of 2] Review Request for log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT fails - v2 [#884]

2014-05-06 Thread mathi . naickan
Summary: log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT fails - v2 [#884] Review request for Trac Ticket(s): #884 Peer Reviewer(s): Lennart Pull request to: LIST THE PERSON WITH PUSH ACCESS HERE Affected branch(es): opensaf-4.3.x, 4.4.x, default Development branch: IF ANY GIVE

Re: [devel] [PATCH 0 of 1] Review Request for imm: Allow admin-operations directly targeting an implementer/applier [#799]

2014-05-06 Thread Zoran Milinkovic
Ack from me. Reviewed the code, but didn't test. Best regards, Zoran -Original Message- From: Anders Björnerstedt Sent: den 29 april 2014 16:37 To: reddy.neelaka...@oracle.com; Zoran Milinkovic Cc: opensaf-devel@lists.sourceforge.net Subject: [PATCH 0 of 1] Review Request for imm: Allow

[devel] [PATCH 1 of 2] log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT fails- v2 [#884]

2014-05-06 Thread mathi . naickan
osaf/tools/saflog/saflogger/saf_logger.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) saflogger is not returning appropriate exit code to the shell when SaLogWriteLogCallbackT fails either because of an error reported in the callback or because of an invalid invocationId. The

[devel] [PATCH 2 of 2] log: saflogtest to return EXIT_FAILURE when SaLogWriteLogCallbackT fails- v1 [#884]

2014-05-06 Thread mathi . naickan
tests/logsv/saflogtest.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) saflogtest is not returning appropriate exit code to the shell when SaLogWriteLogCallbackT fails either because of an error reported in the callback or because of an invalid invocationId. The patch exits with

Re: [devel] [PATCH 0 of 2] Review Request for log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT fails - v2 [#884]

2014-05-06 Thread Anders Bjornerstedt
One comment below. mathi.naic...@oracle.com wrote: Summary: log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT fails - v2 [#884] Review request for Trac Ticket(s): #884 Peer Reviewer(s): Lennart Pull request to: LIST THE PERSON WITH PUSH ACCESS HERE Affected branch(es):

Re: [devel] [PATCH 0 of 2] Review Request for log: saflogger to return EXIT_FAILURE when SaLogWriteLogCallbackT fails - v2 [#884]

2014-05-06 Thread Mathivanan Naickan Palanivelu
There is a print message there. fprintf(stderr, logWriteLogCallbackT FAILED: wrong invocation\n); I can add if you are referring to a missing message. Cheers, Mathi. - anders.bjornerst...@ericsson.com wrote: One comment below. mathi.naic...@oracle.com wrote: Summary: log: saflogger

Re: [devel] [PATCH 1 of 1] amfd: fix SU in-service macro [#493]

2014-05-06 Thread Alex Jones
Comments inline... On 05/06/2014 09:08 AM, Hans Feldt wrote: First I don't think we should bring in cluster and application state just like this. It is not relevant for this case and we anyway don't support such ops. [Alex] It is relevant in that this macro is a test for SU in-service.

Re: [devel] [PATCH 1 of 1] amfd: fix SU in-service macro [#493]

2014-05-06 Thread Alex Jones
Hi Praveen, I don't think this is necessary because avd_sg_2n_su_chose_asgn() (and others) checks the readiness state. And the readiness state is only set to in-service in other parts of the code by first testing this macro which I've modified. So, if an SU is not instantiated, the

Re: [devel] [PATCH 3 of 4] mds: use TIPC segmentation/reassembly [#654]

2014-05-06 Thread A V Mahesh
Surya, Thank for reiterating arch_word of the MDS feature ,we all in sync. On 5/6/2014 3:55 PM, SuryaNarayana Garlapati wrote: MDS version unless we get alternate bits/variables used for MDS version. [Surya] Thats the reason i am asking for some time. [AVM] If we get some alternate

[devel] [PATCH 0 of 1] Review Request for v3 amfnd: saAmfSGCompRestartProb timer is not stopped after the relevant model had been deleted [#831]

2014-05-06 Thread Minh Hon Chau
Summary: v3 amfnd: saAmfSGCompRestartProb timer is not stopped after the relevant model had been deleted [#831] Review request for Trac Ticket(s): 831 Peer Reviewer(s): Hans F, Hans N, Nagendra, Praveen Pull request to: Affected branch(es): default Development branch: default

Re: [devel] [PATCH 1 of 1] amfd: syslog no assignment of SI when it is unlocked [#867]

2014-05-06 Thread Hans Feldt
Since there can be many more reasons why the SI is not assigned, I don't think you should log any of what you have proposed in this part of the code. SG, SU can be locked. Node can be locked etc. In other places in the code we could log more when we actually know more things. /Hans

Re: [devel] [PATCH 1 of 1] v3 amfnd: saAmfSGCompRestartProb timer is not stopped after the relevant model had been deleted [#831]

2014-05-06 Thread Hans Feldt
Ack except for the commit message which just (again) describes the problem instead of what the patch is changing. /Hans -Original Message- From: Minh Hon Chau [mailto:minh.c...@dektech.com.au] Sent: den 7 maj 2014 06:39 To: Hans Nordebäck; Hans Feldt; praveen.malv...@oracle.com;