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
cloud.profile RuntimeError: dictionary changed size during iteration #24573
Comments
That does look like it's probably the correct patch to me. Thoughts, @rallytime or @techhat? |
The blame on that line was @s0undt3ch. Perhaps he can offer insight. |
We run that code in a copy so this is no longer an issue at least from 2015.5.1 onward... |
@s0undt3ch, I am running into the same issue here on 2015.8 and develop. |
I am trying to reproduce this failure on 2015.8.0 using the EC2 driver and I am unable to do so. I've tried creating a minion with a regular salt-cloud command, using a runner, and using the module and state with a minion, like so:
All of the minions were created successfully and return accordingly:
Versions report:
@codeHotter or @jfindlay Are you still hitting this issue? Is there something I am missing to try and reproduce this bug? |
@rallytime can still reproduce on develop and 2015.8 I think you need to have multiple providers configured to trigger the issue. I have two EC2 tenants configured in /etc/salt/cloud. If I comment one out, I can no longer trigger it. |
@codeHotter Can you post an example of what you're using to trigger this really quickly? (Sensitive data omitted, of course.) |
Not sure what information you need. Does this help?
|
That is prefect and very helpful. As you surmised earlier, you've found a very specific reproduction case! I think that you're correct in your fix originally posted. I tested both using salt-run and salt-cloud and both worked very well with the fix. I've submitted #27199 to clean up this issue. Thanks again @codeHotter for your work on this. :) |
Command I ran:
Exception:
Version develop @9988310a5d75aab6da5b267acc8f38f1dd64f17e
I fixed it locally with the below patch. (Not sure if correct)
Edit: the salt version here originally read 2015.5.0 because my .git folder was not accessible to the version detector. I fixed my version report above to report the version I tested with.
The text was updated successfully, but these errors were encountered: