We’re running ESXi 6.7.0 (15160138) and vSphere 6.7.0 (15129973) together with Rancher v2.3.4. We’re able to successfully deploy new cluster(s) using CentOS7-based templates when provisioning the nodes. However, when we try to use v3.0 of Photon OS the provisioning process fails with an “Error creating machine: Error detecting OS: OS type not recognized” which I believe is a docker-machine error.
We’ve added the following to sshd_config:
- AllowTcpForwarding yes
- PermitRootLogin yes
- UsePAM yes
The template has open-vm-tools v10346 installed and Docker version 18.06.2 (6d37f41).
uname -a gives:
Linux 4.19.79-1.ph3-esx #1-photon SMP Tue Oct 22 23:53:27 UTC 2019 x86_64 GNU/Linux
During the provisioning phase we can see that Rancher is able to establish an ssh connection to the Photon-based VM and then waiting for the VMWare tools to start. After that it enters the provisioning phase and this error occurs. Any thoughts on what could be the problem here? Docker logs -f doesn’t give any clues.