- **status**: review --> fixed
- **Comment**:

commit a041a62e8a01c7ea4fb2eccc967120e48fee3844 (HEAD -> develop, 
origin/develop, ticket-3176)
Author: thang.d.nguyen <[email protected]>
Date:   Wed Apr 8 19:46:13 2020 +0700

    amfnd: correct checking su assignement pending flag [#3176]

    Su-si assigment flag only is set when amfnd receives request from amfd.
    In SU restart escalation, the re-assignment is handled by amfnd internally.
    And this flag is not set in this situation. When SU is in assigning after
    SU restart due to escalation. The component failed and amfnd escalate it
    to component failover. The Amfnd will try to mark su-si as assigned
    temporaryly to remove assignment later. But amfnd crashes due to fail to
    check su-si assignment flag.

    In su-si assignment/removal response to AvD, the pending flag is only
    checked if su_oper_state is enable.




---

** [tickets:#3176] amf: amfnd crashes during component failover**

**Status:** fixed
**Milestone:** 5.20.05
**Created:** Tue Apr 07, 2020 07:48 AM UTC by Thang Duc Nguyen
**Last Updated:** Thu Apr 09, 2020 01:49 AM UTC
**Owner:** Thang Duc Nguyen


~~~
2020-04-07T17:41:48.309+10:00 SC-2-1 osafamfnd[12318]: NO 
'safComp=ma_comp_1,safSu=ma_su_1,safSg=ma_sg,safApp=ma_app' faulted due to 
'avaDown' : Recovery is 'componentFailover'
2020-04-07T17:41:48.309+10:00 SC-2-1 osafamfnd[12318]: NO 
'safSu=ma_su_1,safSg=ma_sg,safApp=ma_app' Presence State INSTANTIATED => 
TERMINATING
2020-04-07T17:41:48.328+10:00 SC-2-1 ma_comp_1: ===== cleanup command for 
safComp=ma_comp_1,safSu=ma_su_1,safSg=ma_sg,safApp=ma_app =====
2020-04-07T17:41:48.335+10:00 SC-2-1 osafamfnd[12318]: NO Assigned 
'safSi=ma_si,safApp=ma_app' ACTIVE to 'safSu=ma_su_1,safSg=ma_sg,safApp=ma_app'
2020-04-07T17:41:48.336+10:00 SC-2-1 osafamfnd[12318]: src/amf/amfnd/di.cc:886: 
avnd_di_susi_resp_send: Assertion 'm_AVND_SU_IS_ASSIGN_PEND(su)' 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