[tickets] [opensaf:tickets] #1847 log: lgs_imm_init_configStreams: log_stream_open_file_restore Fail is observed in syslog.

2016-05-26 Thread Vu Minh Nguyen
- **summary**: Logsv Headless: lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail is observed in syslog. --> log: 
lgs_imm_init_configStreams: log_stream_open_file_restore Fail is observed in 
syslog.



---

** [tickets:#1847] log: lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail is observed in syslog.**

**Status:** accepted
**Milestone:** 5.0.1
**Created:** Tue May 24, 2016 07:32 AM UTC by Madhurika Koppula
**Last Updated:** Fri May 27, 2016 04:47 AM UTC
**Owner:** Vu Minh Nguyen


Setup details: SUSE (32bit-64bit combination) 5 nodes cluster with single PBE 

1) Brought up cluster with Active SC, Standby SC, Spare SC and two payloads 
PL-4 and PL-5 with headless feature enabled.
2) During startup of Active controller, lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail is observed in syslog.

Below is the snippet of active controller syslog:

May 23 14:28:29 REG-S1 osaffmd[8814]: Started
May 23 14:28:29 REG-S1 osafimmd[8824]: Started
May 23 14:28:29 REG-S1 osafimmd[8824]: NO *** SC_ABSENCE_ALLOWED (Headless 
Hydra) is configured: 900 ***
May 23 14:28:29 REG-S1 osafimmnd[8835]: Started


May 23 14:28:34 REG-S1 osafimmnd[8835]: NO Implementer connected: 1 
(safLogService) <2, 2010f>
May 23 14:28:34 REG-S1 osafimmnd[8835]: NO implementer for class 
'OpenSafLogConfig' is safLogService => class extent is safe.
May 23 14:28:34 REG-S1 osafimmnd[8835]: NO implementer for class 
'SaLogStreamConfig' is safLogService => class extent is safe.

May 23 14:28:34 REG-S1 osaflogd[8850]: NO lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail
May 23 14:28:34 REG-S1 osaflogd[8850]: NO lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail
May 23 14:28:34 REG-S1 osaflogd[8850]: NO lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail


May 23 14:28:34 REG-S1 osafimmnd[8835]: NO Implementer (applier) connected: 2 
(@safLogService_appl) <16, 2010f>
May 23 14:28:34 REG-S1 osafntfd[8862]: Started



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1847 Logsv Headless: lgs_imm_init_configStreams: log_stream_open_file_restore Fail is observed in syslog.

2016-05-26 Thread Vu Minh Nguyen
- **status**: unassigned --> accepted
- **assigned_to**: Vu Minh Nguyen



---

** [tickets:#1847] Logsv Headless: lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail is observed in syslog.**

**Status:** accepted
**Milestone:** 5.0.1
**Created:** Tue May 24, 2016 07:32 AM UTC by Madhurika Koppula
**Last Updated:** Tue May 24, 2016 08:02 AM UTC
**Owner:** Vu Minh Nguyen


Setup details: SUSE (32bit-64bit combination) 5 nodes cluster with single PBE 

1) Brought up cluster with Active SC, Standby SC, Spare SC and two payloads 
PL-4 and PL-5 with headless feature enabled.
2) During startup of Active controller, lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail is observed in syslog.

Below is the snippet of active controller syslog:

May 23 14:28:29 REG-S1 osaffmd[8814]: Started
May 23 14:28:29 REG-S1 osafimmd[8824]: Started
May 23 14:28:29 REG-S1 osafimmd[8824]: NO *** SC_ABSENCE_ALLOWED (Headless 
Hydra) is configured: 900 ***
May 23 14:28:29 REG-S1 osafimmnd[8835]: Started


May 23 14:28:34 REG-S1 osafimmnd[8835]: NO Implementer connected: 1 
(safLogService) <2, 2010f>
May 23 14:28:34 REG-S1 osafimmnd[8835]: NO implementer for class 
'OpenSafLogConfig' is safLogService => class extent is safe.
May 23 14:28:34 REG-S1 osafimmnd[8835]: NO implementer for class 
'SaLogStreamConfig' is safLogService => class extent is safe.

May 23 14:28:34 REG-S1 osaflogd[8850]: NO lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail
May 23 14:28:34 REG-S1 osaflogd[8850]: NO lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail
May 23 14:28:34 REG-S1 osaflogd[8850]: NO lgs_imm_init_configStreams: 
log_stream_open_file_restore Fail


May 23 14:28:34 REG-S1 osafimmnd[8835]: NO Implementer (applier) connected: 2 
(@safLogService_appl) <16, 2010f>
May 23 14:28:34 REG-S1 osafntfd[8862]: Started



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1775 osaf: Reduce the amount of warnings reported by cpplint

2016-05-26 Thread Anders Widell
- Description has changed:

Diff:



--- old
+++ new
@@ -1,3 +1,3 @@
 Reduce the number of warnings reported by the 
[cpplint](https://google.github.io/styleguide/cppguide.html#cpplint) tool in 
the OpenSAF source code. Some warnings might be ok, since this tool produces 
false positives. These warnings should be suppressed by inserting **// NOLINT** 
or **// NOLINTNEXTLINE**.
 
-This is a global ticket for OpenSAF. Each OpenSAF service might want to have 
its own ticket for their respective service.
+This is a ticket for adding support for the cpplint build target in the 
Makefiles. We should open tickets in affected services to fix the actual 
problems that are discovered. Serious bugs should be fixed in all maintained 
branches. Minor bugs and style problems should be fixed on the default branch 
only.



- **status**: accepted --> fixed
- **Component**: osaf --> build
- **Comment**:

changeset:   7674:c3b12984dee8
branch:  opensaf-4.7.x
user:Anders Widell 
date:Thu May 26 13:23:35 2016 +0200
summary: build: Add cpplint build target [#1775]

changeset:   7677:3d261f31dec7
branch:  opensaf-5.0.x
user:Anders Widell 
date:Thu May 26 13:27:29 2016 +0200
summary: build: Add cpplint build target [#1775]

changeset:   7680:eda44b129c47
user:Anders Widell 
date:Thu May 26 13:27:29 2016 +0200
summary: build: Add cpplint build target [#1775]

[staging:c3b129]
[staging:3d261f]
[staging:eda44b]




---

** [tickets:#1775] osaf: Reduce the amount of warnings reported by cpplint**

**Status:** fixed
**Milestone:** 4.7.2
**Created:** Thu Apr 21, 2016 08:38 AM UTC by Anders Widell
**Last Updated:** Wed May 25, 2016 12:27 PM UTC
**Owner:** Anders Widell


Reduce the number of warnings reported by the 
[cpplint](https://google.github.io/styleguide/cppguide.html#cpplint) tool in 
the OpenSAF source code. Some warnings might be ok, since this tool produces 
false positives. These warnings should be suppressed by inserting **// NOLINT** 
or **// NOLINTNEXTLINE**.

This is a ticket for adding support for the cpplint build target in the 
Makefiles. We should open tickets in affected services to fix the actual 
problems that are discovered. Serious bugs should be fixed in all maintained 
branches. Minor bugs and style problems should be fixed on the default branch 
only.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1838 osaf: Reduce the amount of errors and warnings reported by ShellCheck

2016-05-26 Thread Anders Widell
- Description has changed:

Diff:



--- old
+++ new
@@ -1,5 +1,5 @@
 Reduce the number of errors and warnings reported by the 
[ShellCheck](http://www.shellcheck.net/) tool in the OpenSAF shell scripts.
 
-This is a global ticket for OpenSAF. Each OpenSAF service might want to have 
its own ticket for their respective service.
+This is a ticket for adding support for the shellcheck build target in the 
Makefiles. We should open tickets in affected services to fix the actual 
problems that are discovered. Serious bugs should be fixed in all maintained 
branches. Minor bugs and style problems should be fixed on the default branch 
only.
 
 See also tickets [#1774] and [#1775], which are about reducing the number of 
warnings produced by Cppcheck and Cpplint, respectively.



- **status**: review --> fixed
- **Component**: osaf --> build
- **Comment**:

changeset:   7673:48fd8f58120e
branch:  opensaf-4.7.x
user:Anders Widell 
date:Thu May 26 13:23:24 2016 +0200
summary: build: Add shellcheck build target [#1838]

changeset:   7676:f91de4accb6c
branch:  opensaf-5.0.x
user:Anders Widell 
date:Thu May 26 13:27:22 2016 +0200
summary: build: Add shellcheck build target [#1838]

changeset:   7679:30f420754c93
user:Anders Widell 
date:Thu May 26 13:27:22 2016 +0200
summary: build: Add shellcheck build target [#1838]

[staging:48fd8f]
[staging:f91de4]
[staging:30f420]




---

** [tickets:#1838] osaf: Reduce the amount of errors and warnings reported by 
ShellCheck**

**Status:** fixed
**Milestone:** 4.7.2
**Created:** Wed May 18, 2016 11:58 AM UTC by Anders Widell
**Last Updated:** Tue May 24, 2016 03:07 PM UTC
**Owner:** Anders Widell


Reduce the number of errors and warnings reported by the 
[ShellCheck](http://www.shellcheck.net/) tool in the OpenSAF shell scripts.

This is a ticket for adding support for the shellcheck build target in the 
Makefiles. We should open tickets in affected services to fix the actual 
problems that are discovered. Serious bugs should be fixed in all maintained 
branches. Minor bugs and style problems should be fixed on the default branch 
only.

See also tickets [#1774] and [#1775], which are about reducing the number of 
warnings produced by Cppcheck and Cpplint, respectively.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1774 osaf: Reduce the amount of errors and warnings reported by Cppcheck

2016-05-26 Thread Anders Widell
- Description has changed:

Diff:



--- old
+++ new
@@ -1,3 +1,4 @@
 Reduce the number of errors and warnings reported by the 
[Cppcheck](http://cppcheck.sourceforge.net/) tool in the OpenSAF source code. 
Some warnings might be ok, e.g. unused library functions in the OpenSAF BASE 
component, if they are there for completeness and / or future use.
 
-This is a global ticket for OpenSAF. Each OpenSAF service might want to have 
its own ticket for their respective service.
+This is a ticket for adding support for the cppcheck build target in the 
Makefiles. We should open tickets in affected services to fix the actual 
problems that are discovered. Serious bugs should be fixed in all maintained 
branches. Minor bugs and style problems should be fixed on the default branch 
only.
+



- **status**: review --> fixed
- **Component**: osaf --> build
- **Comment**:

changeset:   7672:c1a423aaec49
branch:  opensaf-4.7.x
parent:  7669:2a4b9b67b425
user:Anders Widell 
date:Thu May 26 13:22:48 2016 +0200
summary: build: Add cppcheck build target [#1774]

changeset:   7675:2fcfecbc14ba
branch:  opensaf-5.0.x
parent:  7670:8b273b35351a
user:Anders Widell 
date:Thu May 26 13:22:48 2016 +0200
summary: build: Add cppcheck build target [#1774]

changeset:   7678:1b9569223964
parent:  7671:577afb0aa443
user:Anders Widell 
date:Thu May 26 13:22:48 2016 +0200
summary: build: Add cppcheck build target [#1774]

[staging:c1a423]
[staging:2fcfec]
[staging:1b9569]




---

** [tickets:#1774] osaf: Reduce the amount of errors and warnings reported by 
Cppcheck**

**Status:** fixed
**Milestone:** 4.7.2
**Created:** Thu Apr 21, 2016 08:34 AM UTC by Anders Widell
**Last Updated:** Tue May 24, 2016 08:37 AM UTC
**Owner:** Anders Widell


Reduce the number of errors and warnings reported by the 
[Cppcheck](http://cppcheck.sourceforge.net/) tool in the OpenSAF source code. 
Some warnings might be ok, e.g. unused library functions in the OpenSAF BASE 
component, if they are there for completeness and / or future use.

This is a ticket for adding support for the cppcheck build target in the 
Makefiles. We should open tickets in affected services to fix the actual 
problems that are discovered. Serious bugs should be fixed in all maintained 
branches. Minor bugs and style problems should be fixed on the default branch 
only.




---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1851 log: log file sizes grow rapidly and cannot open

2016-05-26 Thread Vu Minh Nguyen
- **status**: review --> fixed
- **assigned_to**: Vu Minh Nguyen -->  nobody 
- **Comment**:

changeset:   7671:577afb0aa443
tag: tip
parent:  7666:17d25dbd9352
user:Tai Dinh 
date:Thu May 26 09:10:56 2016 +0700
summary: log: fix log file sizes grow rapidly and cannot open [#1851]

changeset:   7670:8b273b35351a
branch:  opensaf-5.0.x
parent:  7667:eb3eca9d29bd
user:Tai Dinh 
date:Thu May 26 09:10:56 2016 +0700
summary: log: fix log file sizes grow rapidly and cannot open [#1851]

changeset:   7669:2a4b9b67b425
branch:  opensaf-4.7.x
user:Tai Dinh 
date:Thu May 26 14:28:50 2016 +0700
summary: log: fix log file sizes grow rapidly and cannot open [#1851]




---

** [tickets:#1851] log: log file sizes grow rapidly and cannot open**

**Status:** fixed
**Milestone:** 4.7.2
**Created:** Thu May 26, 2016 03:12 AM UTC by Vu Minh Nguyen
**Last Updated:** Thu May 26, 2016 03:34 AM UTC
**Owner:** nobody


When file handle thread gets timeout while perfoming write request, the thread 
will remove the last log record and return `SA_AIS_TRY_AGAIN` to user.

In that case, in `lseek` function, logsv passed an negative number to `off_t 
offset` without converting to `off_t` type. Then,`lseek` sees the `offset` as 
an possitive number with signed bit set. And return value of `lseek` - the 
offset location, is very very big.

The log file size got big big size when passing that big number to `ftruncate`.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1853 Clm locked node rebooted after controllers joined back from headless state

2016-05-26 Thread Ritu Raj



---

** [tickets:#1853] Clm locked node rebooted after controllers joined back from 
headless state**

**Status:** unassigned
**Milestone:** 4.7.2
**Created:** Thu May 26, 2016 10:28 AM UTC by Ritu Raj
**Last Updated:** Thu May 26, 2016 10:28 AM UTC
**Owner:** nobody
**Attachments:**

- 
[PL-3.tar.bz2](https://sourceforge.net/p/opensaf/tickets/1853/attachment/PL-3.tar.bz2)
 (52.9 kB; application/x-bzip)
- 
[SC-1.tar.bz2](https://sourceforge.net/p/opensaf/tickets/1853/attachment/SC-1.tar.bz2)
 (1.2 MB; application/x-bzip)


setup:
Changeset- 
Version - opensaf 5.0.GA
4-Node cluster(SC-1:Active, SC-2:Standby, PL:3: Payloads)

Issue Observed:
Clm locked node rebooted after controllers joined back from headless state.

Steps To Reproduce:
1. Perform clm lock operation on payload(PL-3)
2. Stop OpenSAF on both the controller
3. Start the Controller(SC-1), observed "PL-3" rebooted after few second

>>
May 26 15:32:21 SLES-64BIT-SLOT3 osafckptnd[3742]: ER cpnd clm init failed with 
return value:31
May 26 15:32:30 SLES-64BIT-SLOT3 osafamfnd[3529]: NO Instantiation of 
'safComp=CPND,safSu=PL-3,safSg=NoRed,safApp=OpenSAF' failed
May 26 15:32:30 SLES-64BIT-SLOT3 osafamfnd[3529]: NO Reason: component 
registration timer expired
..

 May 26 15:32:40 SLES-64BIT-SLOT3 osafamfnd[3529]: NO Instantiation of 
'safComp=CPND,safSu=PL-3,safSg=NoRed,safApp=OpenSAF' failed
May 26 15:32:40 SLES-64BIT-SLOT3 osafamfnd[3529]: NO Reason: component 
registration timer expired
May 26 15:32:41 SLES-64BIT-SLOT3 osafamfnd[3529]: WA 
'safComp=CPND,safSu=PL-3,safSg=NoRed,safApp=OpenSAF' Presence State RESTARTING 
=> INSTANTIATION_FAILED
May 26 15:32:41 SLES-64BIT-SLOT3 osafamfnd[3529]: NO Component Failover 
trigerred for 'safSu=PL-3,safSg=NoRed,safApp=OpenSAF': Failed component: 
'safComp=CPND,safSu=PL-3,safSg=NoRed,safApp=OpenSAF'
May 26 15:32:41 SLES-64BIT-SLOT3 osafamfnd[3529]: ER 
'safComp=CPND,safSu=PL-3,safSg=NoRed,safApp=OpenSAF'got Inst failed
May 26 15:32:41 SLES-64BIT-SLOT3 osafamfnd[3529]: Rebooting OpenSAF NodeId = 
131855 EE Name = , Reason: NCS component Instantiation failed, OwnNodeId = 
131855, SupervisionTime = 60
May 26 15:32:41 SLES-64BIT-SLOT3 opensaf_reboot: Rebooting local node; 
timeout=60

4. It is also observed that after controllers joined back from headless state, 
folllowing Error message observed on clm locked node (PL-3)

>> May 26 15:32:19 SLES-64BIT-SLOT3 osafmsgnd[3577]: ER saClmDispatch Failed 
>> with error 9
May 26 15:32:19 SLES-64BIT-SLOT3 osafckptnd[3549]: NO Bad CLM handle. 
Reinitializing
.

* Traces of Active controller and Payload(PL-3) is attached.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1852 cpsv: improve message tracing for headless feature

2016-05-26 Thread Vo Minh Hoang
- **status**: assigned --> accepted



---

** [tickets:#1852] cpsv: improve message tracing for headless feature**

**Status:** accepted
**Milestone:** 5.1.FC
**Created:** Thu May 26, 2016 09:42 AM UTC by Vo Minh Hoang
**Last Updated:** Thu May 26, 2016 09:42 AM UTC
**Owner:** Vo Minh Hoang


In case headless state happen, the Checkpoint Node Director (CPND) deletes 
un-recoverable checkpoint nodes on PLs. Then it requests CPA to destroy 
corresponding checkpoint node by using the new message 
CPA_EVT_ND2A_CKPT_DESTROY.

In case an active SC is up after headless, CPND updates CPD with checkpoint 
information by usinga new message CPD_EVT_ND2D_CKPT_INFO_UPDATE instead of 
using CPD_EVT_ND2D_CKPT_CREATE. This is because the CPND will create new 
ckpt_id for the checkpoint which might be different with the current ckpt id if 
the CPD_EVT_ND2D_CKPT_CREATE is used.

This enhancement adds trace log for following messages:
CPD_EVT_ND2D_CKPT_INFO_UPDATE
CPND_EVT_D2ND_CKPT_INFO_UPDATE_ACK
CPA_EVT_ND2A_CKPT_DESTROY


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1852 cpsv: improve message tracing for headless feature

2016-05-26 Thread Vo Minh Hoang



---

** [tickets:#1852] cpsv: improve message tracing for headless feature**

**Status:** assigned
**Milestone:** 5.1.FC
**Created:** Thu May 26, 2016 09:42 AM UTC by Vo Minh Hoang
**Last Updated:** Thu May 26, 2016 09:42 AM UTC
**Owner:** Vo Minh Hoang


In case headless state happen, the Checkpoint Node Director (CPND) deletes 
un-recoverable checkpoint nodes on PLs. Then it requests CPA to destroy 
corresponding checkpoint node by using the new message 
CPA_EVT_ND2A_CKPT_DESTROY.

In case an active SC is up after headless, CPND updates CPD with checkpoint 
information by usinga new message CPD_EVT_ND2D_CKPT_INFO_UPDATE instead of 
using CPD_EVT_ND2D_CKPT_CREATE. This is because the CPND will create new 
ckpt_id for the checkpoint which might be different with the current ckpt id if 
the CPD_EVT_ND2D_CKPT_CREATE is used.

This enhancement adds trace log for following messages:
CPD_EVT_ND2D_CKPT_INFO_UPDATE
CPND_EVT_D2ND_CKPT_INFO_UPDATE_ACK
CPA_EVT_ND2A_CKPT_DESTROY


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1848 imm: Memory leak in ImmSearchOp::nextResult

2016-05-26 Thread Hung Nguyen
- **status**: accepted --> review



---

** [tickets:#1848] imm: Memory leak in ImmSearchOp::nextResult**

**Status:** review
**Milestone:** 4.7.2
**Created:** Tue May 24, 2016 10:12 AM UTC by Hung Nguyen
**Last Updated:** Tue May 24, 2016 10:15 AM UTC
**Owner:** Hung Nguyen


Reproduce:

Use immlist on an object with runtime attributes and OI attached.
Kill immlist before receiving the response from OI.


~~~
root@SC-1:~# immlist safSu=SC-1,safSg=NoRed,safApp=OpenSAF & kill -9 `pidof 
immlist`
~~~



~~~
==23745== 644 (24 direct, 620 indirect) bytes in 1 blocks are definitely lost 
in loss record 154 of 208
==23745==at 0x4C2B200: calloc (in 
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==23745==by 0x42104E: ImmSearchOp::nextResult(ImmsvOmRspSearchNext**, 
void**, std::list**) 
(ImmSearchOp.cc:124)
==23745==by 0x42AD55: immModel_nextResult (ImmModel.cc:1514)
==23745==by 0x40E216: immnd_evt_proc_search_next (immnd_evt.c:1526)
==23745==by 0x40EA86: immnd_evt_proc_accessor_get (immnd_evt.c:1861)
==23745==by 0x4187C2: immnd_process_evt (immnd_evt.c:609)
==23745==by 0x40B585: main (immnd_main.c:348)
~~~

---

Analysis:
The problem is 'mLastResult' is not freed when discarding the client node.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets