- **status**: accepted --> review


---

** [tickets:#1761] Amf: Standby Amfd crash during SU delete**

**Status:** review
**Milestone:** 4.6.2
**Created:** Thu Apr 14, 2016 09:07 AM UTC by Nagendra Kumar
**Last Updated:** Thu Apr 14, 2016 09:07 AM UTC
**Owner:** Nagendra Kumar


Similar as https://sourceforge.net/p/opensaf/tickets/1683/

Steps to reproduce:
------------------
1. Start one controllers.
2. Upload the Amf demo configuration hosting two SUs on SC-1.
3. In Standby Amfd keep a sleep of 7 sec after confg read and before applier 
set as below:

+++ b/osaf/services/saf/amf/amfd/role.cc
@@ -219,6 +219,9 @@ uint32_t avd_standby_role_initialization
}
    cb->init_state = AVD_CFG_DONE;
    LOG_ER("1. Waiting ..........................");
    sleep(7);
    LOG_ER("2. Waiting ..........................");

    if (avd_imm_applier_set() != SA_AIS_OK) {
            LOG_ER("avd_imm_applier_set FAILED");

4. Start Standby controller. When Amfd comes up and waiting for 7 sec, delete 
Comp as below:
immcfg -d safComp=AmfDemo,safSu=SU1,safSg=AmfDemo_2N,safApp=AmfDemo1
5. When Amfd wakes up and become applier, delete SU:
immcfg -d safSu=SU1,safSg=AmfDemo_2N,safApp=AmfDemo1

Observed behaviour:
------------------
Standby Amfd crashes at su.cc:89: remove_from_model: Assertion 
'list_of_comp.empty() == true' failed.
Describe how the system behaved

Expected behaviour
------------------
Standby Amfd shouldn't crash.

Error messages
------------------
SC-2 osafamfd[9043]: su.cc:89: remove_from_model: Assertion 
'list_of_comp.empty() == true' 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.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to