open-nomad/e2e/terraform/userdata
Tim Gross d686a51d60
e2e: prevent Ubuntu startup race conditions (#9428)
The cloud-init configuration runs on boot, which can result in a race
condition between that and service startup. This has caused provisioning
failures because Nomad expects the userdata to have configured a host volume
directory. Diagnosing this was also compounded by a warning being fired by
systemd for the Nomad unit file.

* Update the location of the `StartLimitIntervalSec` field to it's
  post-systemd-230 location.
* Ensure that the weekly AMI build is up-to-date to reduce the risk of
  unexpected system software changes.
* Move the host volume to a directory we can set up at AMI build time rather
  than in userdata.
2020-11-23 12:29:08 -05:00
..
README.md E2E AMI cleanup (#8697) 2020-08-20 10:09:31 -04:00
ubuntu-bionic.sh e2e: prevent Ubuntu startup race conditions (#9428) 2020-11-23 12:29:08 -05:00
windows-2016.ps1 e2e: documentation and minor tweaks to configs (#8912) 2020-09-17 09:20:18 -04:00

userdata

These scripts are copied up to instances via Terraform provisioning and executed once on first boot by cloud-init. Userdata scripts should contain configuration specific to an instance but not configuration specific to a given deployment of Nomad.