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
[WIP] Run automate calls thru queue #3258
Conversation
@Fryguy @gmcculloug @tinaafitz This depends on the PR #3215 |
Automate engine will be called via Queue to be picked by Automate workers in the correct zone. https://bugzilla.redhat.com/show_bug.cgi?id=1231939
03abcdc
to
d1c6f7c
Compare
<stalled_finished_job />Detected and restarted stalled travis job. |
One thing you can do is just close this PR until you have a fix for the deadlock, then reopen |
cc @jrafanie Look what you did! |
Ah, that could explain the Travis backlog. As long as you kill the job before it's marked as stalled, the bot shouldn't restart it. Looks like a feature request on the bot. |
Let's reopen when the tests are fixed. |
@mkanoor @gmcculloug In the code base, Again: If we are waiting on a user to click a button, then no other automate tasks will run on this worker, only a sleep. Instead, we would like to encourage: a) using regular jobs instead of tasks. For our needs here, I don't know why we are using either of these mechanisms. And combining both together seems to multiply the negative side effects. Also, a single task id of |
create_automation_uri(options) | ||
end | ||
|
||
def self.create_automation_args(name, attrs, options = {}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please dup the options coming in since you are modifying them
Multiple writers to task_results
@kbrock @jrafanie @gmcculloug @Fryguy |
Checked commits mkanoor/manageiq@d1c6f7c~...676f704 with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0 vmdb/lib/miq_automation_engine/engine/miq_ae_engine.rb
|
just deleted 15 stalled request comments. also, We'll need to ensure that the automate worker is enabled for this to work. |
Closed temporarily |
Automate engine will be called via Queue to be picked by
Automate workers in the correct zone.
https://bugzilla.redhat.com/show_bug.cgi?id=1231939