- **status**: unassigned --> invalid
- **Type**: enhancement --> defect
- **Milestone**: future --> never
- **Comment**:
This is related to user's script and user has a choice to use killall or
killproc. Closing it as invalid.
---
** [tickets:#188] Use of pkill terminates the CLC-SCRIPT with a signal making
amf think the component termination failed.**
**Status:** invalid
**Milestone:** never
**Created:** Tue May 14, 2013 07:41 AM UTC by Nagendra Kumar
**Last Updated:** Wed Jul 15, 2015 06:44 PM 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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets