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