diff options
| author | Egor Tensin <egor@tensin.name> | 2025-12-23 13:37:51 +0100 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2025-12-23 13:37:51 +0100 |
| commit | ec153f1be9ab26e87286960b5c598dfb3ea3ca81 (patch) | |
| tree | 06ad7bd7e7611d2d9ddd7c7af833a6a530ad9d8b | |
| parent | default to Ubuntu 24.04 (diff) | |
| download | infra-terraform-ec153f1be9ab26e87286960b5c598dfb3ea3ca81.tar.gz infra-terraform-ec153f1be9ab26e87286960b5c598dfb3ea3ca81.zip | |
Revert "yandex/server: work around cloud-init bug"
This reverts commit 7967fb4e39602f99cd40f56db5cfede6727b7177.
I don't want accomodate third-party buggy software.
| -rw-r--r-- | etc/cloud-init.cfg | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/etc/cloud-init.cfg b/etc/cloud-init.cfg index 2157684..6aa67d9 100644 --- a/etc/cloud-init.cfg +++ b/etc/cloud-init.cfg @@ -1,32 +1,8 @@ #cloud-config package_update: true -# FIXME: at some point the Yandex Cloud Debian 12 images started failing to -# finalize the cloud-init with a weird error: -# -# 2025-11-20 10:10:09,383 - util.py[DEBUG]: Cloud-init 22.4.2 received SIGTERM, exiting... -# Filename: /usr/lib/python3/dist-packages/cloudinit/config/cc_package_update_upgrade_install.py -# Function: _fire_reboot -# Line number: 77 -# Filename: /usr/lib/python3/dist-packages/cloudinit/config/cc_package_update_upgrade_install.py -# Function: handle -# Line number: 133 -# Filename: /usr/lib/python3/dist-packages/cloudinit/helpers.py -# Function: run -# Line number: 185 -# 2025-11-20 10:10:09,383 - handlers.py[DEBUG]: finish: modules-final/config-package-update-upgrade-install: FAIL: running config-package-update-upgrade-install with frequency once-per-instance -# 2025-11-20 10:10:09,383 - util.py[DEBUG]: Reading from /proc/uptime (quiet=False) -# 2025-11-20 10:10:09,384 - util.py[DEBUG]: Read 14 bytes from /proc/uptime -# 2025-11-20 10:10:09,384 - util.py[DEBUG]: cloud-init mode 'modules' took 179.940 seconds (179.78) -# 2025-11-20 10:10:09,384 - handlers.py[DEBUG]: finish: modules-final: FAIL: running modules for final -# -# This prevents the creation of /var/lib/cloud/instance/boot/finished, which -# I'm waiting for. A possible cause is here: -# https://github.com/canonical/cloud-init/issues/5944 -# Anyway, both false's should be changed to true's once this is fixed -# (possibly, by finally moving to Debian 13 on Yandex Cloud). -package_upgrade: false -package_reboot_if_required: false +package_upgrade: true +package_reboot_if_required: true users: - name: ${jsonencode(user)} |
