-
Notifications
You must be signed in to change notification settings - Fork 112
error on executing vagrant up with provider azure on Mac OS El Capitan #182
Comments
Glad I'm not the only one - thought I was going mad. Looks like its happening somewhere between line 68 and line 145 of run_instance.rb. |
Okay, further investigations (long live printf debugging!) show it dies on:
on line 203. |
I wonder if its the same issue as #122? |
Looks like the specified image is not available in a given location. Check with https://github.com/Azure/azure-cli using the following (substituting your values for -p -s and -l).
|
With that said, this should definitely give a better error message! |
I tracked it down to a similar place, but, with this config:
I can still find the images:
|
@devigned in my case it isn't an image issue because I've been iterating on the same image on and off for 2 weeks while developing an ansible role. I'm using OpenLogic:CentOS:7.3:latest in eastus2.
I did try using a specific well known image to see if it was an issue with 'latest' but this yielded the same results/error:
|
What versions of Vagrant are you all running? |
I'm on |
I think I found the issue. I believe it's a change between faraday 0.11.0 and 0.12.0.1. I just did a bundle update and got an error from faraday. @salameer you should be aware as this will likely affect Ruby SDK. |
@sarangan12 looks like this line: https://github.com/Azure/azure-sdk-for-ruby/blob/master/runtime/ms_rest/lib/ms_rest/service_client.rb#L91 needs to be: @@ssl_options = {} This should be fixed as soon as possible as it will cause failures for all apps that have taken a dependency on ms_rest and are using faraday. |
Grab pre7 and this should be mitigated. We'll update to the latest ms_rest when released. |
The latest ms_rest 0.6.4 has been released - https://rubygems.org/gems/ms_rest/versions/0.6.4 |
Thanks for the quick turnaround, @devigned. Confirmed the fix works. |
@devigned Let me echo @matt-richardson comments, thank you for the quick turnaround. Confirmed the fix works too. |
This issue just started yesterday:
Using vagrant-azure (2.0.0.pre6)
The text was updated successfully, but these errors were encountered: