equinix / terraform-equinix-metal-anthos-on-vsphere

[Deprecated] Automated Anthos Installation via Terraform for Equinix Metal with vSphere
https://registry.terraform.io/modules/equinix/anthos-on-vsphere/metal/latest
Apache License 2.0
63 stars 41 forks source link

Prevent unattended-upgrades from blocking apt-get install #82

Closed displague closed 2 months ago

displague commented 4 years ago

As noted in the README.md Troubleshooting tips:

Occasionally the Ubuntu automatic unattended-upgrades will run at an unfortunate time and lock apt while the script is attempting to run.

null_resource.download_vcenter_iso (remote-exec): E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

Currently, should this happen, the best resolution is to clean up your deployment and try again.

Prevent this collision by disabling unattended-upgrades until the installation is complete. This may require preconfiguring the package (cloud-init) so it doesn't activate on install.

displague commented 4 years ago

Noting here, that the README.md troubleshooting tips should be updated when this is fixed.

I'm also noting that the README.md should be updated to include a message about this failed to provision error state:

Error: Device in non-active state "failed"