- **status**: invalid --> accepted
- **assigned_to**: Neelakanta Reddy
- **Component**: unknown --> imm
- **Part**: - --> nd
- **Comment**:

IMMND is waiting for CLM and CLM is waiting for IMMND, there is a deadlock

Mar  6  1:27:19.253312 osafimmnd [11250:src/imm/immnd/immnd_mds.c:0656] << 
immnd_mds_svc_evt 
Mar  6  1:27:19.253739 osafimmnd [11250:src/base/osaf_secutil.c:0068] >> 
handle_new_connection 
Mar  6  1:27:19.253766 osafimmnd [11250:src/mds/mds_main.c:0135] >> 
mds_register_callback: fd:24, pid:11301
Mar  6  1:27:19.253778 osafimmnd [11250:src/mds/mds_main.c:0153] TR MDS: 
received 77 from 2010f0690c01f, pid 11301
Mar  6  1:27:19.253789 osafimmnd [11250:src/mds/mds_c_db.c:2516] >> 
mds_process_info_add: dest:2010f0690c01f, pid:11301, svc:27
Mar  6  1:27:19.253875 osafimmnd [11250:src/mds/mds_main.c:0211] << 
mds_register_callback 
Mar  6  1:27:19.253894 osafimmnd [11250:src/base/osaf_secutil.c:0104] << 
handle_new_connection 
Mar  6  1:27:29.050878 osafimmnd [11250:src/mds/mds_dt_common.c:0861] TR 
TIMEOUT, deleting entry for 2010f0690c013, pid:11257
Mar  6  1:27:29.050976 osafimmnd [11250:src/mds/mds_c_db.c:2527] >> 
mds_process_info_del: dest:2010f0690c013, pid:11257, svc:26
Mar  6  1:27:29.265643 osafimmnd [11250:src/clm/agent/clma_mds.c:1251] TR 
clma_mds_msg_sync_send FAILED
Mar  6  1:27:29.265668 osafimmnd [11250:src/clm/agent/clma_mds.c:1253] << 
clma_mds_msg_sync_send 
Mar  6  1:27:29.265683 osafimmnd [11250:src/clm/agent/clma_api.c:0623] TR 
clma_mds_msg_sync_send FAILED: 5
Mar  6  1:27:29.265696 osafimmnd [11250:src/clm/agent/clma_api.c:0662] T2 CLMA 
INIT FAILED
Mar  6  1:27:29.265709 osafimmnd [11250:src/clm/agent/clma_util.c:0133] >> 
clma_shutdown: clma_use_count: 1

Solution :
These deadlock can be removed when clmInitialize is done in seperate thread.




---

** [tickets:#2327] Opensaf failed to start on active controller  ( random)**

**Status:** accepted
**Milestone:** 5.2.RC1
**Created:** Wed Mar 01, 2017 06:22 AM UTC by Srikanth R
**Last Updated:** Wed Mar 01, 2017 07:16 AM UTC
**Owner:** Neelakanta Reddy
**Attachments:**

- 
[opensafStartup.tgz](https://sourceforge.net/p/opensaf/tickets/2327/attachment/opensafStartup.tgz)
 (1.4 MB; application/x-compressed-tar)


Changeset: 8634 5.2.FC
SLES single node TIPC setup.


Issue : opensafd failed to startup on active controller for the first time.

Below is the output from syslog

Mar  6 01:27:19 SUSE-S1-C1 opensafd[11180]: NO Monitoring of CLMD started
Mar  6 01:27:19 SUSE-S1-C1 osafclmna[11211]: NO 
safNode=SC-1,safCluster=myClmCluster Joined cluster, nodeid=2010f
Mar  6 01:27:19 SUSE-S1-C1 osafamfd[11301]: Started
Mar  6 01:27:29 SUSE-S1-C1 osafamfd[11301]: WA saClmInitialize_4 returned 5
Mar  6 01:27:29 SUSE-S1-C1 osafamfd[11301]: ER saImmOiInitialize failed 5
Mar  6 01:27:29 SUSE-S1-C1 osafamfd[11301]: ER avd_imm_init FAILED
Mar  6 01:27:29 SUSE-S1-C1 osafamfd[11301]: ER initialize_for_assignment FAILED 
2
Mar  6 01:27:29 SUSE-S1-C1 osafamfd[11301]: ER initialize failed, exiting
Mar  6 01:27:29 SUSE-S1-C1 opensafd[11180]: ER Failed   DESC:AMFD
Mar  6 01:27:29 SUSE-S1-C1 opensafd[11180]: ER Going for recovery

Below is the output from clmd.
Mar  6  1:27:29.273608 osafclmd [11291:src/clm/clmd/clms_mds.c:1194] << 
clms_mds_svc_event
Mar  6  1:27:29.273644 osafclmd [11291:src/mbc/mbcsv_mds.c:0420] << 
mbcsv_mds_evt: Msg is not from same vdest, discarding
Mar  6  1:27:29.269263 osafclmd [11291:src/imm/agent/imma_oi_api.cc:2783] << 
rt_object_update_common
Mar  6  1:27:29.273697 osafclmd [11291:src/clm/clmd/clms_imm.c:0842] IN 
saImmOiRtObjectUpdate failed for cluster object with rc = 5. Trying again
Mar  6  1:27:29.273709 osafclmd [11291:src/clm/clmd/clms_imm.c:0871] << 
clms_cluster_update_rattr


Traces of clmd,amfd,amfnd,immd and immnd along with mds.log and syslog are 
attached.

This issue is random. Observed two times out of three times when started on 
lone active controller.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to