- **status**: accepted --> review


---

** [tickets:#2903] log: timeout when deleting configuration stream by immcfg 
-d**

**Status:** review
**Milestone:** 5.18.08
**Created:** Mon Jul 30, 2018 07:36 AM UTC by Canh Truong
**Last Updated:** Wed Aug 22, 2018 10:11 AM UTC
**Owner:** Canh Truong


Steps:
1/ create cfg stream 1
   - immcfg -c SaLogStreamConfig  safLgStrCfg=Test1 -a saLogStreamPathName=. -a 
saLogStreamFileName=Test1
2/  create cfg stream 2
 -  immcfg -c SaLogStreamConfig  safLgStrCfg=Test2 -a saLogStreamPathName=. -a 
saLogStreamFileName=Test2
3/ Delete stream 1
 - immcfg -d  safLgStrCfg=Test1
4/ Delete stream 2
 - immcfg -d  safLgStrCfg=Test2


- In step 3 ,  ccb_apply_callback_delete is called (from log service)when 
deleting stream 1. The callback take 8 second to do try again renaming file. 
imm return command "immcfg -d" before the callback has done.
-  In step 4, ccb_comleted_callback is call (from log service) when deleting 
stream 2. the request to call the completed callback is sent to log mbx. But 
now log service is processing the renaming (in step3). Imm just wait 6seconds 
for the repons of completed_callback. So the completed callback has not been 
processed in 6s, and imm has not got the response of this callback. ==> Timeout 
issue happen 

syslog:
2018-07-23 21:59:27.410 SC-1 osaflogd[223]: NO rename: FAILED - No such file or 
directory
2018-07-23 21:59:32.413 SC-1 osaflogd[223]: message repeated 10 times: [ NO 
rename: FAILED - No such file or directory]
2018-07-23 21:59:32.565 SC-1 osafimmnd[207]: WA Timeout while waiting for 
implementer, aborting ccb:105
2018-07-23 21:59:32.567 SC-1 osafimmnd[207]: NO Aborting ccb 105 while waiting 
for replies from implementers on DELETE-OP
2018-07-23 21:59:32.567 SC-1 osafimmnd[207]: NO Ccb 105 ABORTED 
(immcfg_SC-2_886)
2018-07-23 21:59:32.914 SC-1 osaflogd[223]: NO rename: FAILED - No such file or 
directory
2018-07-23 21:59:34.915 SC-1 osaflogd[223]: message repeated 4 times: [ NO 
rename: FAILED - No such file or directory]
2018-07-23 21:59:34.916 SC-1 osaflogd[223]: WA Could not rename log file: 
Resource temporarily unavailable
2018-07-23 21:59:34.957 SC-1 osafimmnd[207]: NO Ccb 106 COMMITTED 
(immcfg_SC-2_890)




---

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.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to