Also, i just realised that there is a headless cluster related scenario 
involved in the background of this ticket. That makes it very difficult to 
reproduce the issue by myself too.!


---

** [tickets:#1605] smfd: campaign not correctly terminated after failed SI-SWAP 
**

**Status:** accepted
**Milestone:** 4.6.2
**Created:** Thu Nov 19, 2015 12:26 PM UTC by Ingvar Bergström
**Last Updated:** Wed Jan 13, 2016 06:03 AM UTC
**Owner:** Mathi Naickan


Scenario: 
1)smfd order a SI-SWAP to continue the campaign execution on the other 
controller.
2)before swap is executed, an imm object "SmfRestartIndicator" is created to 
signal to the smf on the new controller the campaign restart was initiated by 
smf (spontaneus restarts will always fail the campaign in executing state).
3)When the new controller comes up smf will check the existence of the object. 
If present OK if not fail. If OK the "SmfRestartIndicator" object is removed.
In this case the new controller fail to start very early, before smf was 
started. Smf never have a chance to remove the object.
5)AMF order a switchback to the first controller.
6)Smf start up on the "old" controller once again. Since the 
"SmfRestartIndicator" is still there, smf think the restart was ordered by smf 
and try to continue campaign execution which fail (the wrong way e.g. core dump)

Todo: find a mechanism which make smf to detect the "SmfRestartIndicator" is 
the old one and treat this case as it does not exist. Make sure the new 
solution is backward compatible.

The campaign continues at:
file: SmfUpgradeCampaign.cc, method:SmfUpgradeCampaign::continueExec()

The restart indicator is handeled in:
file: SmfUpgradeCampaign.cc, 
method:SmfUpgradeCampaign::checkSmfRestartIndicator()




---

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.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to