---

** [tickets:#2660] amf: Start pg track while headless cause msg id out of 
order**

**Status:** unassigned
**Milestone:** 5.17.10
**Created:** Mon Oct 30, 2017 04:54 AM UTC by Minh Hon Chau
**Last Updated:** Mon Oct 30, 2017 04:54 AM UTC
**Owner:** nobody


Step to reproduce:
- Load 2N app which's SUs are hosted on PL4 and PL5
- Unlock-in/Unlock SU4, SU5
- Lock SU4, delay csi callback of component of SU4
- Stop both SC
- Release csi callback for component of SU4
 - Stop PL3 (this is to extend the headless sync)
- Start both SC
- While headless sync, trigger component of SU4 to start pg track

Below is observation from syslog
2017-10-30 14:47:51.274 SC-1 osafamfd[260]: NO Received node_up from 2020f: 
msg_id 1
2017-10-30 14:47:51.396 SC-1 osafamfd[260]: NO Received node_up from 2040f: 
msg_id 1
2017-10-30 14:47:51.396 SC-1 osafamfd[260]: NO Received node_up from 2050f: 
msg_id 1
2017-10-30 14:47:51.719 SC-1 osafamfnd[275]: NO Assigning 
'safSi=NoRed2,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
2017-10-30 14:47:51.720 SC-1 osafamfnd[275]: NO Assigned 
'safSi=NoRed2,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
2017-10-30 14:47:51.728 SC-1 osafamfd[260]: ER avd_pg_trk_act_evh: invalid node 
state 0 for node id '132111'
2017-10-30 14:47:51.729 SC-1 osafamfnd[275]: NO Assigning 
'safSi=SC-2N,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=2N,safApp=OpenSAF'
2017-10-30 14:47:51.729 SC-1 osaffmd[186]: NO Stopped activation supervision 
due to new AMF state 1

2017-10-30 14:48:02.534 SC-1 osafamfd[260]: NO Cluster startup is done
2017-10-30 14:48:02.554 SC-1 osafamfd[260]: WA avd_msg_sanity_chk: invalid msg 
id 2, msg type 6, from 2040f should be 6

If pg track is sent during headless synced and being rejected, it will be 
resent in avnd_di_resend_pg_start_track(). However, this 
avnd_di_resend_pg_start_track() also increases the @snd_msg_id, thus the 
pg_start_track msg with msg_id=2 is still in the queue. When it's resent by 
avnd_diq_rec_send_buffered_msg(), it will cause msg out of order

Minor bug to be noted here also, msg_id is updated by wrong msg content:
avd_pg_trk_act_evh() {
...
  m_AVD_SET_AVND_RCV_ID(cb, node, (n2d_msg->msg_info.**n2d_reg_su**.msg_id));
...
}


---

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.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to