changeset:   7079:b2e6e0149e88
tag:         tip
parent:      7069:aff3d7feb1ec
user:        Gary Lee <[email protected]>
date:        Mon Nov 02 11:42:09 2015 +0530
summary:     amfnd: check presence state before increasing restart count [#1577]

changeset:   7078:cc01ca4f2d7e
branch:      opensaf-4.7.x
parent:      7071:2e6617e3fc3b
user:        Gary Lee <[email protected]>
date:        Mon Nov 02 11:42:01 2015 +0530
summary:     amfnd: check presence state before increasing restart count [#1577]

changeset:   7077:195ca9a0b205
branch:      opensaf-4.6.x
parent:      7075:1cdf355b9348
user:        Gary Lee <[email protected]>
date:        Mon Nov 02 11:41:38 2015 +0530
summary:     amfnd: check presence state before increasing restart count [#1577]


---

** [tickets:#1577] amfnd: saAmfCompRestartCount is not correct**

**Status:** review
**Milestone:** 4.5.2
**Created:** Thu Oct 29, 2015 10:12 AM UTC by Gary Lee
**Last Updated:** Mon Nov 02, 2015 12:13 AM UTC
**Owner:** Gary Lee


Run amf_demo. Make sure probation timer is large.

killall amf_demo

Oct 29 21:09:12 SC-1 osafamfnd[482]: NO 
'safSu=SU4,safSg=AmfDemo,safApp=AmfDemo2' component restart probation timer 
started (timeout: 4000000000 ns)
Oct 29 21:09:12 SC-1 osafamfnd[482]: NO Restarting a component of 
'safSu=SU4,safSg=AmfDemo,safApp=AmfDemo2' (comp restart count: 1)
Oct 29 21:09:12 SC-1 osafamfnd[482]: NO 
'safComp=AmfDemo,safSu=SU4,safSg=AmfDemo,safApp=AmfDemo2' faulted due to 
'avaDown' : Recovery is 'componentRestart'

root@SC-1:~# immlist safComp=AmfDemo,safSu=SU4,safSg=AmfDemo,safApp=AmfDemo2

safComp                                            SA_STRING_T  safComp=AmfDemo 
saAmfCompType                                      SA_NAME_T    
safVersion=1,safCompType=AmfDemo2 (33) 
saAmfCompTerminateTimeout                          SA_TIME_T    <Empty>
saAmfCompTerminateCmdArgv                          SA_STRING_T  <Empty>
saAmfCompRestartCount                              SA_UINT32_T  2 (0x2)

saAmfCompRestartCount should be 1, not 2.


---

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