Giter Site home page Giter Site logo

Comments (2)

lnxbil avatar lnxbil commented on June 19, 2024 1

It works for the RancherOS Integration in #8 as follows (direct API calls from the PVE host itself just for testing):

$ pvesh create /nodes/proxmox/qemu/109/agent/exec -command mkdir -command "-p" -command /home/rancher/.ssh
$ pvesh create /nodes/proxmox/qemu/109/agent/file-write -content "ssh-rsa AAAAB<further-key>" -file "/home/rancher/.ssh/authorized_keys"
$ pvesh create /nodes/proxmox/qemu/109/agent/exec -command chmod -command 600 --command -command /home/rancher/.ssh/authorized_keys
$ pvesh create /nodes/proxmox/qemu/109/agent/exec -command chmod -command 600 -command /home/rancher/.ssh/authorized_keys

Afterwards I'm able to login:

$ ssh -i $HOME/.docker/machine/machines/docker-rancher/id_rsa [email protected] hostname
rancher

Now we could call the endpoints in GO and setup directly though the qemu-guest-agent.

from docker-machine-driver-proxmox-ve.

BitStab avatar BitStab commented on June 19, 2024

Hi,

we are encountering exactly this problem in #8
Error creating machine: Error in driver during machine creation: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

if we launch the commands of your latest comment, the SSH keys are copied and it all works as expected and we are able to login.
BUT:
An automatic provisioning/deployment of a new requested machine is not possible without those manual commands.
Did you already modify the driver so it works throught qemu-guest-agent? We can't get any positive results with the latest release (V3).

from docker-machine-driver-proxmox-ve.

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.