Setup:
Changeset- 7640
Version - opensaf 5.0
4 nodes cluster
Issue observed:
Started OpenSAF on Controller(SC-1)
'ncs_sel_obj_ind: write failed' message observed in syslog on starting OpenSAF
May 16 18:11:26 SLES-64BIT-SLOT1 osafckptnd[19133]: Started
May 16 18:11:26 SLES-64BIT-SLOT1 osafckptnd[19133]: ncs_sel_obj_ind: write failed - Bad file descriptor
Hi Nhat Pham,
This error "osafckptnd[19133]: ncs_sel_obj_ind: write failed - Bad file descriptor" we are getting
because of heedless support changes "cpnd: To improve handling fault code returned by saClmInitialize [#1821]"
In patch of #1821 changed order of sel_obj_ind & _sel_obj_create,
fist doing indication on
cb->clm_updated_sel_obj
then createcb->clm_updated_sel_obj
, please correct.===========================================================================
1) main()->__init_cpnd()->cpnd_lib_req()->cpnd_lib_init()->cpnd_clm_init()->
/ Notify main process to update clm select object /
ncs_sel_obj_ind(&cb->clm_updated_sel_obj);
2) main()->cpnd_main_process()->
ncs_sel_obj_create(&cb->clm_updated_sel_obj);
===========================================================================
Related
Tickets:
#1821changeset: 7644:c893131ce311
user: Nhat Pham nhat.pham@dektech.com.au
date: Wed May 18 10:31:16 2016 +0530
summary: cpnd: To indicate clm_updated_sel_obj in cpnd_clm_init_thread [#1830]
changeset: 7645:ea188b1ec260
branch: opensaf-5.0.x
tag: tip
parent: 7642:83ee28ff2284
user: Nhat Pham nhat.pham@dektech.com.au
date: Wed May 18 10:32:37 2016 +0530
summary: cpnd: To indicate clm_updated_sel_obj in cpnd_clm_init_thread [#1830]
Related
Tickets:
#1830