[tickets] [opensaf:tickets] #680 AMF: Coverity issues in amfd/amfnd

2017-02-15 Thread Hoa Le
- **status**: review --> fixed



---

** [tickets:#680] AMF: Coverity issues in amfd/amfnd**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Thu Dec 19, 2013 11:08 AM UTC by Gary Lee
**Last Updated:** Wed Feb 15, 2017 03:29 AM UTC
**Owner:** Hoa Le


Coverity detected a number of issues in amfd/amfnd. Some of these issues will 
be addressed in this ticket.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #1749 amf: Incorrect ER in syslog

2017-02-15 Thread Nagendra Kumar
- **status**: review --> fixed
- **Comment**:

changeset:   8585:56c0fedf1706
tag: tip
user:Nagendra Kumar
date:Thu Feb 16 11:05:09 2017 +0530
summary: amfd: change LOG_ER to LOG_NO [#1749]




---

** [tickets:#1749] amf: Incorrect ER in syslog**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Tue Apr 12, 2016 12:22 PM UTC by elunlen
**Last Updated:** Thu Feb 09, 2017 11:16 AM UTC
**Owner:** Nagendra Kumar


When requesting AMF to do a SI swap the following message may appear in the 
syslog:
2016-04-11 17:35:37 SC-1 osafamfd[500]: ER safSi=SC-2N,safApp=OpenSAF SWAP 
failed - Cold sync in progress
This is the case also if the response to the operation is SA_AIS_ERR_TRY_AGAIN 
or SA_AIS_ERR_BUSY.
Getting these responses is not error responses and should not result in an ER 
message in the syslog


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2275 base: Remove the local persistence guard API

2017-02-15 Thread Anders Widell
- **status**: review --> fixed
- **Comment**:

changeset:   8583:fc890d753132
user:Anders Widell 
date:Wed Feb 15 14:47:17 2017 +0100
summary: base: Remove the local persistence guard API [#2275]

[staging:fc890d]



---

** [tickets:#2275] base: Remove the local persistence guard API**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Tue Jan 24, 2017 10:05 AM UTC by Anders Widell
**Last Updated:** Tue Jan 24, 2017 01:54 PM UTC
**Owner:** Anders Widell


The following functions should be removed since they are only used by the 
OpenSAF timer implementation, and serve no purpose since ncslpg_destroy() is 
never called:

~~~
bool ncslpg_take(NCSLPG_OBJ *pg);
uint32_t ncslpg_give(NCSLPG_OBJ *pg, uint32_t ret);
uint32_t ncslpg_create(NCSLPG_OBJ *pg);
bool ncslpg_destroy(NCSLPG_OBJ *pg);
~~~



---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2300 ntf: workaround to pass upgrade failed due to #2006

2017-02-15 Thread Vu Minh Nguyen
- **status**: review --> fixed
- **assigned_to**: Canh Truong -->  nobody 
- **Comment**:

changeset:   8582:8bf021b169f3
tag: tip
parent:  8579:a39b16c96516
user:Canh Van Truong 
date:Sat Feb 11 03:51:36 2017 +0700
summary: ntf: workaround to fix failed upgrade [#2300]

changeset:   8581:e0b4efdf79af
branch:  opensaf-5.1.x
parent:  8575:1473bf4b1214
user:Canh Van Truong 
date:Sat Feb 11 04:27:42 2017 +0700
summary: ntf: workaround to fix failed upgrade [#2300]

changeset:   8580:66ec2284f5d4
branch:  opensaf-5.0.x
parent:  8574:8840a5cd12b8
user:Canh Van Truong 
date:Sat Feb 11 04:46:32 2017 +0700
summary: ntf: workaround to fix failed upgrade [#2300]



---

** [tickets:#2300] ntf: workaround to pass upgrade failed due to #2006**

**Status:** fixed
**Milestone:** 5.0.2
**Created:** Mon Feb 13, 2017 03:17 AM UTC by Vu Minh Nguyen
**Last Updated:** Tue Feb 14, 2017 06:25 AM UTC
**Owner:** nobody


During cluster upgrade from an old OpenSAF version which have not included the 
fix #2006 to one that have the fix in, if there is an code fault related to 
inconsistent in `additionalText` and `lengthAdditionalText` in NTF application, 
could lead to upgadate failed.

This ticket intends to add an workwround in NTFs, secretly adjust 
`lengthAdditionalText` to correct one if NTFs find the mismatch, before NTFs 
sends write request to LOGsv. Doing this action to avoid NTFs crashed due to 
getting SA_AIS_ERR_INVALID_PARAM returned by LOGsv.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2291 dtm: MDS log is overwritten after a node restart

2017-02-15 Thread Anders Widell
- **status**: accepted --> review



---

** [tickets:#2291] dtm: MDS log is overwritten after a node restart**

**Status:** review
**Milestone:** 5.2.FC
**Created:** Tue Feb 07, 2017 03:07 PM UTC by Anders Widell
**Last Updated:** Tue Feb 07, 2017 03:07 PM UTC
**Owner:** Anders Widell


osaftransportd overwrites an existing MDS log file after a node restart. If an 
MDS log file exists, it should be appended.


---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
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-02-15 Thread Vu Minh Nguyen
- **status**: accepted --> review
- **Comment**:

I will submit Unit test & updated PR soon.



---

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

**Status:** review
**Milestone:** 5.2.FC
**Created:** Wed Jan 11, 2017 02:33 AM UTC by Vu Minh Nguyen
**Last Updated:** Fri Feb 10, 2017 03:17 PM 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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2065 amf: support for SA_AMF_CLUSTER_RESET recommended recovery

2017-02-15 Thread Praveen
- Description has changed:

Diff:



--- old
+++ new
@@ -1 +1,2 @@
-Support for the SA_AMF_CLUSTER_RESET = 7, Recommended recovery - both as 
configuration and for error reporting via saAmfComponentErrorReport
+Support for the SA_AMF_CLUSTER_RESET = 7, Recommended recovery - both as 
configuration and for error reporting via saAmfComponentErrorReport.
+



- **status**: accepted --> review
- **Comment**:

TODO: AMFD will have to raise alarm for cluster reset.



---

** [tickets:#2065] amf: support for SA_AMF_CLUSTER_RESET recommended recovery**

**Status:** review
**Milestone:** 5.2.FC
**Created:** Fri Sep 23, 2016 11:54 AM UTC by Mathi Naickan
**Last Updated:** Tue Jan 10, 2017 06:42 AM UTC
**Owner:** Praveen


Support for the SA_AMF_CLUSTER_RESET = 7, Recommended recovery - both as 
configuration and for error reporting via saAmfComponentErrorReport.




---

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.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets