~~~
commit 8a0101f670badb5743af0ca9d49329ac8bbeb256 (HEAD -> develop, 
origin/develop)
Author: tai.h.nguyen <[email protected]>
Date:   Tue Apr 7 07:51:57 2026 +0000

    amfnd: Reuse cached config when immnd is unavailable [#3395]

    A component can fail to instantiate while immnd is unavailable.

    The refresh path did not preserve the original IMM error and could
    not distinguish between cases where reusing the old config is allowed
    and upgrade handling where the legacy component failure must be kept.

    Preserve the IMM error through the refresh helpers so the handler can
    reuse the last known config only when immnd is down, while keeping the
    legacy failure behavior during upgrade.
~~~


---

**[tickets:#3395] amf: Component failed instanttiation while immnd down**

**Status:** assigned
**Milestone:** 5.27.01
**Created:** Tue Mar 31, 2026 04:26 AM UTC by Nguyen Huynh Tai
**Last Updated:** Tue Mar 31, 2026 04:26 AM UTC
**Owner:** Nguyen Huynh Tai


During component instantiation, if immnd is down, the component cannot retrieve 
configuration from the IMM object, which leads to the state 
INSTANTIATION_FAILED.
Syslog of issue:
~~~
src/amf/amfnd/susm.cc:2144 TR Running the component CLC FSM 
src/amf/amfnd/clc.cc:777 >> avnd_comp_clc_fsm_run: Comp 
'safComp=A,safSu=1,safSg=2N,safApp=opensaf-test', Ev '1'
src/amf/amfnd/clc.cc:883 T1 
'safComp=A,safSu=1,safSg=2N,safApp=opensaf-test':Entering CLC FSM: presence 
state:'SA_AMF_PRESENCE_UNINSTANTIATED(1)', 
Event:'AVND_COMP_CLC_PRES_FSM_EV_INST'
src/amf/amfnd/clc.cc:1581 >> avnd_comp_clc_uninst_inst_hdler: 
'safComp=A,safSu=1,safSg=2N,safApp=opensaf-test' : Instantiate event in the 
Uninstantiated state
src/amf/amfnd/compdb.cc:1724 >> avnd_comp_config_reinit: 
'safComp=A,safSu=1,safSg=2N,safApp=opensaf-test'
src/amf/amfnd/compdb.cc:1737 T1 safComp=A,safSu=1,safSg=2N,safApp=opensaf-test
src/amf/amfnd/compdb.cc:850 >> avnd_comptype_create: 
'safVersion=R1A,safCompType=opensaf-test'
src/amf/amfnd/compdb.cc:860 ER amf_saImmOmAccessorGet_o2 FAILED for 
'safVersion=R1A,safCompType=opensaf-test'
src/amf/amfnd/compdb.cc:1323 ER comp_init: avnd_comptype_create FAILED for 
'safVersion=R1A,safCompType=opensaf-test'
src/amf/amfnd/hcdb.cc:199 >> avnd_hctype_config_get: 
'safVersion=R1A,safCompType=opensaf-test'
src/amf/amfnd/clc.cc:890 NO Component CLC fsm exited with error for 
comp:safComp=A,safSu=1,safSg=2N,safApp=opensaf-test
src/amf/amfnd/su.cc:742 NO 'safSu=1,safSg=2N,safApp=opensaf-test' Presence 
State UNINSTANTIATED => INSTANTIATION_FAILED
~~~


---

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