Hi, everyone . I’m new to the Rancher universe and i’m trying to deploy Kubernetes cluster on top of an vSphere infrastructure.
I have two nodes templates using rancheros-vmware iso.
I Provide a cloud-config.yml file with just a SSH Key.
Rancher Version
[v2.2.2]
Config-File
ssh_authorized_keys:
- ssh-rsa [My-Key]
Image of RancherOS
https://github.com/rancher/os/releases/download/v1.5.1/rancheros-vmware.iso
Logs
2019/04/17 09:50:54 [INFO] stdout: (mmm1)
2019/04/17 09:50:54 [INFO] (mmm1)
2019/04/17 09:50:55 [INFO] stdout: (mmm1) Waiting for VMware Tools to come online…
2019/04/17 09:50:55 [INFO] (mmm1) Waiting for VMware Tools to come online…
2019/04/17 09:50:56 [INFO] stdout: (www1) adding network: VLAN_2402
2019/04/17 09:50:56 [INFO] (www1) adding network: VLAN_2402
2019/04/17 09:50:56 [INFO] stdout: (www1) Reconfiguring VM
2019/04/17 09:50:56 [INFO] (www1) Reconfiguring VM
2019/04/17 09:50:57 [INFO] stdout: (www1) Setting disk.enableUUID to TRUE
2019/04/17 09:50:57 [INFO] (www1) Setting disk.enableUUID to TRUE
2019/04/17 09:50:57 [INFO] stdout: (www1) setting guestinfo.cloud-init.data.url to http://172.16.29.61/config.yml
2019/04/17 09:50:57 [INFO] (www1) setting guestinfo.cloud-init.data.url to http://172.16.29.61/config.yml
2019/04/17 09:50:57 [INFO] stdout: (www1)
2019/04/17 09:50:57 [INFO] (www1)
2019/04/17 09:50:58 [INFO] stdout: (www1) Waiting for VMware Tools to come online…
2019/04/17 09:50:58 [INFO] (www1) Waiting for VMware Tools to come online…
2019/04/17 09:51:57 [INFO] stdout: (mmm1) Provisioning certs and ssh keys…
2019/04/17 09:51:57 [INFO] (mmm1) Provisioning certs and ssh keys…
2019/04/17 09:51:58 [INFO] stdout: Waiting for machine to be running, this may take a few minutes…
2019/04/17 09:51:58 [INFO] Waiting for machine to be running, this may take a few minutes…
2019/04/17 09:51:58 [INFO] stdout: Detecting operating system of created instance…
2019/04/17 09:51:58 [INFO] Detecting operating system of created instance…
2019/04/17 09:51:58 [INFO] stdout: Waiting for SSH to be available…
2019/04/17 09:51:58 [INFO] Waiting for SSH to be available…
2019/04/17 09:52:07 [INFO] stdout: (www1) Provisioning certs and ssh keys…
2019/04/17 09:52:07 [INFO] (www1) Provisioning certs and ssh keys…
2019/04/17 09:52:08 [INFO] stdout: Waiting for machine to be running, this may take a few minutes…
2019/04/17 09:52:08 [INFO] Waiting for machine to be running, this may take a few minutes…
2019/04/17 09:52:08 [INFO] stdout: Detecting operating system of created instance…
2019/04/17 09:52:08 [INFO] Detecting operating system of created instance…
2019/04/17 09:52:08 [INFO] stdout: Waiting for SSH to be available…
2019/04/17 09:52:08 [INFO] Waiting for SSH to be available…
So I get my nodes into provisionning state, stuck on Waiting for SSH to be available…
From the host running Rancher container, I can ssh the nodes created as rancher user, but it asks for password.
Also the .ssh/authorized_keys from both root and rancher is empty (not created).
Do you guys have any idea ?
Kind Regards.