- **Type**: defect --> enhancement


---

** [tickets:#188] Use of pkill terminates the CLC-SCRIPT with a signal making 
amf think the component termination failed.**

**Status:** unassigned
**Milestone:** future
**Created:** Tue May 14, 2013 07:41 AM UTC by Nagendra Kumar
**Last Updated:** Tue May 14, 2013 07:41 AM UTC
**Owner:** nobody

Migrated from http://devel.opensaf.org/ticket/2330

Scenario:
—————


In a restartable component make sure the component returns a error in any of 
the call backs. Amf will try terminating the component. In the termination 
script, if kill -9 <pid of comp> is used, the termination is being successful. 
Instead if pkill is used, the script is exiting with signal and amf is making 
the SU go in Termination-failed state.


Snippet from /var/log/messages:
————————————————


Cleanup of 
'safComp=pxyXAppSiorder1,safSu=SU_pxyXAppSiorder1,safSg=SG_pxyXAppSiorder,safApp=pxyXAppSiorderApp'
 failed


Nov 21 19:38:17 SLES11-SLOT-2 osafamfnd[5944]: Reason:'Exec of script success, 
but script exits due to a signal'
Nov 21 19:38:17 SLES11-SLOT-2 osafamfnd[5944]: Signal: 15, CLC CLI 
script:'/home/surender/amf/term_proxy.sh'
Nov 21 19:38:17 SLES11-SLOT-2 osafamfnd[5944]: 
'safSu=SU_pxyXAppSiorder1,safSg=SG_pxyXAppSiorder,safApp=pxyXAppSiorderApp' 
Presence State TERMINATING => TERMINATION_FAILED


Note : The component has not registered any signal or handlers.


changeset :3047



Changed 18 months ago by hafe ¶
  Wouldn't that be the case if the script and the program binary has the same 
name?


in reply to: ↑ 1   Changed 18 months ago by surenderk ¶
  Replying to hafe:


Wouldn't that be the case if the script and the program binary has the same 
name?


The program binary and the script has different name.





---

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.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to