Coder Social home page Coder Social logo

Comments (6)

EugenMayer avatar EugenMayer commented on June 5, 2024

Just in case, that helps, upgraded to your machine driver version 1.4, but still getting the same issue

image

while ssh already works

ssh [email protected]
[rancher@w2 ~]$

from docker-machine-vultr.

EugenMayer avatar EugenMayer commented on June 5, 2024

Could it be related to the fact that i do not use a reservedIpID at all so rancher does not know the IP of the host being setup by vultr?

My data is:
region: 9 (Frankfurt)
ssh-key:
rancherosversion: 1.1.1
apikey:

anything else is blank / default

from docker-machine-vultr.

EugenMayer avatar EugenMayer commented on June 5, 2024

Last information, adding the host using the vultr driver, then removing the host in the rancher GUI, then ssh'ing into the host and using "custom host" to deploy a rancher agent will properly register the host with the rancher server. So there is basically all setup, just SSH seems to be broken.

What i ask myself though is, how is the machine-driver actually SSH-ing without having my SSH private key - i guess the ssh connection is used to deploy the rancher agent? Is a vultr api used for that? Kind of makes no sense here

from docker-machine-vultr.

byjg avatar byjg commented on June 5, 2024

I created the machine outside the Rancher GUI using the vultr machine driver 1.4.0 with the command below:

docker-machine create \
     --driver vultr --vultr-api-key=00000000 \
     --vultr-private-networking=true --vultr-ssh-key-id 0000000000 \
     my-machine

The machine was created and the SSH is OK. I can connect with the user "rancher" in the machine.

In the Rancher GUI interface I leave all parameters blank except the parameters I setup above.

So the list of problems I notice / have:

  • Rancher GUI is passing some king of parameter to Vultr Docker Machine Driver that the Vultr Driver does not recognize and it is causing the error;
  • The default user is "rancher" but in the Rancher GUI interface is "root" (This is only a note)
  • The interface eth1 on the machine created is UP but does not have any IP. I had to setup manually.

Version of the software I used:

  • Vultr Docker Machine Driver: 1.4.0
  • Ranche Server: v1.6.13

from docker-machine-vultr.

EugenMayer avatar EugenMayer commented on June 5, 2024

thanks to @superseb who found out that this can be fixed by just not providing a ssh-key at all!

from docker-machine-vultr.

egadgetjnr avatar egadgetjnr commented on June 5, 2024

Unfortunately the suggestion by @superseb doesn't work for me.

I've tried all combinations and keep getting the same issue of ssh not being available on the latest version of Rancher Server (v 2.0.2)

Any other suggestions?

from docker-machine-vultr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.