- **Milestone**: future --> never
---
** [tickets:#384] AMF should not take care of the recovery action during
cleanup phase**
**Status:** not-reproducible
**Milestone:** never
**Created:** Fri May 31, 2013 04:19 AM UTC by Nagendra Kumar
**Last Updated:** Thu Nov 13, 2014 09:56 AM UTC
**Owner:** Nagendra Kumar
Migrated from http://devel.opensaf.org/ticket/2404
Changeset: 3102
Configuration: 2N SG with 2 SUs each with 2 components and 1 SI with 2 CSIs
SUs are in LOCKED-INSTANTIATION state
Component's INSTANTIATE CLC-CLI script has the exit status of 20
The attribute saAmfCompNumMaxInstantiateWithoutDelay is set to 10.
Component's CLEANTUP CLC-CLI script exits with zero status and does a kill on
the components pid.
Admin unlock-in operation is performed on the SU.
As the component's instantiation fails, AMF goes for the retries.
During the retires it is found that when the cleanup script of the component
kills the pid, AMF takes it as avaDown and goes for componentRestart recovery.
The following is the syslog output which shows the scenario occuring twice
during the retry attempts:
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]:
'safSu=testSu1,safSg=testSg,safApp=testApp' Presence State UNINSTANTIATED =>
INSTANTIATING
CLC-CLI instantiate has been spawned for
safComp=testComp1,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:12 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp1,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:12 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:12 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:12 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:12 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:12 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]:
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' faulted due to
'avaDown(8)' : Recovery is 'componentRestart(2)'
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]:
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' faulted due to
'avaDown(8)' : Recovery is 'componentRestart(2)'
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
CLC-CLI instantiate has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 logger: SPAWNING
/opt/goahead/tetware/opensaffire/suites/avsv/common/saAmfComponent.py
instantiate >>
/amftresult//amf_demo_safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp.log
&
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Instantiation of
'safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp' failed
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Reason:'Exec of script success,
but script exits with non-zero status'
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]: Exit code: 20
CLC-CLI cleanup has been spawned for
safComp=testComp2,safSu=testSu1,safSg=testSg,safApp=testApp
Dec 5 20:14:13 SLES11-SLOT-2 osafamfnd[2911]:
'safSu=testSu1,safSg=testSg,safApp=testApp' Presence State INSTANTIATING =>
INSTANTIATION_FAILED
---
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