Hi Erohmensing,
Thanks for details. Below is the feedback after trying the suggested steps. I need further input as I am not getting intended results when scaling rasa server to multiple instances on same Kubernetes cluster:-
Detail of the product:-Rasa Open Source with version: 2.0.2
As per the guidance RedisLockStore Lock Store, I have enabled redis Lock store. Below are the details of endpoints.yaml:-
lock_store:
** type: âredisâ**
** url: name-of-service**
** port: 6379**
** db: 1**
Below log data shows that both the servers are connected to Inmemorytracker and Redis lock store:-
2021-03-31 00:43:52,607 [DEBUG] Connected to InMemoryTrackerStore.
2021-03-31 00:43:52,608 [DEBUG] Connected to lock store âRedisLockStoreâ.
Use case: Running two rasa servers and two action servers still does not work.
Below are the logs when I donât get intended result with ď action_submit:-
2021-03-31 00:47:14,420 [DEBUG] Action âaction_submitâ ended with events â[BotUttered(âReturning to the main menu.â, {âelementsâ: null, âquick_repliesâ: null, âbuttonsâ: null, âattachmentâ: null, âimageâ: null, âcustomâ: null}, {}, 1617151634.4202178), BotUttered(âIs there anything else I can help you with? You can type âchange roleâ if you want to look for resources related to other roles, or type âchange verticalâ if you want to look for resources related to a particular vertical. You can also type anything that you want me to help with, including getting any resources you are looking for, leaving a feedback, or providing a testimonial.â, {âelementsâ: null, âquick_repliesâ: null, âbuttonsâ: null, âattachmentâ: null, âimageâ: null, âcustomâ: null}, {âtemplate_nameâ: âutter_more_questionâ, âresponseâ: âutter_more_questionâ}, xxxxxx), <rasa.shared.core.events.SlotSet object at xxxxxxxxxx>]â.
But when I reduce the number of rasa server to one instance I get correct result which has below data taken from debug log:-
2021-03-31 01:31:11,835 [DEBUG] There is a rule for the next action âaction_submitâ.
2021-03-31 01:31:11,835 [DEBUG] Predicted next action using policy_2_RulePolicy
2021-03-31 01:31:11,836 [DEBUG] Predicted next action âaction_submitâ with confidence 1.00.
021-03-31 01:31:11,836 [DEBUG] Calling action endpoint to run action âaction_submitâ.
2021-03-31 01:31:15,963 [DEBUG] Action âaction_submitâ ended with events '[BotUttered(âThanks for your feedback. The COE website engineers have been notified of the feedback on Slack. A Jira ticket has also been created at https://jira.com/browse/ Please go to the Jira ticket to review it and provide more details if needed.â, {âelementsâ: null, âquick_repliesâ: null, âbuttonsâ: null, âattachmentâ: null, âimageâ: null, âcustomâ: null}, {}, xxxxxxxx), BotUttered(âIs there anything else I can help you with? rasa.shared.core.events.SlotSet object at xxxxxxxx>]â.
Please advise?
Thanks
Rahul Srivastava