-
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
salt-cloud -m fails with softlayer #17144
Comments
Hrm, I'm not familiar withe the softlayer code, but if that fixed it for you you should probably submit it as a pull request for better review. Thanks for the report and the patch! |
@techhat ping |
And I can confirm that @techhat's patch fixes the problem. |
Ran into this today as well on 2014.7.1 |
Why is this still broken after all this time? @techhat's patch does not fix the issue. I can confirm this is an issue on: salt-cloud 2014.7.4 (Helium) |
It looks to me like no one ever made an actual pull request to the salt code base with this change. I'll do that now. |
Can anyone give the pull request above a try? I only applied the patch suggested by @xpender. |
@rallytime I just tried it. Running salt-cloud from develop branch exhibits the error. Running from the
I'm not a python programmer, so I might be doing something stupid. I just checked out the branch, ran |
@kremso The Basically you'll need to wipe out your salt installation and then pip install again. Sorry for the troubles there. It's definitely annoying. :-| |
@rallytime Thanks. I can confirm that the problem is fixed (at least for me). |
Awesome! Thanks very much for trying that out @xpender! Since this has been confirmed as fixed, I am going to close this. Unfortunately, this fix did not make it into the upcoming 2014.7.5 release, as the pull request was made after the release was tagged. I don't know if we'll be doing another release on the 2014.7 branch or not, but if we do, this fix will be in 2014.7.6. Otherwise, the fix will definitely be in the upcoming 2015.2.0 release. Thanks! |
@rallytime and @xpender I've tried adding the 2 lines changed in your pull request into my For my scenario I already have some servers up and running, and I've added another server into my map. Maybe I'm making assumptions, but I believed this would find the new server in the map file which doesn't exist and create it. Am I doing something wrong? |
salt-cloud -m map.file
fails if using softlayer as cloud provider. Map files contains two instances, one of them is created & running, the other one not. With no created instances it worked.Output
Version-Report
Patch which fixed it for me
I'm not sure if state gets evaluated by salt-cloud. I looked into the digital_ocean.py and there it also simply takes API response and casts to string:
'state': str(node['status'])
The text was updated successfully, but these errors were encountered: