- **Milestone**: 5.19.07 --> 5.19.10
---
** [tickets:#2878] ntf: initialize client in log service loop forever **
**Status:** review
**Milestone:** 5.19.10
**Created:** Fri Jun 15, 2018 06:33 AM UTC by Canh Truong
**Last Updated:** Wed Jul 03, 2019 06:28 AM UTC
**Owner:** Canh Truong
When NTFD is started, the NtfAdmin class object is defined and client in log
service is initialized in this object. The initialiation of client may be loop
forever if TRY_AGAIN error always return.
* do {
result = saLogInitialize(&logHandle, &logCallbacks, &logversion);
if (SAAISERRTRYAGAIN == result) {
if (firsttry) {
LOGWA("saLogInitialize returns try again, retries...");
firsttry = 0;
}
usleep(AISTIMEOUT);
logversion = kLogVersion;
}
} while (SAAISERRTRYAGAIN == result);*
Somehow log service has not been started on time or log service is busy, NTFD
is kept in the loop. NTFD started for long time and the AMF hasn't received
csi callback (in 30 seconds ??). The error is printout:
"2018-04-23 02:13:56.326 SC-2 osafamfnd[272]: ER
safComp=NTF,safSu=SC-2,safSg=2N,safApp=OpenSAF Faulted due
to:csiSetcallbackTimeout Recovery is:nodeFailfast "
NTFD should be updated at initialization of log client.
---
Sent from sourceforge.net because [email protected] 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._______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets