Comments (7)
@Static-Flow I'll look into this for you
from docker-machine-driver-vultr.
Awesome! Yea my monkey patch worked as well to get it to a quicker response time. Thanks for the attentiveness to the issue!
from docker-machine-driver-vultr.
I also updated docker-machine to 0.16.2 and I still get the same issue.
from docker-machine-driver-vultr.
quick update: I tried it on OSX and a linux subsystem for windows both with fresh from source builds and they both still hung on "waiting for server state to become ok"
from docker-machine-driver-vultr.
This error is a bit of a false-positive.
When you initially deploy a instance it will get three states
"42484495": {
"SUBID": "42484495",
"status": "active",
"power_status": "running",
"server_state": "installingbooting",
So while the instance is up - there still maybe install/boot processes running. That is why the server_state
is in installingbooting
It will eventually change the server_state
to ok
however...this isn't all that great because it would require you to wait.
I'll look into changing these status checks to not wait until ok
and run on active
and running
from docker-machine-driver-vultr.
hmm alright, I might change my local copy to do that and see how my mileage is. I'm trying to run a highly distributed workload with a lot of instances so the lag time waiting for docker-machine to actually register them as "ok" will dampen runtime.
from docker-machine-driver-vultr.
I made a few changes and got it to work with a more reasonable time
➜ ~ time docker-machine create -d vultr --vultr-api-key= 123489
Running pre-create checks...
Creating machine...
(123489) waiting for ip address to become available...
(123489) Created Vultr VPS with ID: 42485369, Public IP: 45.77.201.223
(123489) waiting for server state to become 'ok'...
(123489) stopped
(123489) stopped
(123489) stopped
(123489) stopped
(123489) stopped
(123489) stopped
(123489) running
(123489) installing and booting processes on the server are complete, server is ready to use
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env 123489
docker-machine create -d vultr 123489 0.34s user 0.15s system 0% cpu 2:52.98 total
➜ ~ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
123489 - vultr Running tcp://45.77.201.223:2376 v19.03.14
I will submit a pr tomorrow that changes the status checks to check for running
as it seems to be running fine without any issue.
from docker-machine-driver-vultr.
Related Issues (4)
- [BUG] - Node provisioning using Rancher RKE and Vultr docker-machine driver fails with certificate validation error HOT 9
- Should not `docker-machine-driver-vultr` bin file be updated to releases, should it? HOT 1
- [BUG] - Nodes remain uninitialized --> CCM complains about "providerID cannot be an empty string" HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-machine-driver-vultr.