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

Setup wiki (And Ubuntu 18.04.2 LTS helpful information) #10

Open fbjerggaard opened 5 years ago

fbjerggaard commented 5 years ago

Just an idea: Create a wiki on this repo to share knowledge on resolutions to common problems.

One example that would be what I discovered when trying out your fantastic script on Ubuntu 18.04.2 LTS:

In the file /lib/systemd/system/open-vm-tools.service add the following line in the [Unit] section:

After=systemd-remount-fs.service systemd-tmpfiles-setup.service dbus.service

Also, in the file /usr/lib/tmpfiles.d/tmp.conf comment the following line:

D /tmp 1777 root root -

This prevents some race conditions and errors during customization of the Ubuntu guest OS.

Tested with Ubuntu 18.04.2 LTS and vSphere 6.7

Sources: https://kb.vmware.com/s/article/56409?lang=en_US https://github.com/vmware/open-vm-tools/issues/208 - Specifically: https://github.com/bzed/pkg-open-vm-tools/commit/e4697c7880b7167b4365fdf40241ed7a1e5a2536