This can be observed if a SU, component and a new health check key is added dynamically
in an existing model.
Steps to reproduce:
1)Bring amf demo up.
2)run immcfg -f tmp.xml.
This will add a SU3 in the system.
amfnd logs:
AMFnd is reading only old key not the new one that is added in tmp.xml.
May 4 10:24:03.609690 osafamfnd [4808:di.cc:0672] >> avnd_di_object_upd_send: Comp 'safComp=AmfDemo,safSu=SU3,safSg=AmfDemo,safApp=AmfDemo1'
May 4 10:24:03.609696 osafamfnd [4808:di.cc:0777] >> avnd_di_msg_send: Msg type '8'
May 4 10:24:03.609702 osafamfnd [4808:di.cc:0968] >> avnd_diq_rec_add
May 4 10:24:03.609707 osafamfnd [4808:di.cc:0983] << avnd_diq_rec_add
May 4 10:24:03.609720 osafamfnd [4808:di.cc:1044] >> avnd_diq_rec_send
May 4 10:24:03.609726 osafamfnd [4808:mds.cc:1169] >> avnd_mds_send: Msg type '1'
May 4 10:24:03.609955 osafamfnd [4808:mds.cc:1224] << avnd_mds_send: 1
May 4 10:24:03.609992 osafamfnd [4808:di.cc:1064] << avnd_diq_rec_send: 1
May 4 10:24:03.610007 osafamfnd [4808:di.cc:0809] << avnd_di_msg_send: 1
May 4 10:24:03.610017 osafamfnd [4808:di.cc:0691] << avnd_di_object_upd_send: 1
May 4 10:24:03.610031 osafamfnd [4808:compdb.cc:1814] << avnd_comp_create: 0
May 4 10:24:03.610041 osafamfnd [4808:imma_om_api.c:0154] >> saImmOmInitialize
May 4 10:24:03.610057 osafamfnd [4808:imma_om_api.c:0180] TR OM client version A.2.1
May 4 10:24:03.610068 osafamfnd [4808:imma_om_api.c:0216] >> initialize_common
May 4 10:24:03.610078 osafamfnd [4808:imma_init.c:0270] >> imma_startup: use count 1
May 4 10:24:03.610087 osafamfnd [4808:imma_init.c:0293] << imma_startup: use count 2
May 4 10:24:03.610219 osafamfnd [4808:imma_om_api.c:0337] T1 Trying to add OM client id:287 node:2020f
May 4 10:24:03.610235 osafamfnd [4808:imma_om_api.c:0431] << initialize_common
May 4 10:24:03.610245 osafamfnd [4808:imma_om_api.c:0202] << saImmOmInitialize
May 4 10:24:03.610254 osafamfnd [4808:hcdb.cc:0311] >> avnd_hctype_config_get: 'safVersion=1,safCompType=AmfDemo1'
May 4 10:24:03.610265 osafamfnd [4808:imma_om_api.c:6584] >> search_init_common
May 4 10:24:03.610278 osafamfnd [4808:imma_om_api.c:6842] TR root: safVersion=1,safCompType=AmfDemo1 param:0x7fff95f6a370
May 4 10:24:03.610441 osafamfnd [4808:imma_om_api.c:6987] << search_init_common
May 4 10:24:03.611175 osafamfnd [4808:hcdb.cc:0328] T1 'safHealthcheckKey=AmfDemo,safVersion=1,safCompType=AmfDemo1'
May 4 10:24:03.611189 osafamfnd [4808:imma_om_api.c:7365] >> saImmOmSearchFinalize
May 4 10:24:03.611195 osafamfnd [4808:imma_om_api.c:7391] TR Freeing last result
May 4 10:24:03.611201 osafamfnd [4808:imma_om_api.c:7400] TR Freeing search buffer
May 4 10:24:03.611431 osafamfnd [4808:imma_om_api.c:7523] << saImmOmSearchFinalize
May 4 10:24:03.611449 osafamfnd [4808:hcdb.cc:0339] << avnd_hctype_config_get: 1
changeset: 6835:b2ea16cef47f
parent: 6832:e5e1fc6e2a9c
user: praveen.malviya@oracle.com
date: Thu Sep 17 10:06:26 2015 +0530
summary: amfnd: avoid creating existing safHealthcheckKey record in amfnd database [#1363]
changeset: 6834:477078a6e0bc
branch: opensaf-4.6.x
parent: 6831:aa867a12c10d
user: praveen.malviya@oracle.com
date: Thu Sep 17 10:06:16 2015 +0530
summary: amfnd: avoid creating existing safHealthcheckKey record in amfnd database [#1363]
changeset: 6833:1ad451348b04
branch: opensaf-4.5.x
parent: 6830:141747d20de4
user: praveen.malviya@oracle.com
date: Thu Sep 17 10:06:01 2015 +0530
summary: amfnd: avoid creating existing safHealthcheckKey record in amfnd database [#1363]
https://sourceforge.net/p/opensaf/mailman/message/34081210/
Related
Tickets:
#1363