- Attachments has changed:
Diff:
~~~~
--- old
+++ new
@@ -1 +0,0 @@
-osafamfnd (524.7 kB; application/octet-stream)
~~~~
---
** [tickets:#1386] AMFND: Comp receives QUIESCED csi when it has not received
ACTIVE csi**
**Status:** fixed
**Milestone:** 4.5.2
**Created:** Fri Jun 12, 2015 03:26 AM UTC by Minh Hon Chau
**Last Updated:** Wed Jul 03, 2019 05:11 AM UTC
**Owner:** Minh Hon Chau
A brief description about the test:
During unlock nodegroup, a component raises
errorReport(SA_AMF_COMPONENT_FAILOVER)
- Assigning ACTIVE SI is ongoing but not completed, which means the other
components have not received csiSet yet.
- ErrorReport initiates component failover, amfnd receives QUIESCED su-si event
from amfd
- A part of avnd_comp_csi_assign() means that amfnd will not send QUIESCED csi
to component which's csi is not in ASSIGNED state.
- But in this test, amfnd does send QUIESCED csi to unassigned component
-----
Full traces are attached, just copy a trace snippet with some additional debugs
Jun 12 10:48:15.133971 osafamfnd [418:su.cc:0382] >>
avnd_evt_avd_info_su_si_assign_evh: 'safSu=1,safSg=1,safApp=abcdtest'
Jun 12 10:48:15.133975 osafamfnd [418:susm.cc:0183] >> avnd_su_siq_rec_buf:
'safSu=1,safSg=1,safApp=abcdtest'
Jun 12 10:48:15.133978 osafamfnd [418:susm.cc:0196] << avnd_su_siq_rec_buf
Jun 12 10:48:15.133980 osafamfnd [418:susm.cc:0311] >> avnd_su_si_msg_prc:
'safSu=1,safSg=1,safApp=abcdtest', act=5, ha_state=3, single_csi=0
Jun 12 10:48:15.133983 osafamfnd [418:sidb.cc:0580] >> avnd_su_si_all_modify:
Jun 12 10:48:15.133986 osafamfnd [418:sidb.cc:0585] TR DEBUG:
curr_si->prv_state:0
Jun 12 10:48:15.133992 osafamfnd [418:sidb.cc:0588] TR DEBUG:
curr_si->prv_state:1
Jun 12 10:48:15.133995 osafamfnd [418:sidb.cc:0630] >>
avnd_su_si_csi_all_modify: (nil)
Jun 12 10:48:15.133998 osafamfnd [418:sidb.cc:0686] <<
avnd_su_si_csi_all_modify
Jun 12 10:48:15.134000 osafamfnd [418:sidb.cc:0602] << avnd_su_si_all_modify
Jun 12 10:48:15.134002 osafamfnd [418:susm.cc:0637] >> avnd_su_si_assign:
'safSu=1,safSg=1,safApp=abcdtest' '(null)'
Jun 12 10:48:15.134005 osafamfnd [418:susm.cc:0458] >> assign_si_to_su:
'safSi=ABC,safApp=abcdtest' si-state'3' 'safSu=1,safSg=1,safApp=abcdtest'
single_csi=0
Jun 12 10:48:15.134019 osafamfnd [418:susm.cc:0460] NO Assigning
'safSi=ABC,safApp=abcdtest' QUIESCED to 'safSu=1,safSg=1,safApp=abcdtest'
Jun 12 10:48:15.134023 osafamfnd [418:comp.cc:0914] >> avnd_comp_csi_assign:
comp:'safComp=C,safSu=1,safSg=1,safApp=abcdtest'
Jun 12 10:48:15.134026 osafamfnd [418:comp.cc:0915] IN Assigning 'all CSIs'
QUIESCED to 'safComp=C,safSu=1,safSg=1,safApp=abcdtest'
Jun 12 10:48:15.134028 osafamfnd [418:comp.cc:0987] TR DEBUG:
curr_csi->comp_name:safComp=C,safSu=1,safSg=1,safApp=abcdtest
Jun 12 10:48:15.134030 osafamfnd [418:comp.cc:0988] TR DEBUG:
curr_csi->prv_assign_state:1
Jun 12 10:48:15.134033 osafamfnd [418:comp.cc:0989] TR DEBUG:
curr_csi->curr_assign_state:1
Jun 12 10:48:15.134035 osafamfnd [418:comp.cc:0990] TR DEBUG:
curr_csi->si->curr_assign_state:2
Jun 12 10:48:15.134037 osafamfnd [418:comp.cc:0991] TR DEBUG:
curr_csi->si->prv_assign_state:2
Jun 12 10:48:15.134039 osafamfnd [418:comp.cc:0997] TR DEBUG:
curr_csi->si->name:safSi=ABC,safApp=abcdtest
Jun 12 10:48:15.134042 osafamfnd [418:comp.cc:0998] TR DEBUG:
curr_csi->si->prv_state:1
Jun 12 10:48:15.134044 osafamfnd [418:comp.cc:0999] TR DEBUG:
curr_csi->si->curr_state:3
Jun 12 10:48:15.134046 osafamfnd [418:comp.cc:1892] >> avnd_comp_cbk_send:
'safComp=C,safSu=1,safSg=1,safApp=abcdtest' 3
------
This problem should also happen in normal su unlock within component failover
trigger
---
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