- **status**: review --> fixed
- **Comment**:

changeset:   6953:29c8dd3b7608
tag:         tip
parent:      6950:592a8a586c96
user:        [email protected]
date:        Wed Sep 30 10:43:44 2015 +0530
summary:     amfd: fix comp term_failed state alarm [#1473]

changeset:   6952:a1626e6464f1
branch:      opensaf-4.6.x
parent:      6949:98d5f79c002e
user:        [email protected]
date:        Wed Sep 30 10:43:17 2015 +0530
summary:     amfd: fix comp term_failed state alarm [#1473]

changeset:   6951:5fd74d9fa974
branch:      opensaf-4.5.x
parent:      6948:eeb53120b0fd
user:        [email protected]
date:        Wed Sep 30 10:42:55 2015 +0530
summary:     amfd: fix comp term_failed state alarm [#1473]


https://sourceforge.net/p/opensaf/mailman/message/34468055/



---

** [tickets:#1473] AMF: Component Termination Failed alarm is raised then 
cleared immediately**

**Status:** fixed
**Milestone:** 4.5.2
**Created:** Thu Sep 10, 2015 09:52 AM UTC by Quyen Dao
**Last Updated:** Thu Sep 17, 2015 01:36 PM UTC
**Owner:** Praveen
**Attachments:**

- 
[osafamfd](https://sourceforge.net/p/opensaf/tickets/1473/attachment/osafamfd) 
(161.3 kB; application/octet-stream)
- 
[AppConfig-2N.xml](https://sourceforge.net/p/opensaf/tickets/1473/attachment/AppConfig-2N.xml)
 (9.3 kB; text/xml)


Steps to reproduce:
* Load the attached model
* Change the clc-cli script of the component to always return 1 for cleanup
* Kill the component

Result: Component Termination Failed alarm is raised then cleared immediately 
and presence state of the failed component is UNINSTANTIATED instead 
TERMINATION-FAILED.


Log
----

root@PL-3:~# ntfread
===  Sep 10 15:51:42 - Alarm  ===
eventType = SA_NTF_ALARM_PROCESSING
notificationObject = "safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.3 (0x3)
additionalText = "Cleanup of Component 
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1 failed"
- additionalInfo: 0 -
 infoId = 1
 infoType = 10
 infoValue = "safAmfNode=PL-3,safAmfCluster=myAmfCluster"
probableCause = SA_NTF_SOFTWARE_ERROR
perceivedSeverity = SA_NTF_SEVERITY_MAJOR

===  Sep 10 15:51:42 - Alarm  ===
eventType = SA_NTF_ALARM_PROCESSING
notificationObject = "safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1"
notifyingObject = "safApp=safAmfService"
notificationClassId = SA_NTF_VENDOR_ID_SAF.SA_SVC_AMF.3 (0x3)
additionalText = "Previous raised alarm of 
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1 is now cleared"
probableCause = SA_NTF_SOFTWARE_ERROR
perceivedSeverity = SA_NTF_SEVERITY_CLEARED

root@PL-3:~# amf-state su all safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
        saAmfSUAdminState=UNLOCKED(1)
        saAmfSUOperState=DISABLED(2)
        saAmfSUPresenceState=TERMINATION-FAILED(7)
        saAmfSUReadinessState=OUT-OF-SERVICE(1)
root@PL-3:~#
root@PL-3:~# amf-state comp all 
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
safComp=AmfDemo,safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
        saAmfCompOperState=DISABLED(2)
        saAmfCompPresenceState=UNINSTANTIATED(1)
        saAmfCompReadinessState=OUT-OF-SERVICE(1)
root@PL-3:~#


---

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