-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] Runners occasionally fail with "RuntimeError: dictionary changed size during iteration" #65082
Comments
@vkotarov can you test the issue with the latest 3006? |
Unfortunately, no. We are stuck to classic packaging on salt-masters due to SSC-related constrains. |
@vkotarov Can you try with the latest classic package version 3005.2 ?, given you are running 3004.2 |
In theory - yes, but this is going to take a lot of time as SSC also needs to be upgraded. Also, I'm trying to understand if this comment relates to something internal to the master that breaks it or to the "new-style" minion response that leads to master overload? |
That comment is in reference to a patch I wrote to fix the issue you linked. Deltaproxy works fine in released/master versions of Salt to my knowledge. The master overload is a result of #61468 which is included in 3005.x. It was fixed the other day in #65053 which should be available in the next 3006.3 release and 3007 whenever that eventually drops. |
@vkotarov Can you consider closing this, since it is fixed in Salt 3006.x. Salt 3005.x is about to EOL next month. |
Closing as after master restart I no longer get these, too. |
Description
Recently we have been observing occasional runner failures with one and the same exception that doesn't refer to runner code itself. No recent changes in runner-related configurations, code and environments. The failures result in "RuntimeError: dictionary changed size during iteration" exceptions to be thrown. This seems to happen with any runner that we have developed but doesn't happen on every run.
Setup
Internally developed runners that are executed from salt orchestrations to call external APIs.
Steps to Reproduce the behavior
Not easily reproducible as it is an intermittent issue.
Expected behavior
Runners are successfully executed without throwing exceptions
Screenshots
Versions Report
salt --versions-report
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: