Attached is the configuration to reproduce the issue.
Steps to reproduce:
1)Bring SC-1 with attached imm.xml
2)After cluster time expiry, AMF will start two NPI components as part of 
assignment.
3) Make some delay between instantiation of two NPI components script.
4) Restart the already instantiated NPI component such that its restart will 
complete after instantiation of second NPI component.


Attachments:

- 
[imm.xml](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/2f504cc3/62c0/attachment/imm.xml)
 (328.6 kB; text/xml)


---

** [tickets:#2485] amfnd: missing susi response if component is restarted**

**Status:** accepted
**Milestone:** 5.17.06
**Created:** Wed Jun 07, 2017 12:57 AM UTC by Gary Lee
**Last Updated:** Fri Jun 09, 2017 01:07 AM UTC
**Owner:** Praveen


An SI contains multiple CSIs. If a restart component admin operation arrives at 
amfnd before all CSIs are assigned,
the SUSI response is not sent to AMFD.

This code in avnd_comp_csi_assign_done() appears to be the problem area.

  /* while restarting, we wont use assign all, so csi will not be null */
  if (csi && m_AVND_COMP_CSI_CURR_ASSIGN_STATE_IS_RESTARTING(csi)) {
    m_AVND_COMP_CSI_CURR_ASSIGN_STATE_SET(csi,
                                          AVND_COMP_CSI_ASSIGN_STATE_ASSIGNED);
    goto done;
  }

Perhaps we should not initiate a restart in avnd_evt_comp_admin_op_req(), if
a component is still in AVND_COMP_CSI_ASSIGN_STATE_ASSIGNING state.


---

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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to