- **Milestone**: future --> 4.2.4


---

** [tickets:#45] amfnd responds prematurely to nid**

**Status:** accepted
**Created:** Wed May 08, 2013 05:47 AM UTC by Hans Feldt
**Last Updated:** Sun Jun 02, 2013 04:45 PM UTC
**Owner:** Hans Feldt

Problems seems to have been introduced in the scap/pcap split (by me):

changeset:   842:57daaf68acd5
user:        Hans Feldt <[email protected]>
date:        Fri Feb 19 12:37:08 2010 +0100
summary:     avsv: split scap into amfd and amfnd (#755)

The nid_notify call in avnd_main_process() should be removed. The same call is 
properly done as intended by the original design in avnd_evt_avd_set_leds_evh().

This change likely solves the early HA startup problems. For example if immnd 
goes down when amfnd wants to use it. To be investigated.

Current startup (some added logs):

May  8 07:33:05 Vostro opensafd: Starting OpenSAF Services
May  8 07:33:10 Vostro osafamfnd[30748]: Started
May  8 07:33:10 Vostro opensafd[30656]: NO Services started successfully, 
exiting
May  8 07:33:10 Vostro opensafd: OpenSAF services successfully started
May  8 07:33:10 Vostro osafamfnd[30748]: NO 
'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' Presence State UNINSTANTIATED => 
INSTANTIATING
May  8 07:33:10 Vostro osafamfnd[30748]: NO 
'safSu=SC-1,safSg=2N,safApp=OpenSAF' Presence State UNINSTANTIATED => 
INSTANTIATING
May  8 07:33:10 Vostro osafamfnd[30748]: NO 
'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' Presence State INSTANTIATING => 
INSTANTIATED
May  8 07:33:10 Vostro osafamfnd[30748]: NO Assigning 
'safSi=NoRed2,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
May  8 07:33:10 Vostro osafamfnd[30748]: NO Assigned 
'safSi=NoRed2,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
May  8 07:33:10 Vostro osafamfnd[30748]: NO 
'safSu=SC-1,safSg=2N,safApp=OpenSAF' Presence State INSTANTIATING => 
INSTANTIATED
May  8 07:33:10 Vostro osafamfnd[30748]: NO Assigning 
'safSi=SC-2N,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=2N,safApp=OpenSAF'
May  8 07:33:10 Vostro osafamfnd[30748]: NO Assigned 
'safSi=SC-2N,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=2N,safApp=OpenSAF'
May  8 07:33:10 Vostro osafamfnd[30748]: NO notiying NID

Startup with removed nid_notify in avnd_main_process():

May  8 07:43:55 Vostro opensafd: Starting OpenSAF Services
May  8 07:44:00 Vostro osafamfnd[32555]: Started
May  8 07:44:01 Vostro osafamfnd[32555]: NO 
'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' Presence State UNINSTANTIATED => 
INSTANTIATING
May  8 07:44:01 Vostro osafamfnd[32555]: NO 
'safSu=SC-1,safSg=2N,safApp=OpenSAF' Presence State UNINSTANTIATED => 
INSTANTIATING
May  8 07:44:01 Vostro osafamfnd[32555]: NO 
'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' Presence State INSTANTIATING => 
INSTANTIATED
May  8 07:44:01 Vostro osafamfnd[32555]: NO Assigning 
'safSi=NoRed2,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
May  8 07:44:01 Vostro osafamfnd[32555]: NO Assigned 
'safSi=NoRed2,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
May  8 07:44:01 Vostro osafamfnd[32555]: NO 
'safSu=SC-1,safSg=2N,safApp=OpenSAF' Presence State INSTANTIATING => 
INSTANTIATED
May  8 07:44:01 Vostro osafamfnd[32555]: NO Assigning 
'safSi=SC-2N,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=2N,safApp=OpenSAF'
May  8 07:44:01 Vostro osafamfnd[32555]: NO Assigned 
'safSi=SC-2N,safApp=OpenSAF' ACTIVE to 'safSu=SC-1,safSg=2N,safApp=OpenSAF'
May  8 07:44:01 Vostro osafamfnd[32555]: NO notiying NID
May  8 07:44:01 Vostro opensafd[32464]: NO Services started successfully, 
exiting
May  8 07:44:01 Vostro opensafd: OpenSAF services successfully started



---

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.
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to