- **Comment**:
There seem to be at least two problem, either the SaAmfCtCsType exists (with a
wrong name) or it does not exists and is referenced from a comptype. The
following steps can be run on the amf demo app:
i)
immcfg -c SaAmfCompType -a saAmfCtSwBundle="safSmfBundle=AmfDemo" -a
saAmfCtRelPathInstantiateCmd=amf_demo_script -a
saAmfCtRelPathCleanupCmd=amf_demo_script -a saAmfCtDefRecoveryOnError=2 -a
saAmfCtDefQuiescingCompleteTimeout=10000000000 -a
saAmfCtDefInstantiateCmdArgv=instantiate -asaAmfCtDefDisableRestart=0 -a
saAmfCtDefCmdEnv="AMF_DEMO_VAR2=CT_VALUE2 AMF_DEMO_VAR1=CT_VALUE1" -a
saAmfCtDefCleanupCmdArgv=cleanup -a saAmfCtDefClcCliTimeout=10000000000 -a
saAmfCtDefCallbackTimeout=10000000000 -a saAmfCtCompCategory=1
safVersion=2,safCompType=AmfDemo1
ii)
DN not correct, or don't create this association class leads to util.cc:683:
get_comp_capability: Assertion 'ctcs_type' failed. If this association class is
not created the system will not boot!
osafamfd[459]: WA configuration validation error:
'safSupportedCsType=safVersion=1\,safCSType=AmfDemo1,safVersion=2,safCompType=AmfDemo1'
does not exist in model
May 20 15:33:26 SC-1 local0.err osafamfd[459]: ER Failed to read configuration,
AMF will not start
May 20 15:33:26 SC-1 local0.err osafamfd[459]: ER avd_imm_config_get FAILED
May 20 15:33:26 SC-1 local0.err osafamfd[459]: ER
avd_standby_role_initialization FAILED
May 20 15:33:26 SC-1 local0.err opensafd[344]: ER Failed DESC:AMFD
May 20 15:33:26 SC-1 local0.err opensafd[344]: ER Going for recovery
May 20 15:33:26 SC-1 local0.err osafamfd[459]: ER initialize failed, exiting
immcfg -c SaAmfCtCsType -a saAmfCtCompCapability=1
safSupportedCsType="safVersion=1\\\,safCSType=AmfDemo1,safVersion=2,safCompType=AmfDemo1"
iii)
immcfg -a saAmfCompType=safVersion=2,safCompType=AmfDemo1
safComp=AmfDemo,safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
iv)
immcfg -c SaAmfHealthcheckType -a saAmfHctDefPeriod=10000000000 -a
saAmfHctDefMaxDuration=6000000000
safHealthcheckKey="AmfDemo,safVersion=2,safCompType=AmfDemo1"
v)
amf-adm unlock-in safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
amf-adm unlock-in safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
amf-adm unlock safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1
amf-adm unlock safSu=SU2,safSg=AmfDemo,safApp=AmfDemo1
---
** [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 10:08 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 [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.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets