- **Type**: enhancement --> defect
---
** [tickets:#3286] smf: fails in robustness BISU upgrade**
**Status:** fixed
**Milestone:** 5.21.12
**Created:** Mon Sep 27, 2021 12:40 AM UTC by Thang Duc Nguyen
**Last Updated:** Thu Sep 30, 2021 11:51 PM UTC
**Owner:** Thang Duc Nguyen
When the campaign finishes, at the time of commit reboot active SC-1. The
standby SC-2 takes active roles and smfd starts procedure thread. Due to some
objects/entities was deleted when campaign do complete action. It caused the
init procedure thead failed and cause campaign failed
Error in syslog when standby SC-2 take active
~~~
2021-09-23T12:47:53.915+10:00 SC-2-2 osafsmfd[13034]: NO getValuesFromImmCopy
readExecControlObject(c_openSafSmfExecControl_copy) Fail
2021-09-23T12:47:53.921+10:00 SC-2-2 osafsmfd[13034]: NO
SmfProcedureThread::getImmProcedure, IMM data for procedure
safSmfProc=csmupgrade_proc_0,safSmfCampaign=ABC-Merged-2021_09_23-120305,safApp=safSmfService
not found
2021-09-23T12:47:54.837+10:00 SC-2-2 osafsmfd[13034]: NO
SmfProcedureThread::getImmProcedure, IMM data for procedure
safSmfProc=csmupgrade_proc_1,safSmfCampaign=ABC-Merged-2021_09_23-120305,safApp=safSmfService
not found
2021-09-23T12:47:55.372+10:00 SC-2-2 osafsmfd[13034]: NO
SmfProcedureThread::getImmProcedure, Using own IMM handle safSmfProc3
2021-09-23T12:47:55.517+10:00 SC-2-2 osafsmfd[13034]: NO
SmfUpgradeProcedure::addStepModificationsNode: A none existing version type
(safVersion=R1A01,safCompType=ABC) in <targetEntityTemplate>.
2021-09-23T12:47:55.518+10:00 SC-2-2 osafsmfd[13034]: NO
SmfUpgradeProcedure::addStepModifications: addStepModificationsNode failed
2021-09-23T12:47:55.518+10:00 SC-2-2 osafsmfd[13034]: NO
SmfUpgradeProcedure::getImmStepsRolling: addStepModifications failed
2021-09-23T12:47:55.520+10:00 SC-2-2 osafsmfd[13034]: ER
SmfProcedureThread::init, getImmSteps FAILED,
rc=SA_AIS_ERR_CAMPAIGN_PROC_FAILED (33)
2021-09-23T12:47:55.520+10:00 SC-2-2 osafsmfd[13034]: ER
SmfProcedureThread::main, SmfProcedureThread: init failed
2021-09-23T12:47:55.520+10:00 SC-2-2 osafsmfd[13034]: ER Start of procedure
thread failed for
safSmfProc=csmupgrade_proc_2,safSmfCampaign=ABC-Merged-2021_09_23-120305,safApp=safSmfService
2021-09-23T12:47:56.055+10:00 SC-2-2 osafsmfd[13034]: NO AdminOwnerSet:
SetAdminOwner() Fail, SA_AIS_ERR_NOT_EXIST (12)
~~~
When all procedures executed, the complete action invokes and clean/remove
versioned types. At the time commit campaign, reboot active SC to test
robustness of SMF. Standby SC takes active role, SMFD on new active start
procedure threads and it failed in addStepModifications due to these versioned
types deleted in complete action steps.
In this case, SMFD should ignore these types if the procedure in complete state.
---
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