[tickets] [opensaf:tickets] #2516 log: Incorrect handling of version when initializing OpenSAF APIs

2017-09-17 Thread Canh Truong via Opensaf-tickets
- **status**: unassigned --> accepted
- **assigned_to**: Canh Truong



---

** [tickets:#2516] log: Incorrect handling of version when initializing OpenSAF 
APIs**

**Status:** accepted
**Milestone:** 5.17.10
**Created:** Fri Jun 30, 2017 12:49 PM UTC by elunlen
**Last Updated:** Fri Jul 28, 2017 08:21 AM UTC
**Owner:** Canh Truong


A general problem when initializing OpenSAF APIs is found. This problem applies 
to all OpenSAF services.

The version used when initializing the API is in many cases stored in a global 
variable and this global variable is used every time the API is initialized. 
The version is given as a pointer to this variable. The problem is that this 
variable is defined as an [in/out] parameter that gives the version to use when 
initializing [in] but the value shall be changed by the agent to the highest 
version supported by the initialized service [out]. This means that the next 
time the API is initialized it may be initialized with a higher version. A 
higher version may not be backwards compatible with the intended version. Even 
if this is not causing any problems now it may in the future when new features 
are added.

An example is IMM that has a highest version A, 2, 18. If this version is used 
IMM will handle CLM nodes in a different way than if initialized with a lower 
version. For example, new return codes has to be handled.



---

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] #2582 amfnd: handle TIMEOUT in amf_saImmOmAccessorGet_o2

2017-09-17 Thread Gary Lee via Opensaf-tickets
- Description has changed:

Diff:



--- old
+++ new
@@ -1,4 +1,3 @@
-
 Sometimes IMM returns TIMEOUT to AMFND when calling 
immutil_saImmOmAccessorGet_o2().
 
 Aug 20 07:08:46 PL-4 osafamfnd[7326]: ER amf_saImmOmAccessorGet_o2 FAILED for 
'safComp=ABC,safSu=PL-4,safSg=NoRed-ABC,safApp=ABC'



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



---

** [tickets:#2582] amfnd: handle TIMEOUT in amf_saImmOmAccessorGet_o2**

**Status:** review
**Milestone:** 5.17.10
**Created:** Wed Sep 13, 2017 12:59 AM UTC by Gary Lee
**Last Updated:** Wed Sep 13, 2017 12:59 AM UTC
**Owner:** Gary Lee


Sometimes IMM returns TIMEOUT to AMFND when calling 
immutil_saImmOmAccessorGet_o2().

Aug 20 07:08:46 PL-4 osafamfnd[7326]: ER amf_saImmOmAccessorGet_o2 FAILED for 
'safComp=ABC,safSu=PL-4,safSg=NoRed-ABC,safApp=ABC'
Aug 20 07:08:46 PL-4 osafamfnd[7326]: NO Component CLC fsm exited with error 
for comp:safComp=ABC,safSu=PL-4,safSg=NoRed-ABC,safApp=ABC



---

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