---
** [tickets:#2960] amfd: Instantiated SU remains OUT_OF_SERVICE after the node
completes to join the cluster**
**Status:** assigned
**Milestone:** 5.18.12
**Created:** Mon Nov 12, 2018 10:21 AM UTC by Minh Hon Chau
**Last Updated:** Mon Nov 12, 2018 10:21 AM UTC
**Owner:** Minh Hon Chau
This problem is similar to #2916, in which the admin unlock-in/unlock SU are
initiated before cluster startup finishes. The difference is that, after the
cluster startup finishes, the node completes to join the cluster, the Opensaf
SUs are assigned, AMF walks through all SGs in avd_sg_app_node_su_inst_func()
to pick up the uninstantiated SU to start instantiation. In this case, because
the SU is instantiated, so AMF skips this SU avd_sg_app_node_su_inst_func().
Some outlined logs,
<143>1 2018-10-24T23:39:16.642207+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="54490"] 10728:amf/amfd/su.cc:935 >> unlock:
'safSu=SC-2,safSg=NWA,safApp=ABC-DEF-Amfproxy'
<143>1 2018-10-24T23:39:16.642223+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="54491"] 10728:amf/amfd/su.cc:918 >> set_admin_state:
'safSu=SC-2,safSg=NWA,safApp=ABC-DEF-Amfproxy' LOCKED => UNLOCKED
<143>1 2018-10-24T23:39:23.771978+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="56132"] 10728:amf/amfd/cluster.cc:55 >> avd_cluster_tmr_init_evh
<143>1 2018-10-24T23:39:23.833418+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="57914"] 10728:amf/amfd/sg_nwayact_fsm.cc:1316 >> realign:
'safSg=NWA,safApp=ABC-DEF-Amfproxy'
<143>1 2018-10-24T23:39:23.833566+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="57920"] 10728:amf/amfd/sgproc.cc:111 >> avd_new_assgn_susi:
'safSu=SC-1,safSg=NWA,safApp=ABC-DEF-Amfproxy'
'safSi=xyz.main-NWA-1,safApp=ABC-DEF-Amfproxy' state=1
<143>1 2018-10-24T23:39:25.459023+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="66073"] 10728:amf/amfd/ndfsm.cc:622 >> avd_nd_ncs_su_assigned
<143>1 2018-10-24T23:39:25.459034+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="66074"] 10728:amf/amfd/node.cc:461 >> avd_node_state_set:
'safAmfNode=SC-2,safAmfCluster=myAmfCluster' NCS_INIT => PRESENT
<143>1 2018-10-24T23:39:25.493787+02:00 SC-1 osafamfd 10728 osafamfd [meta
sequenceId="67179"] 10728:amf/amfd/sgproc.cc:1806 >>
avd_sg_app_node_su_inst_func: 'safAmfNode=SC-2,safAmfCluster=myAmfCluster'
---
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.
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets