-
Notifications
You must be signed in to change notification settings - Fork 145
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
Creating/Updating too many job templates in parallel seems to be too much for controller API #832
Comments
yes this is likely an issue with object_diff it was quickly written based off an idea and really needs to be rewritten from the ground up to fix a lot of issues with it. |
Thanks for the reply. But I do not exactly understand what is happening. Having too many API calls in a too short amount of time is probably the issue. But I don't see a way to slow down the execution of the controller_configurationt roles. Or is there any? Yours |
The PR does seem to help here. Thanks a lot! |
were you able to test the PR changes? |
By now I just added "pause: 1" locally and it helped. If you want, I can test the PR as a whole. But it might not be before tomorrow. |
yea if you are able that would be great, and you could even try .2 or something possibly to see if that is enough to fix the issue |
I will do so. Unfortunately I am not able to reproduce the issue locally at the moment. It only fails when I run the Playbook on AAP2 controller. That means 2 things:
David |
Ok. I was finally able to test it. I put 100 dummy Job Templates in the inventory for that. A pause of 0.2 does not seem to be enough. But 0.5 works fine. |
Hi.
We are using the controller_configuration to configure our controller.
Here is a snippet from our playbook:
This more or less works fine.
But now we seem to be hit by Errno 104 "Connection reset by peer" at async_status for job templates. (Interestingly only at the bottom after the object_diff.)
It seems to have something to do with the controller API not being able to handle so many calls at the same time. If we just delete a few job templates from controller_job_templates everything is working fine again.
It seems there is no way to slow things down a little bit, is there? Because that is what we would need.
We tried increasing controller_configuration_job_templates_async_delay , but it does not seem to work. The problem is already on the first try.
Yours
David
The text was updated successfully, but these errors were encountered: