After ticket SMF: smfnd asserted on active controller with long dn when executing the campaign [#2087] was fixed long DN settings in IMM is no longer read correctly. Campaigns with long DN fail.
Attached: Campaign, syslog and osafsmfd trace
Tickets: #2087
Tickets: #2119
Wiki: ChangeLog-5.0.2
Wiki: ChangeLog-5.1.1
From the smfd logs looks like longdns are not enabled:
Oct 13 16:48:29.983824 osafsmfd [514:smfd_campaign_oi.cc:0077] >> saImmOiAdminOperationCallback
Oct 13 16:48:29.983827 osafsmfd [514:smfd_campaign_oi.cc:0089] TR 2. saImmOiAdminOperationCallback: read_IMM_long_DN_config_and_set_control_block()
Oct 13 16:48:29.983830 osafsmfd [514:SmfUtils.cc:0744] >> read_IMM_long_DN_config_and_set_control_block
Oct 13 16:48:29.983834 osafsmfd [514:imma_om_api.c:5763] >> accessor_get_common
Oct 13 16:48:29.983937 osafsmfd [514:mds_dt_trans.c:0608] >> mdtm_process_poll_recv_data_tcp
Oct 13 16:48:29.983986 osafsmfd [514:imma_om_api.c:6106] << accessor_get_common
Oct 13 16:48:29.983992 osafsmfd [514:SmfUtils.cc:0780] TR longDnsAllowed=0
Oct 13 16:48:29.983994 osafsmfd [514:SmfUtils.cc:0793] << read_IMM_long_DN_config_and_set_control_block
longdns must be enabled before executing the camapaign:
immcfg -a longDnsAllowed=1 opensafImm=opensafImm,safApp=safImmService
This behaviour is non backwards compatible. I must be possible to enable in a campaign.
From SMF PR document:
"4.5.7 Enabling long DN support from a campaign
When enabling long DN support from a campaign, the CCB containing the IMM configuration change must be defined in the <campaignInitialization> portion.
The long DN support can then be used in subsequent CCB's."
Tests for enabling as above worked before the change but now they fail
changeset: 8271:a86584943265
tag: tip
parent: 8268:c6d97cce299e
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Mon Oct 31 10:24:03 2016 +0530
summary: smf:read imm longdn attribute at campaigninit [#2119]
changeset: 8270:e0f8874243f7
branch: opensaf-5.1.x
parent: 8267:eaf9daa89ce3
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Mon Oct 31 10:24:03 2016 +0530
summary: smf:read imm longdn attribute at campaigninit [#2119]
changeset: 8269:7abe0ea2cd18
branch: opensaf-5.0.x
parent: 8266:754bf0dd26ec
user: Neelakanta Reddy reddy.neelakanta@oracle.com
date: Mon Oct 31 10:15:37 2016 +0530
summary: smf:read imm longdn attribute at campaigninit [#2119]
Related
Tickets:
#2119