[devel] AMF prototype related to #1132

2014-10-10 Thread Hans Feldt
Hi, Here's a patch series I did for prototyping of #1132: http://sourceforge.net/projects/opensaf/files/prototypes/sc-restart-8387942dfcff-v1.tgz/download status: - amfd can be restarted in a single node cluster. - after the restart, an AMF application can be controlled To test this: 1) Build o

[devel] [PATCH 0 of 1] Review Request for smf: Fix memory corruption and resource leak when CLM returns error [#1166]

2014-10-10 Thread Anders Widell
Summary: smf: Fix memory corruption and resource leak when CLM returns error [#1166] Review request for Trac Ticket(s): 1166 Peer Reviewer(s): Ingvar Pull request to: Affected branch(es): opensaf-4.4.x, opensaf-4.5.x, default(4.6) Development branch: default Impa

[devel] [PATCH 1 of 1] smf: Fix memory corruption and resource leak when CLM returns error [#1166]

2014-10-10 Thread Anders Widell
osaf/services/saf/smfsv/smfd/smfd_smfnd.c | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) SMFD segfaults with the following entry in syslog: Oct 9 13:48:43 SC-1 local0.err osafsmfd[452]: ER saClmClusterNodeGet failed, rc=SA_AIS_ERR_NOT_EXIST (12) When SMF recives a node

[devel] [PATCH 1 of 3] IMM (2PBE): Fix incorrect transaction abort in slave PBE [#1057]

2014-10-10 Thread Anders Bjornerstedt
osaf/services/saf/immsv/immpbed/immpbe_daemon.cc | 95 +-- 1 files changed, 53 insertions(+), 42 deletions(-) The main problem observed in #1057 is that the PBE slave gets repeatedly restarted. The initial and main cause of the restarts is a dynamic deadlock in the slave P

[devel] [PATCH 2 of 3] IMM (2PBE): Slave PBE regenerates file when restarted soon after PRT error [#1057]

2014-10-10 Thread Anders Bjornerstedt
osaf/services/saf/immsv/immnd/immnd_evt.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) If 2PBE-slave restarts in close proximity to PRT problems, then it should regenerate the pbe-file. This is not mainly to correct for any dropped PRT updates. That is supposed to

[devel] [PATCH 0 of 3] Review Request for IMM (2PBE): Fix incorrect transaction abort in slave PBE [#1057]

2014-10-10 Thread Anders Bjornerstedt
Summary: IMM (2PBE): Fix incorrect transaction abort in slave PBE [#1057] Review request for Trac Ticket(s): 1057 Peer Reviewer(s): Neel;Zoran Pull request to: Affected branch(es): 4.4; 4.5; default(4.6) Development branch: Impacted area Impact y/n

[devel] [PATCH 3 of 3] IMM (PBE): Return NO_RESOURCES to avoid "validation error" from PBE [#1057]

2014-10-10 Thread Anders Bjornerstedt
osaf/libs/common/immsv/immpbe_dump.cc| 7 ++--- osaf/services/saf/immsv/immnd/immnd_evt.c| 22 +++--- osaf/services/saf/immsv/immpbed/immpbe_daemon.cc | 28 3 files changed, 30 insertions(+), 27 deletions(-) This patch is not a pure 2P