---

** [tickets:#3011] amf: comp stuck in RESTARTING presence state**

**Status:** assigned
**Milestone:** 5.19.03
**Created:** Mon Feb 25, 2019 02:41 AM UTC by Thuan
**Last Updated:** Mon Feb 25, 2019 02:41 AM UTC
**Owner:** Thuan


When a SU (has many comp) is instantatiating for SU restart recovery, some comp 
is instantiated then crash, AMF recovery them by restarting but AMF only 
cleanup without re-instantiation them because AMF see them is not eligible for 
instantiation.
~~~
   if (isRestartSet(comp->su)) {  // SU is restarting (RESTART admin op or
                                  // recovery policy).
     if (isFailed(comp->su)) {  // SU is failed (case surestart recovery).
       /*During surestart recovery, after cleanup of all components, amfnd 
starts
         instantiation of components. A component may fault at this stage. Such 
a
         component is eligible for instantiation.*/
                    if ((comp->pres == SA_AMF_PRESENCE_INSTANTIATING) &&
                               (comp->su->pres == 
SA_AMF_PRESENCE_INSTANTIATING))
         return true;

~~~
These comp is stuck in RESTATING presence state without further action from AMF.



---

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

Reply via email to