I will remove the second part of this fix since it is in conflict with the
[#2508] fix. Part one will in itself fix the SA_ERR_UNAVAILABLE problem. Also a
ticket [#2234] for part two aready exist. It is better to fix part two after
ticket [#2508] is pushed
---
** [tickets:#2506] ntf: ntfimcn does not handle SA_ERR_UNAVAILABLE**
**Status:** review
**Milestone:** 5.17.08
**Created:** Tue Jun 20, 2017 11:15 AM UTC by elunlen
**Last Updated:** Mon Jun 26, 2017 02:44 PM UTC
**Owner:** elunlen
The ntfimcn part of ntf will create an ER log and abort if
saImmOmClassDescriptionGet_2 fail on SA_AIS_ERR_UNAVAILABLE (actually any OM
operation that uses the om handle). This will happen if the node where ntfimcn
is running leaves the CLM cluster and is connected again, the om handle will be
invalid for the new cluster configuration (see AIS description of
saImmOmClassDescriptionGet_2 return codes).
Note1: This is not a big problem since imcn will recover without any need of
node restart. No other services including ntf will be affected. Also it can
only happen on the standby node (the active node cannot leave the cluster. If
that happen a failover will happen)
Two fixes should be done:
1. The OM handle should not have a long life-span insted it should be
initialized every time it is needed. This will significantly reduce the risk of
the handle to become invalid.
2. The ntfincn process should not be started on the standby node since it is
not needed (HA handling was never implemented/needed)
Note2: The problem was detected because CLM tests (see apitests) are not
supposed to be executed on SC nodes. The detection of this is not working for
this test. See [#2505]
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets