[tickets] [opensaf:tickets] #2254 log: reuse of deleted resources leads to agent coredump

2017-01-10 Thread A V Mahesh (AVM)
- **status**: unassigned --> accepted
- **assigned_to**: A V Mahesh (AVM)



---

** [tickets:#2254] log: reuse of deleted resources leads to agent coredump**

**Status:** accepted
**Milestone:** 5.0.2
**Created:** Mon Jan 09, 2017 07:30 AM UTC by Tai Dinh
**Last Updated:** Wed Jan 11, 2017 06:49 AM UTC
**Owner:** A V Mahesh (AVM)


Below part of code looks not really safe:
~~~
rc = lga_recover_one_client(p_client);
TRACE("\t Client %d is recovered", p_client->lgs_client_id);
if (rc == -1) {
TRACE("%s recover_one_client Fail Deleting client (id 
%d)",
__FUNCTION__, p_client->lgs_client_id);
/* Fail to recover this client
 * Remove (handle invalidated)
 */
(void) lga_hdl_rec_del(_cb.client_list, p_client);
}

/* Next client */
p_client = p_client->next;
~~~
Note that after the lga_hdl_rec_del, the content of p_client had been freed 
already. So the next assignment statement will assign p_client to a non-valid 
memory.
The coredump was generated when we try to access the recovered_flag, but we can 
even crash at the assignment line also.

~~~
--
7f1a883f8cd5: /usr/lib64/libSaLog.so.1: file format elf64-x86-64


Disassembly of section .text:

7cd5 :
recovery2_thread():
/mnt/jenkins_virtual_disk/jenkins_work_folder/workspace/E2_Build_Cmw_x86_64/P1A01/opensaf/osaf/libs/agents/saf/lga/../../../../../../../opensaf/osaf/libs/agents/saf/lga/lga_state.c:362
 (discriminator 2)
7cd5:   80 7b 39 00 cmpb   $0x0,0x39(%rbx)

--
7f1f749190a4: /lib64/libpthread.so.0: file format elf64-x86-64


Disassembly of section .text:

80a4 :
start_thread():
80a4:   64 48 89 04 25 30 06mov%rax,%fs:0x630
80ab:   00 00

--
7f1f7464e02d: /lib64/libc.so.6: file format elf64-x86-64


Disassembly of section .text:

000e502d <__clone+0x6d>:
__clone():
   e502d:   48 89 c7mov%rax,%rdi

--

~~~
/Tai


---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2254 log: reuse of deleted resources leads to agent coredump

2017-01-10 Thread Vu Minh Nguyen
- **Milestone**: 5.2.FC --> 5.0.2



---

** [tickets:#2254] log: reuse of deleted resources leads to agent coredump**

**Status:** unassigned
**Milestone:** 5.0.2
**Created:** Mon Jan 09, 2017 07:30 AM UTC by Tai Dinh
**Last Updated:** Mon Jan 09, 2017 07:30 AM UTC
**Owner:** nobody


Below part of code looks not really safe:
~~~
rc = lga_recover_one_client(p_client);
TRACE("\t Client %d is recovered", p_client->lgs_client_id);
if (rc == -1) {
TRACE("%s recover_one_client Fail Deleting client (id 
%d)",
__FUNCTION__, p_client->lgs_client_id);
/* Fail to recover this client
 * Remove (handle invalidated)
 */
(void) lga_hdl_rec_del(_cb.client_list, p_client);
}

/* Next client */
p_client = p_client->next;
~~~
Note that after the lga_hdl_rec_del, the content of p_client had been freed 
already. So the next assignment statement will assign p_client to a non-valid 
memory.
The coredump was generated when we try to access the recovered_flag, but we can 
even crash at the assignment line also.

~~~
--
7f1a883f8cd5: /usr/lib64/libSaLog.so.1: file format elf64-x86-64


Disassembly of section .text:

7cd5 :
recovery2_thread():
/mnt/jenkins_virtual_disk/jenkins_work_folder/workspace/E2_Build_Cmw_x86_64/P1A01/opensaf/osaf/libs/agents/saf/lga/../../../../../../../opensaf/osaf/libs/agents/saf/lga/lga_state.c:362
 (discriminator 2)
7cd5:   80 7b 39 00 cmpb   $0x0,0x39(%rbx)

--
7f1f749190a4: /lib64/libpthread.so.0: file format elf64-x86-64


Disassembly of section .text:

80a4 :
start_thread():
80a4:   64 48 89 04 25 30 06mov%rax,%fs:0x630
80ab:   00 00

--
7f1f7464e02d: /lib64/libc.so.6: file format elf64-x86-64


Disassembly of section .text:

000e502d <__clone+0x6d>:
__clone():
   e502d:   48 89 c7mov%rax,%rdi

--

~~~
/Tai


---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2259 amf: support for si-swap admin op for N+M model.

2017-01-10 Thread Praveen
- **Type**: defect --> enhancement



---

** [tickets:#2259] amf: support for si-swap admin op for N+M model.**

**Status:** accepted
**Milestone:** 5.2.FC
**Created:** Wed Jan 11, 2017 06:13 AM UTC by Praveen
**Last Updated:** Wed Jan 11, 2017 06:13 AM UTC
**Owner:** Praveen


As per spec, SI_SWAP admin operation is applicable to a SI which is protected 
by SG of 2N, NWAY or NPM model. Current OpenSAF implementation already supports 
2N and N-WAY model.

This enhancements is for supporting the admin operation on SI of N+M model SG. 
Since SI dep within SU is not suported in N+M model, AMF will not honour SI dep 
within SU while assigning Active or Quiesced HA state 
during the admin operation.



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2259 amf: support for si-swap admin op for N+M model.

2017-01-10 Thread Praveen



---

** [tickets:#2259] amf: support for si-swap admin op for N+M model.**

**Status:** accepted
**Milestone:** 5.2.FC
**Created:** Wed Jan 11, 2017 06:13 AM UTC by Praveen
**Last Updated:** Wed Jan 11, 2017 06:13 AM UTC
**Owner:** Praveen


As per spec, SI_SWAP admin operation is applicable to a SI which is protected 
by SG of 2N, NWAY or NPM model. Current OpenSAF implementation already supports 
2N and N-WAY model.

This enhancements is for supporting the admin operation on SI of N+M model SG. 
Since SI dep within SU is not suported in N+M model, AMF will not honour SI dep 
within SU while assigning Active or Quiesced HA state 
during the admin operation.



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2255 amf: change saAmfCompCmdEnv attribute to writable

2017-01-10 Thread Long HB Nguyen
- **assigned_to**: Long HB Nguyen --> Nguyen TK Luu



---

** [tickets:#2255] amf: change saAmfCompCmdEnv attribute to writable**

**Status:** assigned
**Milestone:** 5.2.FC
**Created:** Mon Jan 09, 2017 10:29 AM UTC by Long HB Nguyen
**Last Updated:** Tue Jan 10, 2017 02:06 AM UTC
**Owner:** Nguyen TK Luu


Description:
Current OpenSAF implementation defines the attribute saAmfCompCmdEnv in the 
SaAmfComp object as non-writable according to last AMF specification. This 
restriction doesn’t allow to upgrade environment attributes defined at 
component instance and, to remove it, the attribute was made writable in an 
errata to the model. OpenSAF should comply to this definition in the errata 
(www.saforum.org/HOA/assn16627/images/SAI-IM-XMI-A.04.02.errata.xml.zip) of the 
AMF specification to enable the upgrade of environment attributes defined at 
component instance level.


---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2258 log: add alternative destinations of log records

2017-01-10 Thread Vu Minh Nguyen



---

** [tickets:#2258] log: add alternative destinations of log records**

**Status:** assigned
**Milestone:** 5.2.FC
**Created:** Wed Jan 11, 2017 02:33 AM UTC by Vu Minh Nguyen
**Last Updated:** Wed Jan 11, 2017 02:33 AM UTC
**Owner:** Vu Minh Nguyen
**Attachments:**

- 
[LOGSv_Add_Alternative_Destination.odt](https://sourceforge.net/p/opensaf/tickets/2258/attachment/LOGSv_Add_Alternative_Destination.odt)
 (125.3 kB; application/vnd.oasis.opendocument.text)


The log service is as is dedicated to writing log records to file and this has 
so far been the only destination for log records. Several attributes in the 
configuration object and log stream objects are dedicated for configuration of 
this file handling. This is legacy.

Now, we introduce a generic way of handling alternative destinations of log 
records.  Legacy handling of log records will not be changed.

Find more information in attachement.


---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2256 ckpt: memory leak in saCkptCheckpointRead

2017-01-10 Thread Zoran Milinkovic
- **status**: unassigned --> review
- **assigned_to**: Zoran Milinkovic
- **Comment**:

https://sourceforge.net/p/opensaf/mailman/message/35595505/



---

** [tickets:#2256] ckpt: memory leak in saCkptCheckpointRead**

**Status:** review
**Milestone:** 5.0.2
**Created:** Tue Jan 10, 2017 02:26 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Jan 10, 2017 02:26 PM UTC
**Owner:** Zoran Milinkovic


Memory leak in saCkptCheckpointRead() when cpa_proc_build_data_access_evt() 
fails.

==27461== 64 bytes in 1 blocks are definitely lost in loss record 8 of 13
==27461==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27461==by 0x4E46A9F: cpa_proc_build_data_access_evt (cpa_proc.c:1129)
==27461==by 0x4E4187F: saCkptCheckpointRead (cpa_api.c:3934)
==27461==by 0x1289CF: test_ckptRead (test_cpa_util.c:1169)
==27461==by 0x11D8CF: cpsv_it_read_07 (test_cpa.c:5474)
==27461==by 0x12B78E: run_test_case (utest.c:175)
==27461==by 0x12B78E: test_run (utest.c:202)
==27461==by 0x5513F44: (below main) (libc-start.c:287)
==27461== 
==27461== 64 bytes in 1 blocks are definitely lost in loss record 9 of 13
==27461==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27461==by 0x4E46A9F: cpa_proc_build_data_access_evt (cpa_proc.c:1129)
==27461==by 0x4E4187F: saCkptCheckpointRead (cpa_api.c:3934)
==27461==by 0x1289CF: test_ckptRead (test_cpa_util.c:1169)
==27461==by 0x11D9FF: cpsv_it_read_08 (test_cpa.c:5513)
==27461==by 0x12B78E: run_test_case (utest.c:175)
==27461==by 0x12B78E: test_run (utest.c:202)
==27461==by 0x5513F44: (below main) (libc-start.c:287)



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2257 ckpt: memory leak in cpd_a2s_ckpt_usr_info

2017-01-10 Thread Zoran Milinkovic
- **status**: unassigned --> review
- **assigned_to**: Zoran Milinkovic
- **Comment**:

https://sourceforge.net/p/opensaf/mailman/message/35595409/



---

** [tickets:#2257] ckpt: memory leak in cpd_a2s_ckpt_usr_info**

**Status:** review
**Milestone:** 5.0.2
**Created:** Tue Jan 10, 2017 02:49 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Jan 10, 2017 02:49 PM UTC
**Owner:** Zoran Milinkovic


cpd_msg.info.usr_info_2.node_list is not freed after MBC call

==26736== 4,576 bytes in 143 blocks are definitely lost in loss record 169 of 
173
==26736==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26736==by 0x11F256: cpd_a2s_ckpt_usr_info (cpd_red.c:320)
==26736==by 0x110761: cpd_evt_proc_ckpt_create (cpd_evt.c:263)
==26736==by 0x112AD2: cpd_process_evt (cpd_evt.c:113)
==26736==by 0x1163A8: cpd_main_process (cpd_init.c:661)
==26736==by 0x10CF1F: main (cpd_main.c:74)
==26736== 
==26736== 13,280 bytes in 415 blocks are definitely lost in loss record 170 of 
173
==26736==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26736==by 0x11F256: cpd_a2s_ckpt_usr_info (cpd_red.c:320)
==26736==by 0x111951: cpd_evt_proc_ckpt_usr_info.isra.3 (cpd_evt.c:519)
==26736==by 0x112A7A: cpd_process_evt (cpd_evt.c:116)
==26736==by 0x1163A8: cpd_main_process (cpd_init.c:661)
==26736==by 0x10CF1F: main (cpd_main.c:74)



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2128 ckpt: Api saCkptCheckpointOpen returns SA_AIS_ERR_INVALID_PARAM while opening checkpoint

2017-01-10 Thread Zoran Milinkovic
- **status**: accepted --> review
- **Comment**:

https://sourceforge.net/p/opensaf/mailman/message/35595366/



---

** [tickets:#2128] ckpt: Api saCkptCheckpointOpen returns 
SA_AIS_ERR_INVALID_PARAM while opening checkpoint**

**Status:** review
**Milestone:** 5.1.1
**Created:** Wed Oct 19, 2016 12:08 PM UTC by Ritu Raj
**Last Updated:** Tue Jan 10, 2017 03:16 PM UTC
**Owner:** Zoran Milinkovic


#Environment details
OS : Suse 64bit
Changeset : 8190 ( 5.1.GA)
Setup : 4 nodes (with headless feature disabled & PBE disabled)

#Summary:
saCkptCheckpointOpen() returns SA_AIS_ERR_INVALID_PARAM when checkpointName 
does not terminate with trailing character

#Observed behaviour
To open checkpoint , API saCkptCheckpointOpen() is called by setting 
checkpointName in two different ways:
Case-1: checkpointName does not terminate with '\0'
Case-2: checkpointName terminate with '\0'

It is expected in both cases saCkptCheckpointOpen() should be successful.
But, It is observed in Case-1, saCkptCheckpointOpen() returns 
SA_AIS_ERR_INVALID_PARAM.

As per SAF Specificaton::
**SAI-AIS-CPROG-B.05.01, Section-2.3.9:Name Type**
"The length field in the SaNameT structure refers to the number of octets 
(bytes) used by
the representation of the name in the value field. If the C character string 
represen-
tation is used, the value field contains the characters in the string without 
the termi-
nating null character, and the length field contains the number of these 
characters."

Syslog:
Oct 19 17:24:30 fos1 osafimmnd[2377]: NO ERR_INVALID_PARAM: Not a proper RDN 
(safCkpt=ckptOne^V]<88>§^?, 20)
Oct 19 17:24:30 fos1 osafckptd[2452]: ER create_runtime_ckpt_object - 
saImmOiRtObjectCreate_2 failed with error = 7
Oct 19 17:24:30 fos1 osafckptd[2452]: ER create runtime ckpt object failed with 
error: 7
Oct 19 17:24:30 fos1 osafckptd[2452]: ER cpd db add ckpt_node failed for 
ckpt_id:5c


*Notes:
In OpenSAF5.0 both scenario used to work successfully.



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2128 ckpt: Api saCkptCheckpointOpen returns SA_AIS_ERR_INVALID_PARAM while opening checkpoint

2017-01-10 Thread Zoran Milinkovic
- **summary**: Api saCkptCheckpointOpen returns SA_AIS_ERR_INVALID_PARAM while 
opening checkpoint --> ckpt: Api saCkptCheckpointOpen returns 
SA_AIS_ERR_INVALID_PARAM while opening checkpoint
- **status**: assigned --> accepted
- **assigned_to**: A V Mahesh (AVM) --> Zoran Milinkovic
- **Milestone**: 5.2.FC --> 5.1.1
- **Comment**:

The similar issue exists in saCkptCheckpointOpenAsync() and 
saCkptCheckpointUnlink()



---

** [tickets:#2128] ckpt: Api saCkptCheckpointOpen returns 
SA_AIS_ERR_INVALID_PARAM while opening checkpoint**

**Status:** accepted
**Milestone:** 5.1.1
**Created:** Wed Oct 19, 2016 12:08 PM UTC by Ritu Raj
**Last Updated:** Tue Nov 15, 2016 06:37 AM UTC
**Owner:** Zoran Milinkovic


#Environment details
OS : Suse 64bit
Changeset : 8190 ( 5.1.GA)
Setup : 4 nodes (with headless feature disabled & PBE disabled)

#Summary:
saCkptCheckpointOpen() returns SA_AIS_ERR_INVALID_PARAM when checkpointName 
does not terminate with trailing character

#Observed behaviour
To open checkpoint , API saCkptCheckpointOpen() is called by setting 
checkpointName in two different ways:
Case-1: checkpointName does not terminate with '\0'
Case-2: checkpointName terminate with '\0'

It is expected in both cases saCkptCheckpointOpen() should be successful.
But, It is observed in Case-1, saCkptCheckpointOpen() returns 
SA_AIS_ERR_INVALID_PARAM.

As per SAF Specificaton::
**SAI-AIS-CPROG-B.05.01, Section-2.3.9:Name Type**
"The length field in the SaNameT structure refers to the number of octets 
(bytes) used by
the representation of the name in the value field. If the C character string 
represen-
tation is used, the value field contains the characters in the string without 
the termi-
nating null character, and the length field contains the number of these 
characters."

Syslog:
Oct 19 17:24:30 fos1 osafimmnd[2377]: NO ERR_INVALID_PARAM: Not a proper RDN 
(safCkpt=ckptOne^V]<88>§^?, 20)
Oct 19 17:24:30 fos1 osafckptd[2452]: ER create_runtime_ckpt_object - 
saImmOiRtObjectCreate_2 failed with error = 7
Oct 19 17:24:30 fos1 osafckptd[2452]: ER create runtime ckpt object failed with 
error: 7
Oct 19 17:24:30 fos1 osafckptd[2452]: ER cpd db add ckpt_node failed for 
ckpt_id:5c


*Notes:
In OpenSAF5.0 both scenario used to work successfully.



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2257 ckpt: memory leak in cpd_a2s_ckpt_usr_info

2017-01-10 Thread Zoran Milinkovic



---

** [tickets:#2257] ckpt: memory leak in cpd_a2s_ckpt_usr_info**

**Status:** unassigned
**Milestone:** 5.0.2
**Created:** Tue Jan 10, 2017 02:49 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Jan 10, 2017 02:49 PM UTC
**Owner:** nobody


cpd_msg.info.usr_info_2.node_list is not freed after MBC call

==26736== 4,576 bytes in 143 blocks are definitely lost in loss record 169 of 
173
==26736==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26736==by 0x11F256: cpd_a2s_ckpt_usr_info (cpd_red.c:320)
==26736==by 0x110761: cpd_evt_proc_ckpt_create (cpd_evt.c:263)
==26736==by 0x112AD2: cpd_process_evt (cpd_evt.c:113)
==26736==by 0x1163A8: cpd_main_process (cpd_init.c:661)
==26736==by 0x10CF1F: main (cpd_main.c:74)
==26736== 
==26736== 13,280 bytes in 415 blocks are definitely lost in loss record 170 of 
173
==26736==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26736==by 0x11F256: cpd_a2s_ckpt_usr_info (cpd_red.c:320)
==26736==by 0x111951: cpd_evt_proc_ckpt_usr_info.isra.3 (cpd_evt.c:519)
==26736==by 0x112A7A: cpd_process_evt (cpd_evt.c:116)
==26736==by 0x1163A8: cpd_main_process (cpd_init.c:661)
==26736==by 0x10CF1F: main (cpd_main.c:74)



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2256 ckpt: memory leak in saCkptCheckpointRead

2017-01-10 Thread Zoran Milinkovic



---

** [tickets:#2256] ckpt: memory leak in saCkptCheckpointRead**

**Status:** unassigned
**Milestone:** 5.0.2
**Created:** Tue Jan 10, 2017 02:26 PM UTC by Zoran Milinkovic
**Last Updated:** Tue Jan 10, 2017 02:26 PM UTC
**Owner:** nobody


Memory leak in saCkptCheckpointRead() when cpa_proc_build_data_access_evt() 
fails.

==27461== 64 bytes in 1 blocks are definitely lost in loss record 8 of 13
==27461==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27461==by 0x4E46A9F: cpa_proc_build_data_access_evt (cpa_proc.c:1129)
==27461==by 0x4E4187F: saCkptCheckpointRead (cpa_api.c:3934)
==27461==by 0x1289CF: test_ckptRead (test_cpa_util.c:1169)
==27461==by 0x11D8CF: cpsv_it_read_07 (test_cpa.c:5474)
==27461==by 0x12B78E: run_test_case (utest.c:175)
==27461==by 0x12B78E: test_run (utest.c:202)
==27461==by 0x5513F44: (below main) (libc-start.c:287)
==27461== 
==27461== 64 bytes in 1 blocks are definitely lost in loss record 9 of 13
==27461==at 0x4C2AB80: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27461==by 0x4E46A9F: cpa_proc_build_data_access_evt (cpa_proc.c:1129)
==27461==by 0x4E4187F: saCkptCheckpointRead (cpa_api.c:3934)
==27461==by 0x1289CF: test_ckptRead (test_cpa_util.c:1169)
==27461==by 0x11D9FF: cpsv_it_read_08 (test_cpa.c:5513)
==27461==by 0x12B78E: run_test_case (utest.c:175)
==27461==by 0x12B78E: test_run (utest.c:202)
==27461==by 0x5513F44: (below main) (libc-start.c:287)



---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2235 ntf: standby osafntfimcnd process is useless

2017-01-10 Thread Praveen
- **Milestone**: 5.2.FC --> never



---

** [tickets:#2235] ntf: standby osafntfimcnd process is useless**

**Status:** duplicate
**Milestone:** never
**Created:** Tue Dec 20, 2016 10:00 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Jan 10, 2017 10:07 AM UTC
**Owner:** nobody


osafntfimcnd process at the moment is run on both node controllers. One is 
active instance, the other is standby. The standby process is there but do 
nothing.

So, it is better to remove that useless instance.


---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2235 ntf: standby osafntfimcnd process is useless

2017-01-10 Thread Vu Minh Nguyen
- **status**: unassigned --> duplicate
- **Comment**:

Hi Praveen,

Yes. This surely is my mistake. I will change it to "Duplicate".

/Vu



---

** [tickets:#2235] ntf: standby osafntfimcnd process is useless**

**Status:** duplicate
**Milestone:** 5.2.FC
**Created:** Tue Dec 20, 2016 10:00 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Jan 10, 2017 09:18 AM UTC
**Owner:** nobody


osafntfimcnd process at the moment is run on both node controllers. One is 
active instance, the other is standby. The standby process is there but do 
nothing.

So, it is better to remove that useless instance.


---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2235 ntf: standby osafntfimcnd process is useless

2017-01-10 Thread Praveen
Hi Vu,
There is similar ticket "#2234 ntf: standby osafntfimcnd process is useless". I 
think this ticket should be closed.
Thanks,
Praveen


---

** [tickets:#2235] ntf: standby osafntfimcnd process is useless**

**Status:** unassigned
**Milestone:** 5.2.FC
**Created:** Tue Dec 20, 2016 10:00 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Dec 20, 2016 10:00 AM UTC
**Owner:** nobody


osafntfimcnd process at the moment is run on both node controllers. One is 
active instance, the other is standby. The standby process is there but do 
nothing.

So, it is better to remove that useless instance.


---

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.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets