- **status**: review --> fixed
---
** [tickets:#1115] AMF: osafamfnd fails: Assertion 'comp->hc_list.n_nodes == 0'
failed**
**Status:** fixed
**Milestone:** 4.5.2
**Created:** Fri Sep 19, 2014 06:56 AM UTC by Hans Feldt
**Last Updated:** Fri Jul 24, 2015 10:10 AM UTC
**Owner:** Nagendra Kumar
If a non SA aware component has configured a healthcheck command in the
comptype but has not configured a healthcheck object this happens when the SU
is locked.
Sep 19 07:30:29 uabhafe-Latitude-E7440 osafamfnd[13882]: NO Assigning
'safSi=VIP,safApp=my-VIP' QUIESCED to 'safSu=SC-1,safSg=VIP-2N,safApp=my-VIP'
Sep 19 07:30:29 uabhafe-Latitude-E7440 osafamfnd[13882]: NO
'safSu=SC-1,safSg=VIP-2N,safApp=my-VIP' Presence State INSTANTIATED =>
TERMINATING
Sep 19 07:30:29 uabhafe-Latitude-E7440 IPaddr(default)[14382]: INFO: ifconfig
lxcbr0:1 down
Sep 19 07:30:29 uabhafe-Latitude-E7440 osafamfnd[13882]: NO
'safSu=SC-1,safSg=VIP-2N,safApp=my-VIP' Presence State TERMINATING =>
UNINSTANTIATED
Sep 19 07:30:29 uabhafe-Latitude-E7440 osafamfnd[13882]: NO Assigned
'safSi=VIP,safApp=my-VIP' QUIESCED to 'safSu=SC-1,safSg=VIP-2N,safApp=my-VIP'
Sep 19 07:30:29 uabhafe-Latitude-E7440 osafamfnd[13882]: NO Removed
'safSi=VIP,safApp=my-VIP' from 'safSu=SC-1,safSg=VIP-2N,safApp=my-VIP'
Sep 19 07:30:30 uabhafe-Latitude-E7440 osafimmnd[13787]: NO Ccb 18 COMMITTED
(DummyName)
Sep 19 07:30:30 uabhafe-Latitude-E7440 osafamfnd[13882]: compdb.cc:553:
avnd_compdb_rec_del: Assertion 'comp->hc_list.n_nodes == 0' failed.
Sep 19 07:30:30 uabhafe-Latitude-E7440 osafevtd[14027]: AL AMF Node Director is
down, terminate this process
Reason is a combination of bad error handling in amfnd and not so strict error
handling in leap double linked list. avnd_comp_hc_rec_add() fails and calls to
unlink the rec from the list. Since the rec has never been added this just
decrements the n_nodes counter to -1. This check later fails as can be seen in
the assert.
---
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