Detecting wrong configured nodes is not Amf job. This need to be taken care at
Cluster management levels.
---
** [tickets:#328] amf: amfd crashed on standby controller when two payloads are
brought up with same slot id.**
**Status:** unassigned
**Labels:** 4.2.0
**Created:** Fri May 24, 2013 09:43 AM UTC by Praveen
**Last Updated:** Fri May 24, 2013 09:43 AM UTC
**Owner:** nobody
Migrated from http://devel.opensaf.org/ticket/2262.
Two payloads are brought up with amf slot id,Both of them came up,but amfnd on
standby controller crashed with following bt
gdb) bt full
0 0x00007fd5c29c2e6d in search (pTree=0x6b79e0, key=0x6f63d8 "") at
patricia.c:94
pNode = (NCS_PATRICIA_NODE *) 0x0
pPrevNode = (NCS_PATRICIA_NODE *) 0x6f6290
1 0x00007fd5c29c30e9 in ncs_patricia_tree_add (pTree=0x6b79e0, pNode=0x6f6290)
at patricia.c:259
pSrch = (NCS_PATRICIA_NODE *) 0x7fffcae48bb0
pTmpNode = (NCS_PATRICIA_NODE *) 0x433bff
pPrevNode = (NCS_PATRICIA_NODE *) 0x7fffcae48bdc
bit = 132096
2 0x00000000004337d9 in avd_node_add_nodeid (node=0x6f6290) at avd_node.c:42
rc = 132096
PRETTY_FUNCTION = "avd_node_add_nodeid"
3 0x000000000041a0a3 in avd_ckpt_node (cb=0x6b6b40, ckpt_node=0x7fffcae48c80,
action=NCS_MBCSV_ACT_UPDATE) at avd_ckpt_updt.c:71
rc = 1
node = (AVD_AVND *) 0x6f6290
FUNCTION = "avd_ckpt_node"
PRETTY_FUNCTION = "avd_ckpt_node"
4 0x000000000040d2e5 in avsv_decode_ckpt_avd_node_config (cb=0x6b6b40,
dec=0x718798) at avd_ckpt_dec.c:325
status = 1
avnd_ptr = (AVD_AVND *) 0x7fffcae48c80
dec_avnd = {tree_node_id_node = {bit = 0, left = 0x0, right = 0x0, key_info =
0x0}, tree_node_name_node = {bit = 0, left = 0x0, right = 0x0,
key_info = 0x0}, name = {length = 42, value =
"safAmfNode=PL-4,safAmfCluster=myAmfCluster", '\0' <repeats 213 times>},
node_info = {nodeId = 132096,
nodeAddress = {family = SA_CLM_AF_INET, length = 0,
value = '\0' <repeats 14 times>, "\n", '\0' <repeats 15 times>, "!\000��", '\0'
<repeats 29 times>}, nodeName = {length = 0,
value = '\0' <repeats 255 times>}, executionEnvironment = {length = 0, value =
'\0' <repeats 255 times>}, member = SA_TRUE,
bootTimestamp = 1319266319000000000, initialViewNumber = 9}, adest = 0,
saAmfNodeClmNode = {length = 0, value = '\0' <repeats 255 times>},
saAmfNodeCapacity = 0x0, saAmfNodeSuFailOverProb = 0, saAmfNodeSuFailoverMax =
0, saAmfNodeAutoRepair = SA_FALSE,
saAmfNodeFailfastOnTerminationFailure = SA_FALSE,
saAmfNodeFailfastOnInstantiationFailure = SA_FALSE, saAmfNodeAdminState =
SA_AMF_ADMIN_UNLOCKED,
saAmfNodeOperState = SA_AMF_OPERATIONAL_DISABLED, admin_node_pend_cbk =
{admin_oper = 0, invocation = 0}, su_cnt_admin_oper = 0,
node_state = AVD_AVND_STATE_ABSENT, list_of_ncs_su = 0x0, list_of_su = 0x0,
pg_csi_list = {order = 0, start_ptr = 0x0, end_ptr = 0x0, cmp_cookie = 0,
free_cookie = 0, n_nodes = 0}, type = AVSV_AVND_CARD_PAYLOAD, rcv_msg_id = 0,
snd_msg_id = 0, cluster_list_node_next = 0x0, cluster = 0x0,
clm_pend_inv = 0, clm_change_start_preceded = false, recvr_fail_sw = false}
ederror = 4294901760
FUNCTION = "avsv_decode_ckpt_avd_node_config"
PRETTY_FUNCTION = "avsv_decode_ckpt_avd_node_config"
5 0x000000000040cc56 in avsv_dequeue_async_update_msgs (cb=0x6b6b40,
pr_or_fr=true) at avd_chkop.c:1214
status = 1
updt_msg = (AVSV_ASYNC_UPDT_MSG_QUEUE *) 0x718790
FUNCTION = "avsv_dequeue_async_update_msgs"
6 0x000000000040b817 in avsv_mbcsv_process_dec_cb (cb=0x6b6b40,
arg=0x7fffcae492d0) at avd_chkop.c:327
status = 1
FUNCTION = "avsv_mbcsv_process_dec_cb"
7 0x000000000040b48a in avsv_mbcsv_cb (arg=0x7fffcae492d0) at avd_chkop.c:169
status = 32725
8 0x00007fd5c29dba35 in ncs_mbscv_rcv_decode (peer=0x6fb320, evt=0x6f1220) at
mbcsv_act.c:393
parg = {i_op = NCS_MBCSV_CBOP_DEC, i_client_hdl = 0, i_ckpt_hdl = 4292870177,
info = {encode = {io_msg_type = NCS_MBCSV_MSG_ASYNC_UPDATE,
io_action = NCS_MBCSV_ACT_UPDATE, io_reo_type = 48, io_reo_hdl = 0, io_uba =
{start = 0x0, ub = 0x0,
bufp = 0x1400000000 <Address 0x1400000000 out of bounds>, res = 20, ttl = 0,
max = 7130592}, io_req_context = 7077892, i_peer_version = 37760},
decode = {i_msg_type = NCS_MBCSV_MSG_ASYNC_UPDATE, i_action =
NCS_MBCSV_ACT_UPDATE, i_reo_type = 48, i_uba = {start = 0x0, ub = 0x0, bufp =
0x0,
res = 0, ttl = 20, max = 20}, o_req_context = 7130592, i_peer_version = 4},
peer = {i_service = NCS_SERVICE_ID_LEAP_TMR, i_peer_version = 3},
notify = {i_uba = {start = 0x300000001, ub = 0x30, bufp = 0x0, res = 0, ttl =
0, max = 0}, i_peer_version = 0, i_msg = 0x14}, error = {
i_code = NCS_MBCSV_WARM_SYNC_TMR_EXP, i_err = 3, i_arg = 0x30, i_peer_version =
0}}}
status = 2
mbc_inst = (MBCSV_REG *) 0x6ccd00
FUNCTION = "ncs_mbscv_rcv_decode"
9 0x00007fd5c29dbbfd in ncs_mbcsv_rcv_async_update (peer=0x6fb320,
evt=0x6f1220) at mbcsv_act.c:440
—Type <return> to continue, or q <return> to quit—
FUNCTION = "ncs_mbcsv_rcv_async_update"
10 0x00007fd5c29e3d91 in mbcsv_process_events (rcvd_evt=0x6f1220,
mbcsv_hdl=4293918753) at mbcsv_pr_evts.c:168
rc = 1
mbc_reg = (MBCSV_REG *) 0x6ccd00
peer = (PEER_INST *) 0x6fb320
ckpt = (CKPT_INST *) 0x6dd6f0
hdl_to_give = 4291821601
FUNCTION = "mbcsv_process_events"
11 0x00007fd5c29e3fc7 in mbcsv_hdl_dispatch_all (mbcsv_hdl=4293918753,
mbx=4288675841) at mbcsv_pr_evts.c:272
rcvd_evt = (MBCSV_EVT *) 0x6f1220
rc = 1
FUNCTION = "mbcsv_hdl_dispatch_all"
12 0x00007fd5c29dd6c9 in mbcsv_process_dispatch_request (arg=0x7fffcae494a0) at
mbcsv_api.c:423
mbc_reg = (MBCSV_REG *) 0x6ccd00
rc = SA_AIS_OK
mail_box = 4288675841
FUNCTION = "mbcsv_process_dispatch_request"
13 0x00007fd5c29dd035 in ncs_mbcsv_svc (arg=0x7fffcae494a0) at mbcsv_api.c:162
No locals.
#14 0x000000000040c40d in avsv_mbcsv_dispatch (cb=0x6b6b40, flag=2) at
avd_chkop.c:828
mbcsv_arg = {i_op = NCS_MBCSV_OP_DISPATCH, i_mbcsv_hdl = 4293918753, info =
{initialize = {i_mbcsv_cb = 0x2, i_version = 0,
i_service = NCS_SERVICE_ID_BASE, o_mbcsv_hdl = 0}, sel_obj_get = {o_select_obj
= 2}, dispatch = {i_disp_flags = SA_DISPATCH_ALL}, finalize = {
i_dummy = 2}, open = {i_pwe_hdl = 2, i_client_hdl = 0, o_ckpt_hdl = 0}, close
= {i_ckpt_hdl = 2}, chg_role = {i_ckpt_hdl = 2, i_ha_state = 0},
send_ckpt = {i_ckpt_hdl = 2, i_send_type = NCS_MBCSV_SND_SYNC, i_reo_type = 0,
i_reo_hdl = 0, i_action = NCS_MBCSV_ACT_DONT_CARE, io_no_peer = false},
send_notify = {i_ckpt_hdl = 2, i_msg_dest = NCS_MBCSV_ACTIVE, i_msg = 0x0},
send_data_req = {i_ckpt_hdl = 2, i_uba = {start = 0x0, ub = 0x0,
bufp = 0x0, res = 0, ttl = 0, max = 0}}, obj_set = {i_ckpt_hdl = 2, i_obj =
NCS_MBCSV_OBJ_WARM_SYNC_ON_OFF, i_val = 0}, obj_get = {i_ckpt_hdl = 2,
i_obj = NCS_MBCSV_OBJ_WARM_SYNC_ON_OFF, o_val = 0}}}
rc = 32767
15 0x0000000000439aff in avd_main_proc () at avd_proc.c:569
pollretval = 1
cb = (AVD_CL_CB *) 0x6b6b40
evt = (AVD_EVT *) 0x75fd40
mbx_fd = {raise_obj = 11, rmv_obj = 12}
error = SA_AIS_OK
polltmo = -1
PRETTY_FUNCTION = "avd_main_proc"
16 0x0000000000408aac in main (argc=2, argv=0x7fffcae49638) at amfd_main.c:47
error = 0
ee_id = 0x0
node_id = 0
(gdb)
---
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.
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets