- **Milestone**: 4.6.2 --> 4.7.2


---

** [tickets:#1552] smf: read IMM_long_DN_config at the start of SmfCampaignInit 
function**

**Status:** unassigned
**Milestone:** 4.7.2
**Created:** Wed Oct 21, 2015 07:10 AM UTC by Neelakanta Reddy
**Last Updated:** Mon Nov 02, 2015 09:06 AM UTC
**Owner:** nobody


reproduction:

1. start opensaf from imm.xml
2. enable longdns 
immcfg -a longDnsAllowed=1 opensafImm=opensafImm,safApp=safImmService
3. create a longdn campaign name 
immcfg -c SaSmfCampaign 
safSmfCampaign=campign11111111111111111111111111111111111111111111111111111111111111111111111222222222222222222222222222222222222222233333333333333333333333333333333333444444444444444444444444444444444444455555555555555555555555555555555555555555555666666666666666666666666666666666666666666666666667777777777777777777777,safApp=safSmfService
 -a saSmfCmpgFileUri=/hostfs/campaigns/campaign.xml
4. execute the campign

smf-adm execute 
safSmfCampaign=campign11111111111111111111111111111111111111111111111111111111111111111111111222222222222222222222222222222222222222233333333333333333333333333333333333444444444444444444444444444444444444455555555555555555555555555555555555555555555666666666666666666666666666666666666666666666666667777777777777777777777,safApp=safSmfService

Following is the error in smfd:

Oct 21 11:56:35.537035 osafsmfd [25055:SmfCampaignInit.cc:0184] NO CAMP: 
Campaign init, start add to IMM (2)
Oct 21 11:56:35.537048 osafsmfd [25055:SmfRollback.cc:0062] TR Create rollback 
element 
'smfRollbackElement=AddToImmCcb,safSmfCampaign=campign11111111111111111111111111111111111111111111111111111111111111111111111222222222222222222222222222222222222222233333333333333333333333333333333333444444444444444444444444444444444444455555555555555555555555555555555555555555555666666666666666666666666666666666666666666666666667777777777777777777777,safApp=safSmfService'
Oct 21 11:56:35.537068 osafsmfd [25055:SmfRollback.cc:0070] TR Create rollback 
element, parent 
'safSmfCampaign=campign11111111111111111111111111111111111111111111111111111111111111111111111222222222222222222222222222222222222222233333333333333333333333333333333333444444444444444444444444444444444444455555555555555555555555555555555555555555555666666666666666666666666666666666666666666666666667777777777777777777777,safApp=safSmfService',
 rdn 'smfRollbackElement=AddToImmCcb'
Oct 21 11:56:35.537080 osafsmfd [25055:SmfImmOperation.cc:1280] >> execute
Oct 21 11:56:35.537088 osafsmfd [25055:SmfImmOperation.cc:1206] >> 
createAttrValues
Oct 21 11:56:35.537096 osafsmfd [25055:SmfImmOperation.cc:1238] TR 
c=[OpenSafSmfRollbackElement], 
p=[safSmfCampaign=campign11111111111111111111111111111111111111111111111111111111111111111111111222222222222222222222222222222222222222233333333333333333333333333333333333444444444444444444444444444444444444455555555555555555555555555555555555555555555666666666666666666666666666666666666666666666666667777777777777777777777,safApp=safSmfService],
 attr=[smfRollbackElement]
Oct 21 11:56:35.537118 osafsmfd [25055:SmfImmOperation.cc:1261] << 
createAttrValues
Oct 21 11:56:35.537140 osafsmfd [25055:SmfImmOperation.cc:1295] NO 
SmfImmRTCreateOperation::execute, createObject failed Too long parent name 342
Oct 21 11:56:35.537149 osafsmfd [25055:SmfImmOperation.cc:1296] << execute
Oct 21 11:56:35.537169 osafsmfd [25055:SmfCampaignInit.cc:0193] ER 
SmfCampaignInit failed to create addToImm rollback element 
smfRollbackElement=AddToImmCcb,safSmfCampaign=campign11111111111111111111111111111111111111111111111111111111111111111111111222222222222222222222222222222222222222233333333333333333333333333333333333444444444444444444444444444444444444455555555555555555555555555555555555555555555666666666666666666666666666666666666666666666666667777777777777777777777,safApp=safSmfService,
 rc=SA_AIS_ERR_NAME_TOO_LONG

solution :

If the cluster is loaded from imm.xml, then the imm internal object is create 
at load time. The IMM object by default does not enable longdns. when the 
cluster is up then the longdns can be enabled.

The smfd_cb->maxDnLength does not contain the length of longdn. so, the camign 
will not execute and gives ERR_NAME_TOO_LONG.

This can be corrected if the 
immUtil.read_IMM_long_DN_config_and_set_control_block is  called at the 
starting of SmfCampaignInit::execute.



---

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.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to