sguyennet / terraform-vsphere-kubespray

Deploy a Kubernetes HA cluster on VMware vSphere
https://blog.inkubate.io/install-and-manage-automatically-a-kubernetes-cluster-on-vmware-vsphere-with-terraform-and-kubespray/
Apache License 2.0
174 stars 89 forks source link

Terraform fails waiting for IP #17

Closed ebbeelsborg closed 4 years ago

ebbeelsborg commented 4 years ago

First of all: Thanks for making the TF and the guide available; it looks just like the thing I'm looking for.

I've followed the blog post very closely, but Terraform fails when applying:

Error: timeout waiting for an available IP address

on vsphere-kubespray.tf line 556, in resource "vsphere_virtual_machine" "haproxy": 556: resource "vsphere_virtual_machine" "haproxy" {

Error: error cloning virtual machine: A general system error occurred: internal error

on vsphere-kubespray.tf line 556, in resource "vsphere_virtual_machine" "haproxy": 556: resource "vsphere_virtual_machine" "haproxy" {

VMs can be created successfully and receive IPs via DHCP. I've tried some combinations of TF options as mentioned in https://github.com/terraform-providers/terraform-provider-vsphere/issues/718, but without luck.

Any ideas? What info would you need?

We're using ESXi 6.7 and VMWare Tools 10304 (Guest Managed).

ebbeelsborg commented 4 years ago

I managed to work around it; it required a small tweak to the TF because of our vSphere setup. Closing this issue.

nicosma commented 3 years ago

Hi,

I have the same issue. Could you share what is the tweak that you performed ?

Thanks!

yomofo2s commented 3 years ago

Hello I also have the similar issue. It would be nice to have the workaround.

Screenshot 2021-04-18 150014