Approach for fixing this problem:
During the modification of compType in assigned comp, AMF should check
existence of association object of cstype of assigned csi and new comptype.
Modification should be allowed if this association object exists in the system.
At the same time assert needs to be avoided while upgrading any deployed
application running with an invalid configuration. Since AMF reads only comp
capability from ctcstype, some default value can be set if ctcstype is not
found. Remember default comp capability should be valid for all red model. As
per AMF spec page 184 section 3.7, only x_active_and_y_standby is valid for all
red models for PI component. For NPI component, default value will be
SA_AMF_COMP_NON_PRE_INSTANTIABLE.
In this way, user will not observe any service outage for any csi and assert
will also be avoided.
Please comment on this approach.
---
** [tickets:#1302] amf: get_comp_capability: Assertion 'ctcs_type' failed**
**Status:** accepted
**Milestone:** 4.5.2
**Created:** Fri Apr 03, 2015 11:15 AM UTC by Neelakanta Reddy
**Last Updated:** Wed May 20, 2015 08:24 AM UTC
**Owner:** Praveen
Nodes : 4 nodes SC-1, SC-2, PL-3, PL-4
stop the PL-4 and amfd got asserted
Apr 3 15:59:59 SLES1 osafamfd[3935]: NO Node 'PL-4' left the cluster
Apr 3 15:59:59 SLES1 osafimmnd[3880]: NO Implementer connected: 18
(MsgQueueService132111) <964, 2010f>
Apr 3 15:59:59 SLES1 osafimmnd[3880]: NO Implementer locally disconnected.
Marking it as doomed 18 <964, 2010f> (MsgQueueService132111)
Apr 3 15:59:59 SLES1 osafimmnd[3880]: NO Implementer disconnected 18 <964,
2010f> (MsgQueueService132111)
Apr 3 15:59:59 SLES1 osafamfd[3935]: util.cc:683: get_comp_capability:
Assertion 'ctcs_type' failed.
Apr 3 15:59:59 SLES1 osafamfnd[3945]: ER AMF director unexpectedly crashed
---
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.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets