- **status**: review --> fixed
- **Comment**:

changeset:   7491:b7496853ca60
branch:      opensaf-5.0.x
parent:      7489:df9ed4798fe0
user:        Neelakanta Reddy
date:        Thu Apr 14 12:53:47 2016 +0530
summary:     msg : binding with asapi must be done after mds init [#1748]

changeset:   7492:55bfb78b3f4c
tag:         tip
parent:      7490:99f1d25bb696
user:        Neelakanta Reddy
date:        Thu Apr 14 12:53:47 2016 +0530
summary:     msg : binding with asapi must be done after mds init [#1748]




---

** [tickets:#1748] MQSV service is not working ( Queue open does not succeed) **

**Status:** fixed
**Milestone:** 5.0.RC2
**Created:** Tue Apr 12, 2016 03:49 AM UTC by Srikanth R
**Last Updated:** Wed Apr 13, 2016 11:52 AM UTC
**Owner:** Neelakanta Reddy
**Attachments:**

- 
[mqsv.tgz](https://sourceforge.net/p/opensaf/tickets/1748/attachment/mqsv.tgz) 
(109.2 kB; application/x-compressed-tar)


Changeset : 7436 
Version : 5.0 FC


Issue : 

1) Queue opening fails with TRY_AGAIN / TIME_OUT.  

Below is the output of sample application :

DEMO SCENARIO#1: Receiving messages via Sync API - saMsgMessageGet START


MQSV:MQA:ONsaMsgQueueOpen failed with rc - 6
Press Enter Key to Continue...

Below is the output of test application with retry mechanism handled.

100|0| RETRY           : saMsgQueueOpen with valid params - Non Persistent
100|0| Return Value    : SA_AIS_ERR_TRY_AGAIN
100|0|
100|0| Retry Count : 10
100|0| Retry Count : 20
100|0| Retry Count : 30
100|0| Retry Count : 40
100|0| Try again count exceeded


    In the case of aysnc, queue open callback returns TRY_AGAIN.
 
100|0| Queue name      : safMq=nonpersistent_Q_37
100|0| size            : 1000
100|0| creation flags  : SA_MSG_QUEUE_NON_PERSISTENT
100|0| open flags      : SA_MSG_QUEUE_CREATE
100|0| SUCCESS         : saMsgQueueOpenAsync with valid parameters - Non 
Persistent
100|0| Return Value    : SA_AIS_OK
100|0| Invocation      : 115
100|0|
100|0|
100|0| ----------- Queue Open Callback -------------
100|0| Error String  : SA_AIS_ERR_TRY_AGAIN
100|0| Invocation  : 115
100|0| -----------------------------------------------

Below is the output in syslog .

Apr 10 20:31:21 CONTROLLER-2 osafmsgnd[13195]: ER ERR_TRY_AGAIN: Timeout occurs 
Unable to send the respons in async case
Apr 10 20:31:21 CONTROLLER-2 osafmsgnd[13195]: ER The procedure to open the 
Queue Failed with err 6
Apr 10 20:31:21 CONTROLLER-2 osafmsgd[13213]: ER Sending the message to the 
specified destination with error 6
Apr 10 20:31:21 CONTROLLER-2 osafmsgd[13213]: ER ERR_FAILED_OPERATION: Couldn't 
Send ASAPi Name Resolution Response Message



2) saMsgInitialize  and saMsgFinalize returning  TIME_OUT, which is not earlier 
observed on an idle system .


100|0| ***** Create a queue with zero retention time using saMsgQueueOpen *****
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0| FAILED          : saMsgInitialize with all valid parameters
100|0| Return Value    : SA_AIS_ERR_TIMEOUT
100|0|
100|0|
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0|
100|0| Version         : B.3.1
100|0|MQSV:MQA:ON
100|0| SUCCESS         : saMsgInitialize with all valid parameters
100|0| Return Value    : SA_AIS_OK



100|0| Version         : B.3.1
100|0| SUCCESS         : saMsgInitialize with all valid parameters
100|0| Return Value    : SA_AIS_OK
100|0| Message Handle  : 6876704
100|0| Version Output  : B.3.1

100|0| FAILED          : saMsgFinalize with all valid parameters
100|0| Return Value    : SA_AIS_ERR_TIMEOUT


Traces of msgd, msgnd and test application are attached


---

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.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to