Open zhangsean opened 4 years ago
Using boot2docker
ISO from https://github.com/lnxbil/boot2docker/releases/tag/2018-09-16, docker-machine run end with successfully. After run eval $(docker-machine env pve)
, remote docker running normally. While remote .ssh/authorized_keys
doesn't contains my auth key $AUTH_KEYS
.
Why RancherOS con't start normally with this proxmoxve driver?
Using
boot2docker
ISO from https://github.com/lnxbil/boot2docker/releases/tag/2018-09-16, docker-machine run end with successfully. After runeval $(docker-machine env pve)
, remote docker running normally. While remote.ssh/authorized_keys
doesn't contains my auth key$AUTH_KEYS
. Why RancherOS con't start normally with this proxmoxve driver?
Hi, I have been quite busy and this driver is a work in progress. there some features that still are not working properly some of those functionalities are inherited from the original driver.
going to try to make some space to review this again.
I released a new version which works with the recent RancherOS version out-of-the-box. Please try that.
Hi @mhermosi,
Everything works well when starting docker machine with parameters --proxmoxve-guest-username docker ----proxmoxve-guest-password tcuser
but without parameters which start with --proxmoxve-guest-ssh
.
But it seems like unsecurity using the same password for all nodes.
Everything works well when starting docker machine with parameters
--proxmoxve-guest-username docker ----proxmoxve-guest-password tcuser
but without parameters which start with--proxmoxve-guest-ssh
.
That's the default, which can be omitted if you use the recent RancherOS Proxmox VE iso images.
But it seems like unsecurity using the same password for all nodes.
It's a limitation of the used OS, that sets the password, we only use it. Built your own RancherOS Iso with your password, provide it with the driver and you're golden.
Hi mhermosi,
I have got an error when starting a docker with
rancheros-proxmoxve-autoformat.iso
following the guide steps inReadme.md
, the error seems like I provide no password. As I know, RancherOS start with a userrancher
without password in console, there isn't a pretty ssh method unless create an password in console or wget ssh public key to rancher. So which private and public keys shoud I provide to creating a docker with RancherOS without manual steps in console? Btw, had you ever add this node driverdocker-machine-driver-proxmoxve
to Rancher 2.x and create a k8s cluster with it? Rancher 2.x will create some nodes in PVE cluster and start a k8s cluster automatically by your setting. I had test the feature with this driver, but got the same error.Thanks for helping!
Env:
Steps:
Logs: