Environment Details:
OS : Suse 64bit
Setup : 4 nodes ( 2 controllers and 2 payloads with headless feature disabled & PBE disabled ).
Summary: smfnd asserted on active controller with long dn when executing the campaign.
Steps followed & Observed behaviour:
1) Initially brought up four nodes and all the nodes joined the cluster (PBE is disabled)
2) Enabled long dn as follows.
immcfg -a longDnsAllowed=1 opensafImm=opensafImm,safApp=safImmService
3) Successfully created the campaign object with long dn
immcfg -c SaSmfCampaign safSmfCampaign=campaign_long_dn_ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd,safApp=safSmfService -a SmfCmpgFileUri=/hostfs/campaign85.xml
4) Executed the campaign.
Observations:
smfnd asserted on active controller. Campaign execution failed.
Below is the timestamp of Active controller (SC-1):
Oct 9 22:07:06 SCALE_SLOT-21 osafsmfd[2816]: NO CAMP: Calling configured smfBundleCheckCmd for each bundle existing in IMM, to be installed or removed by the campaign
Oct 9 22:07:06 SCALE_SLOT-21 osafsmfnd[2810]: osaf_extended_name.c:144: osaf_extended_name_length: Assertion 'osaf_extended_names_enabled && length >= SA_MAX_UNEXTENDED_NAME_LENGTH' failed.
Oct 9 22:07:06 SCALE_SLOT-21 osafamfnd[2794]: NO 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' component restart probation timer started (timeout: 60000000000 ns)
Oct 9 22:07:06 SCALE_SLOT-21 osafamfnd[2794]: NO Restarting a component of 'safSu=SC-1,safSg=NoRed,safApp=OpenSAF' (comp restart count: 1)
Oct 9 22:07:06 SCALE_SLOT-21 osafamfnd[2794]: NO 'safComp=SMFND,safSu=SC-1,safSg=NoRed,safApp=OpenSAF' faulted due to 'avaDown' : Recovery is 'componentRestart'
Oct 9 22:07:06 SCALE_SLOT-21 osafsmfnd[3072]: Started
Attachments:
1)Syslog, smf, imm traces of active controller.
Tickets: #2087
Tickets: #2119
Wiki: ChangeLog-5.0.2
Wiki: ChangeLog-5.1.1
Attaching the stacktrace of smfnd.
SMF supports long DN in general but there are some limitations mainly becase AMF does not support long DN before OpenSAF version 5.1. Therefore SMF has tests that limit the usage of long DN for AMF related objects and long campaign names.
Support for long DN is implemented in AMF and enabled in SMF from version 5.1. Try to test with 5.1.0 or later. See also [#1968]
Related
Tickets:
#1968Issue is observed in changeset #7997(5.1FC)
The longDnsAllowed IMM attribute is read at the starting of the smfd, when the value of attribute longDnsAllowed is changed after the cluster start, this is not reflected in SMF.
when ever executing campaign admin operation, check the longDnsAllowed attribute
changeset: 8207:42088263ae5f
tag: tip
parent: 8204:79861ea76e24
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Wed Oct 12 11:28:31 2016 +0530
summary: smf: reading of IMM longdn attribute at the camapign admin operation [#2087]
changeset: 8206:0e368173263e
branch: opensaf-5.1.x
parent: 8202:8cfed72ed0bd
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Wed Oct 12 11:28:31 2016 +0530
summary: smf: reading of IMM longdn attribute at the camapign admin operation [#2087]
changeset: 8205:948f0b033f1f
branch: opensaf-5.0.x
parent: 8201:b94d9e7cbd08
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Wed Oct 12 11:24:55 2016 +0530
summary: smf: reading of IMM longdn attribute at the camapign admin operation [#2087]
Related
Tickets:
#2087changeset: 8217:810f6dde01cb
branch: opensaf-5.0.x
tag: tip
parent: 8214:7614e1f897a8
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Thu Oct 13 11:16:49 2016 +0530
summary: smf:fixed build error [#2087]
Related
Tickets:
#2087