[FAILED] Failed to start Initial cloud-init job (pre-networking)

0

Hi!

I have an issue with a migrate instance from Azure to AWS. I do install the Kernel version for AWS in the instance (Ubuntu 18.04) and enabled the ENA support for that.

But when the Instance is starting the status check show an status 1/2.

In the registry of system in the console I can see the next error and logging into the instance via the EC2 Serial Console and run the next command the error displayed is:

Command: systemctl status cloud-init-local.service

Error displayed: ● cloud-init-local.service - Initial cloud-init job (pre-networking) Loaded: loaded (/lib/systemd/system/cloud-init-local.service; enabled; vendor Drop-In: /lib/systemd/system/cloud-init-local.service.d └─50-azure-clear-persistent-obj-pkl.conf Active: failed (Result: exit-code) since Fri 2022-02-25 01:28:39 UTC; 10min a Process: 875 ExecStart=/usr/bin/cloud-init init --local (code=exited, status=1 Process: 852 ExecStartPre=/bin/sh -xc if [ -e /var/lib/cloud/instance/obj.pkl Main PID: 875 (code=exited, status=1/FAILURE)

Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: Command: ['netplan', 'generate Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: Exit code: 1 Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: Reason: - Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: Stdout: Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: Stderr: /etc/netplan/51-netcfg Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: ethernets: Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: ^ Feb 25 01:28:41 UHP-ECOMM-US-DB2 cloud-init[875]: ------------------------------ Feb 25 01:28:39 UHP-ECOMM-US-DB2 systemd[1]: cloud-init-local.service: Failed wi Feb 25 01:28:39 UHP-ECOMM-US-DB2 systemd[1]: Failed to start Initial cloud-init

Can you help me?

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen