- **status**: assigned --> accepted


---

** [tickets:#1893] Amfd: unassigned alarms exists after recovery from headless**

**Status:** accepted
**Milestone:** 4.7.2
**Created:** Thu Jun 23, 2016 09:14 AM UTC by Nagendra Kumar
**Last Updated:** Thu Jun 23, 2016 09:14 AM UTC
**Owner:** Nagendra Kumar


Steps to reproduce
------------------
1. Starts both SCs and one payload.
2. Keep 4 sec sleep in avd_process_state_info_queue() at below location:
+               TRACE("1. sleep 4s in avd_process_state_info_queue");
+               sleep(4);
+               TRACE("2. sleep 4s in avd_process_state_info_queue");
+
        }
        TRACE("queue_size after processing: %lu", (unsigned long) 
cb->evt_queue.size());
        TRACE_LEAVE();
 }
3. Stop both the controller, compile amfd and replace the binary.
4. Start SC-1 followed by SC-2.
5. In first node_up message from SC-1, it is sending unassigned alarms from 
si->update_alarm_state(true); from avd_process_state_info_queue().
6. Amfd is resetting the unassigned alarms by calling 
si->update_alarm_state(false, false); from avd_process_state_info_queue() 
because of next node_up message from SC-1.
7. Duplicates node up messages from SC-1 Amfnd is comming because Amfd is 
sleeping for 4 sec and Amfd is sending node up messages at an interval of 1 
sec. So, Amfnd is sending 4 node up messages to Amfd.

Observed behaviour
------------------
The unassigned alarms sent by Amfd after headless resides even if all the SIs 
are assigned thereafter.

Expected behaviour
------------------
The unassigned alarms should be reset after SIs are assigned.




---

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.
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to