- **status**: review --> fixed
- **Comment**:
commit 620b3ff21c3f89d4691115148a79b8c89d1a5303 (HEAD -> develop,
origin/develop, ticket-3297)
Author: thien.m.huynh <[email protected]>
Date: Fri Nov 26 10:24:42 2021 +0700
ntf: correct the behavior of periodic check log pending [#3297]
Osafntd will be crash when run as roaming sc. Periodic checking expect
running on active. In this case, it still run on the node with quiesed
state.
This fix is to correct the behavior of check log pending. The periodic
checking only run on active.
---
** [tickets:#3297] ntf: osafntfd crash when run as roaming sc**
**Status:** fixed
**Milestone:** 5.21.12
**Created:** Fri Nov 26, 2021 03:11 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Nov 26, 2021 08:06 AM UTC
**Owner:** Thien Minh Huynh
Step reproduce:
1. prepare cluster only SC
2. change healcheck periodic of ntfd to 1s
immcfg -a saAmfHctDefPeriod=1000000000
safHealthcheckKey=Default,safVersion=4.0.0,safCompType=OpenSafCompTypeNTF
4. reboot node
5. osafntfd will be crash after node startup ~50s
~~~
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007f239a4fd859 in __GI_abort () at abort.c:79
#2 0x00007f239a93226f in __osafassert_fail (__file=__file@entry=0x564e90015604
"src/ntf/ntfd/NtfAdmin.cc", __line=__line@entry=1297,
__func=__func@entry=0x564e90015753 "PeriodicCheck",
__assertion=__assertion@entry=0x564e9001570a "NtfAdmin::theNtfAdmin != NULL")
at src/base/sysf_def.c:296
#3 0x0000564e9000bb1b in PeriodicCheck () at src/ntf/ntfd/NtfAdmin.cc:1293
#4 0x0000564e8fff6ecc in main (argc=<optimized out>, argv=<optimized out>) at
src/ntf/ntfd/ntfs_main.c:440
~~~
---
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