-
-
Notifications
You must be signed in to change notification settings - Fork 745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Xenial] Execution stuck in 'requested' state on a fresh RabbitMQ #3290
Comments
This reverts old hack: https://github.com/StackStorm/st2-packages/pull/435/files#diff-0cc9e53cba1b060958ebffa16eb85cb5L554 More detailed Issue: StackStorm/st2#3290
This reverts old hack: https://github.com/StackStorm/st2-packages/pull/435/files#diff-0cc9e53cba1b060958ebffa16eb85cb5L554 More detailed Issue: StackStorm/st2#3290 (cherry picked from commit 4e20750)
Interesting thing about this issue is that I can't replicate it if I set number of action runner workers to 1. This makes it look like some kind of weird race inside action runners processes. |
Great! |
Btw, now while testing the fix - we can also remove |
+1 this just bit me in the puppet module i believe the lines @Kami is referring to is: https://github.com/StackStorm/st2-packages/blob/master/scripts/st2bootstrap-deb.sh#L557-L561 |
Xenial stuck bug is fixed in StackStorm/st2#3290
@Kami Awesome job! This allows removing horrible |
Did you get the solution on "Execution stuck in 'requested' state on a fresh RabbitMQ" I am also facing same issue, if yes please provide the steps. |
@sadanand25 Yes, this specific issue was fixed in previous stackstorm versions, see #3648 |
I've checked again the startup with the previous instructions and it's indeed fixed. |
When executing any st2 action for the first time on a fresh & clean
RabbitMQ
immediately after st2 startup, - it runs forewer and stuck inrequested
state:I can only guess that at early point st2 is busy with RabbitMQ bootstrapping and for some reason can't trigger an action (since topic/queue is not yet created/message is lost or something like that ?) when running things for the first time.
Reproduce
Requirements to reproduce:
Script to reproduce
I could reproduce it every time with this script:
This is similar to StackStorm/st2-packages#445 (comment)
The problem is more serious than it looks like, being blocker for Automation, when deploying StackStorm in prod. Stuck execution immediately after startup is pretty much a bad thing.
I originally thought this could be solved with packaging, but after repro it sounds like more about StackStorm core.
cc @m4dcoder @Kami @lakshmi-kannan.
The text was updated successfully, but these errors were encountered: