The issue looks identical to the problem reported in #1588: Erroneous component 
stucks in Instantiate/Cleanup script forever by admin su restart 


---

** [tickets:#1653] AMF: Component keeps restarting during admin RESTART SU**

**Status:** unassigned
**Milestone:** 4.6.2
**Created:** Tue Dec 29, 2015 12:01 PM UTC by Quyen Dao
**Last Updated:** Tue Dec 29, 2015 12:01 PM UTC
**Owner:** nobody


Component keeps restarting during admin RESTART SU if it fails to instantiate.

changeset: 7198:835719950bcb

**Steps to reproduce**
1. Load AppConfig-2N.xml
2. Unlock-in safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
3. Change the amf_demo_script to always exit(1) for instantiate command
4. admin restart safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
Results: amfnd keeps restarting component....

**syslog**
2015-12-29 18:44:50 SC-1 osafamfnd[501]: NO 
'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' Presence State UNINSTANTIATED => 
INSTANTIATING
2015-12-29 18:44:50 SC-1 amf_demo[784]: 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' started
2015-12-29 18:44:50 SC-1 osafamfnd[501]: NO 
'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATING => 
INSTANTIATED
2015-12-29 18:44:50 SC-1 amf_demo[784]: Registered with AMF and HC started
2015-12-29 18:44:50 SC-1 amf_demo[784]: Health check 1
2015-12-29 18:45:00 SC-1 amf_demo[784]: Health check 2
2015-12-29 18:45:10 SC-1 amf_demo[784]: Health check 3
2015-12-29 18:45:20 SC-1 amf_demo[784]: Health check 4
2015-12-29 18:45:30 SC-1 amf_demo[784]: Health check 5
2015-12-29 18:45:40 SC-1 amf_demo[784]: Health check 6
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Admin Restart request for 
'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO 
'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' Presence State INSTANTIATED => 
RESTARTING
2015-12-29 18:45:43 SC-1 amf_demo[784]: Terminating
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Instantiation of 
'safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1' failed
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Reason:'Exec of script success, but 
script exits with non-zero status'
2015-12-29 18:45:43 SC-1 osafamfnd[501]: NO Exit code: 1
...


---

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

Reply via email to