- **Comment**:

changeset:   6688:b7d1c951081f
branch:      opensaf-4.5.x
parent:      6685:cbd2b74ec3e3
user:        Nagendra Kumar<[email protected]>
date:        Fri Jul 24 15:21:34 2015 +0530
summary:     amfnd: delete the hc rec memory in error case [#1115]

changeset:   6689:9b9fa4c0fe57
branch:      opensaf-4.6.x
parent:      6686:0ee16330fe07
user:        Nagendra Kumar<[email protected]>
date:        Fri Jul 24 15:21:55 2015 +0530
summary:     amfnd: delete the hc rec memory in error case [#1115]

changeset:   6690:d5c0e3088161
tag:         tip
parent:      6687:3005fa42ddcb
user:        Nagendra Kumar<[email protected]>
date:        Fri Jul 24 15:22:06 2015 +0530
summary:     amfnd: delete the hc rec memory in error case [#1115]

[staging:b7d1c9]
[staging:9b9fa4]
[staging:d5c0e3]




---

** [tickets:#1115] AMF: osafamfnd fails: Assertion 'comp->hc_list.n_nodes == 0' 
failed**

**Status:** review
**Milestone:** 4.5.2
**Created:** Fri Sep 19, 2014 06:56 AM UTC by Hans Feldt
**Last Updated:** Mon Jul 06, 2015 07:04 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

Reply via email to