Closed HelgeCPH closed 4 years ago
I had the same problem. The vagrant plugin update vagrant-digitalocean
helped me out. It updated the vagrant-digitalocean plugin to 0.9.5
Hello, yes this issue has been resolved with the latest version of the plugin.
Since some days I am having an issue with Vagrant in combination with the DigitalOcean Vagrant Provider for Vagrantfiles that I used some weeks ago to create droplets at DigitalOcean.
I made the following minimal example (The SSH key is registered at DigitalOcean, its name is stored in the environment variable
SSH_KEY_NAME
and my DO token is inDIGITAL_OCEAN_TOKEN
):When I try to create the droplet, I receive the following error message (which I did not receive earlier for the same Vagrantfile):
I am a bit puzzled by that error. When I run
vagrant up
with the--debug
option, I do not see anything more useful.Since the error is about the request that is sent to the DigitalOcean API, I tried to send the same payload that is reported to be erroneous manually via
curl
:That request works and creates the droplet.
What is it that is wrong in what I am doing or is it a bug in any of the tools?
I am experiencing the same error on Ubuntu (18.04.3) and on MacOS with the following versions of Vagrant and the plugin: