cloud-init, cloud-init-local, cloud-config and cloud-final services failed to start after Ubuntu 20.04 upgrade  [SOLVED]

Locked
User avatar
hexacube
Posts: 18
Joined: Mon 27. Jul 2020, 09:48
Location: India
Contact:

cloud-init, cloud-init-local, cloud-config and cloud-final services failed to start after Ubuntu 20.04 upgrade  [SOLVED]

Post by hexacube »

The following services failed to start after upgrading to Ubuntu 20.04 In GCP VM. The solution to fix this issue is provided below:

The solution is to reinitialize cloud-init. This was done by running following commands:

Code: Select all

sudo DI_LOG=stderr /usr/lib/cloud-init/ds-identify --force

sudo cloud-init clean --logs

sudo cloud-init init --local

sudo cloud-init init

reboot
After reboot, the services were running smoothly. People looking fix for same kind of trouble make use of it. Thank You.
Locked