---

** [tickets:#2010] IMM: library receives wrong response when a ccb is aborted**

**Status:** accepted
**Milestone:** 4.7.2
**Created:** Thu Sep 08, 2016 07:10 AM UTC by Hung Nguyen
**Last Updated:** Thu Sep 08, 2016 07:10 AM UTC
**Owner:** Hung Nguyen
**Attachments:**

- [logs.7z](https://sourceforge.net/p/opensaf/tickets/2010/attachment/logs.7z) 
(6.8 MB; application/octet-stream)


When receiving the ccb abort message (D2ND_ABORT_CCB) over fevs, IMMND will 
abort the message and send response to client if it's the originating node. See 
immnd_evt_proc_ccb_finalize().

In some cases the client is not in a sync call (i.e. not waiting for response) 
but IMMND still sends that response to the client. One example is when the OI 
attaches/deattaches. That may cause the client to receive unexpected response 
if the client at that time calls an sync IMM api.

Details of the problem is explained here
[Click me 
!!!](http://sequencediagram.org/index.html?initialData=FABwhgTgLglgxjcA7KACAkgWUwQVJWBZNLTAOQBF9p5EwUNsrgIAjAewA9V2A3AUwiNMFAFw5UcOKwC0YDtFQwAzqgDm-JILBR+AEwA6SAO4ALTagDy6VDqhg4pmEjUB6PfzsOnL4MFIUMgDEahD8mgB8pJSiFABMlAD6OABClgBKACqJAMI5KagAFEEAjACU-tg4wawANgCu-FHYMTgJFLn5yQAK3QAyAJpFQXEVLBzcfILCMdEUqCAQ7HD8ysqrktJyCmgAtspqqABmS7vCFEb0eqjrSHqqYcog7EjrqFDsPBAwas46zockOwPEZ1vwlLtdphgfxaokpKwcDtCmM5sEwnpmrhRJQ4jhEqREgBRdLpDKJOKoYwwKCmVAAMRw6D6RI6lm6JJwmXQljIwwAzGUjAAqUWZJyqFTvcySF7rACOjSQKx4R1QpT8bC4PAEQlIOFE+tQYRWMAEqlp4Mez1e4Ku0ucAGsLaYdFSwC6rasbesjEd2EIRgAaVCsepoBxQepgWq1ACeSigAHJVAArerKCOy22KzQq9hq0pGIxGk38M0bS1UpYuY3euXgsNoPQwPRIJNoOAQD108xhIysfhwMAZ8GWXZ5REgEDxlG2KT8EBQVS4-GEklk9IUzUTHXTfWicc5aQ4aezsp1qMQV4MpkstndIynmfwf4vbOwJCNVTU2lWXY4HouzOJYxhaBA9J-LUMAAF78Cifj6jUDRNHM4jtMkFCYJYiT0ugZA4H06AAFpEsMAAsYxapMuozGIcyoECxg3Jo9zSl6TwNscAbqnEiEtIEQQYliBqrgS2DEqS5KUr+dKMsyrKJOynLcryApCkgorCuKUpSlW1pcf6gZ8eM2pTHqVSGlUthqGAzh1qa5q2EClpCMYNaHAZtrFkg6Cdt2yjmC6ekwLsjZDiObzjoBwFIKB4GQ
 UgMawfBGl6OwqzthGC5LqgYnrlJW58UAA)

~~~
09:45:58 SC-2-2 osafimmnd[3918]: NO ERR_TRY_AGAIN: ccb 1266 is active on object 
CmwSwMswMId=1 of class CmwSwMSwM. Can not add class implementer
09:45:58 SC-2-2 osafimmnd[3918]: NO Trying to abort ccb 1266 to allow 
implementer CoreMwSwM to protect class CmwSwMSwM
09:45:58 SC-2-2 osafimmnd[3918]: NO implementer for class 'CmwIspConfig' is 
CmwIsp => class extent is safe.
09:45:58 SC-2-2 osafimmnd[3918]: NO Implementer disconnected 169 <0, 2010f> 
(@ClusMonEE)
09:45:58 SC-2-2 osafimmnd[3918]: NO Ccb 1266 ABORTED 
(CoreMwEcimSwMBackgroundThread)
09:45:58 SC-2-2 ecimswm: ImmUtils::doImmOperations:saImmOmCcbApply failed 
SaAisErrorT=21
09:45:58 SC-2-2 ecimswm: EcimSwmAsyncImmOperation::main() failed with rc = 
21(SA_AIS_ERR_FAILED_OPERATION)
09:45:58 SC-2-2 ecimswm: imma_om_api.c:8769: saImmOmAdminOwnerFinalize: 
Assertion 'out_evt->info.imma.type == IMMA_EVT_ND2A_IMM_ERROR' failed.
09:45:58 SC-2-2 osafimmnd[3918]: NO Implementer connected: 173 (ClusMonEE) <0, 
2010f>
09:45:58 SC-2-2 osafimmnd[3918]: WA >>s_info->to_svc == 0<< reply context 
destroyed before this reply could be made
09:45:58 SC-2-2 osafimmnd[3918]: WA Failed to send response to agent/client 
over MDS
~~~

Attached is syslog and IMM traces


---

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

Reply via email to