- Description has changed:
Diff:
~~~~
--- old
+++ new
@@ -1,7 +1,7 @@
Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm
not available during component restart.
**Step reproduce by using amf_demo:**
-1. Disable SC absence
+1. Enable SC absence
2. Change configuration of the component
`immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4"
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
3. Make the imm unavailable during component restart
~~~~
---
**[tickets:#3344] amf: component can not recovery while imm unavailable**
**Status:** accepted
**Milestone:** 5.24.02
**Created:** Fri Dec 22, 2023 03:36 AM UTC by Thien Minh Huynh
**Last Updated:** Fri Dec 22, 2023 07:08 AM UTC
**Owner:** Thien Minh Huynh
Comp state will be hang on saAmfCompPresenceState=RESTARTING(5) forever if imm
not available during component restart.
**Step reproduce by using amf_demo:**
1. Enable SC absence
2. Change configuration of the component
`immcfg -a saAmfCompCmdEnv+="AMF_DEMO_VAR4=COMP2_VALUE4"
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1`
3. Make the imm unavailable during component restart
- add `sleep 1` into at the end stop function amf_demo_script
- add `sleep 2` into at the end stop function osaf-immnd
- make amf_demo comp recovery `pkill -9 amf_demo`
- make imm unavailable `pkill -9 osafimmnd`
4. `amf-state comp | grep -A 3 AmfDemo`
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
saAmfCompOperState=ENABLED(1)
saAmfCompPresenceState=RESTARTING(5)
saAmfCompReadinessState=OUT-OF-SERVICE(1)
syslog:
~~~
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' component restart probation timer
started (timeout: 4000000000 ns)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO Restarting a component of
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' (comp restart count: 1)
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' faulted due to
'avaDown' : Recovery is 'componentRestart'
2023-12-22 09:48:51.729 SC-2 osafamfnd[289]: NO
'safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATED =>
RESTARTING
...
2023-12-22 09:49:22.812 SC-2 osafamfnd[289]: CR saImmOmInitialize FAILED for
'safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1', error 6
2023-12-22 09:49:22.813 SC-2 osafamfnd[289]: NO Component CLC fsm exited with
error for comp:safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
~~~
---
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