- **status**: assigned --> accepted
---
** [tickets:#2098] amfnd: amfnd doesn't exit at opensafd stop**
**Status:** accepted
**Milestone:** 5.0.2
**Created:** Thu Oct 06, 2016 09:02 AM UTC by Hans Nordebäck
**Last Updated:** Wed Oct 12, 2016 04:29 AM UTC
**Owner:** Praveen
amfnd doesn't exit at opensafd stop. This problem can be reproduced in UML
using the AmfDemo application, nwayactive:
1) Change the AppConfig-nwayactive.xml file to:
<attr>
<name>saAmfCtCompCategory</name>
<value>8</value>
</attr>
2) Do the following changes to the amf_demo_script to:
start()
{
return 0
}
build_uml install_testprog
opensaf start
3) unlock-in, unlock all 5 amf demo SUs
4) At PL-3 modify /opt/amf_demo_script :
stop()
{
while true
do
sleep 2
done
}
run /etc/init.d/opensafd stop and the following problem occurs:
Oct 6 10:45:37 PL-3 local0.notice osafamfnd[423]: NO Reason:'Script did not
exit within time'
Oct 6 10:45:37 PL-3 local0.warn osafamfnd[423]: WA
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo2' Presence State
TERMINATING => TERMINATION_FAILED
Oct 6 10:45:37 PL-3 local0.notice osafamfnd[423]: NO
'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo2' Presence State TERMINATING =>
TERMINATION_FAILED
Oct 6 10:46:18 PL-3 user.notice opensafd: amfnd has not yet exited, killing it
forcibly.
Oct 6 10:46:18 PL-3 local0.alert osafclmna[414]: AL AMF Node Director is down,
terminate this process
Oct 6 10:46:18 PL-3 local0.crit osafamfwd[489]: Rebooting OpenSAF NodeId = 0
EE Name = No EE Mapped, Reason: AMF unexpectedly crashed, OwnNodeId = 131855,
SupervisionTime = 60
Oct 6 10:46:18 PL-3 user.notice opensaf_reboot: Rebooting local node;
timeout=60
O
---
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