Comments (6)
I've let cluster creation go on and the nodes that I manually started are shut down again. It appears Rancher is shutting them down for some reason.
from docker-machine-driver-hetzner.
Further insight reveals that the nodes are created without an interface to the 10.0.0.0/16 network, despite having selected that private network in the node template. Therefore Rancher has no way of even connecting to these nodes, but I still don't understand why Rancher shuts them down, after I start them manually.
from docker-machine-driver-hetzner.
Hi,
sorry for the inconvenience the driver is causing you. From the driver's perspective, machine creation, starting instances and shutting them down are distinct operations its RPC interface has to expose.
I'm unfamiliar with the Rancher side of things, but could you perhaps try to create a machine manually using docker-machine
and setting appropriate flags to create the private network and use it for communications? Ideally from another cloud instance on the same network, as to allow the whole provisioning process to run (if that is feasible for you from the cost perspective). If that fails as well, perhaps something in the hcloud
API changed or we introduced a regression some time ago that nobody noticed has noticed yet. On the other hand, if that works fine, something is going wrong down the line with ranger.
The driver binary itself is rather 'dumb' and does not do any fancy timeout stuff (or automatic shutdowns for that matter), so from the behavior you describe I can only guess that perhaps Rancher is giving up after some time and then calls the shutdown method on the driver to get rid of the servers -- although that would not really make sense, as Destroy()
would be more appropriate here.
from docker-machine-driver-hetzner.
I don't think the driver is causing any problems. I thought so in the beginning, because I assumed the Hetzner Cloud would work like it always did. However, it appears that they actually introduced a bug a couple of days ago, which they are fixing right now. I'll report back once they fixed it.
Do you know of a way to watch the provisioning process via some logfile or other mechanism?
from docker-machine-driver-hetzner.
docker-machine
has a --debug
flag that can be used with the create
subcommand. That should output both the log information from the driver and the provisioning process itself.
from docker-machine-driver-hetzner.
Thanks and I close this issue, because Hetzner fixed something and now I cannot reproduce the problem.
from docker-machine-driver-hetzner.
Related Issues (20)
- wrong naming of wait-on-error HOT 4
- make driver rancher compatible HOT 1
- image has incompatible architecture HOT 2
- Support int64 IDs HOT 1
- panic: runtime error: invalid memory address or nil pointer dereference HOT 7
- unknown location / unable to find ssh-keys HOT 2
- Provide fallback server type HOT 3
- Hetzner: Cloud API Change: GET /actions endpoint HOT 2
- Error creating machine HOT 13
- Lots of machines in cloud but only a few in docker-machine HOT 3
- Rancher - error scaling up servers HOT 7
- Rancher - VMs are not removed from Hetzner, when got storage
- Rancher - It is not possible to create Node/Clusters using RKE2/K3s, only RKE1 is available HOT 7
- Wait on srv.NextActions after creating server HOT 3
- Apple M3 Max HOT 1
- metadata.name: Invalid value: "hetzner_instrumentedconfig" HOT 3
- error installing docker HOT 3
- No UI in Rancher after 3.8.1 HOT 3
- Hetzer debian/ubuntu provisioning fails HOT 4
- Suggestion: `--hetzner-user-data-from-file` could be string instead of boolean HOT 4
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-hetzner.