Skip to content

the nodeadm agent is not processing user data and the node does not join the cluster

0

The AMI ID (ami-09ef91d9ab1f3f76c) region (us-west-2) Cloud-init Does NOT Process Karpenter User Data Instance Logs [=3h[=3h[=3h[=3h Booting `Amazon Linux (6.1.134-152.225.amzn2023.x86_64) 2023'

[ 0.067311] RETBleed: WARNING: Spectre v2 mitigation leaves CPU vulnerable to RETBleed attacks, data leaks possible! [ 4.431674] systemd-journald[934]: Received client request to flush runtime journal. [ 4.880203] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 4.904733] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 [ 4.906102] i8042: Warning: Keylock active [ 4.908217] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 4.908890] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 4.923659] ACPI: button: Power Button [PWRF] [ 4.924382] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 4.925346] ACPI: button: Sleep Button [SLPF] [ 4.929609] ena 0000:00:05.0: Elastic Network Adapter (ENA) v2.13.2g [ 4.941091] ena 0000:00:05.0: ENA device version: 0.10 [ 4.941821] ena 0000:00:05.0: ENA controller version: 0.0.1 implementation version 1 [ 5.042974] ena 0000:00:05.0: ENA Large LLQ is disabled [ 5.055847] ena 0000:00:05.0: Elastic Network Adapter (ENA) found at mem c0510000, mac addr aaaaa [ 5.117859] kauditd_printk_skb: 109 callbacks suppressed [ 5.117862] audit: type=1305 audit(1748276139.450:118): op=set audit_enabled=1 old=1 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1 [ 5.196216] RPC: Registered named UNIX socket transport module. [ 5.196923] RPC: Registered udp transport module. [ 5.197473] RPC: Registered tcp transport module. [ 5.198026] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 5.273640] ena 0000:00:05.0 ens5: renamed from eth0 [ 6.018519] ena 0000:00:05.0 ens5: Local page cache is disabled for less than 16 channels [ 7.913580] cloud-init[1606]: Cloud-init v. 22.2.2 running 'init' at Mon, 26 May 2025 16:15:42 +0000. Up 7.85 seconds. [ 8.050609] cloud-init[1606]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++ [ 8.052897] cloud-init[1606]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 8.054866] cloud-init[1606]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | [ 8.068722] cloud-init[1606]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 8.070629] cloud-init[1606]: ci-info: | ens5 | True | 140.1.71.149 | 255.255.248.0 | global | aaaaa | [ 8.084746] cloud-init[1606]: ci-info: | ens5 | True | fe80::9e:7cff:fef6:ef71/64 | . | link | aaaaa | [ 8.086717] cloud-init[1606]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . | [ 8.100717] cloud-init[1606]: ci-info: | lo | True | ::1/128 | . | host | . | [ 8.102693] cloud-init[1606]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+ [ 8.116703] cloud-init[1606]: ci-info: +++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++ [ 8.118413] cloud-init[1606]: ci-info: +-------+-------------+------------+-----------------+-----------+-------+ [ 8.132465] cloud-init[1606]: ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags | [ 8.134175] cloud-init[1606]: ci-info: +-------+-------------+------------+-----------------+-----------+-------+ [ 8.148461] cloud-init[1606]: ci-info: | 0 | 0.0.0.0 | 140.1.64.1 | 0.0.0.0 | ens5 | UG | [ 8.150159] cloud-init[1606]: ci-info: | 1 | 140.1.0.2 | 140.1.64.1 | 255.255.255.255 | ens5 | UGH | [ 8.164475] cloud-init[1606]: ci-info: | 2 | 140.1.64.0 | 0.0.0.0 | 255.255.248.0 | ens5 | U | [ 8.166164] cloud-init[1606]: ci-info: | 3 | 140.1.64.1 | 0.0.0.0 | 255.255.255.255 | ens5 | UH | [ 8.176492] cloud-init[1606]: ci-info: +-------+-------------+------------+-----------------+-----------+-------+ [ 8.178202] cloud-init[1606]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++ [ 8.192195] cloud-init[1606]: ci-info: +-------+-------------+---------+-----------+-------+ [ 8.193633] cloud-init[1606]: ci-info: | Route | Destination | Gateway | Interface | Flags | [ 8.208193] cloud-init[1606]: ci-info: +-------+-------------+---------+-----------+-------+ [ 8.209668] cloud-init[1606]: ci-info: | 0 | fe80::/64 | :: | ens5 | U | [ 8.224204] cloud-init[1606]: ci-info: | 2 | local | :: | ens5 | U | [ 8.225718] cloud-init[1606]: ci-info: | 3 | multicast | :: | ens5 | U | [ 8.240208] cloud-init[1606]: ci-info: +-------+-------------+---------+-----------+-------+ [ 8.680625] cloud-init[1606]: 2025-05-26 16:15:43,023 - init.py[WARNING]: Unhandled unknown content-type (application/node.eks.aws) userdata: 'b'# Karpenter Generated No'...' [ 9.394733] cloud-init[1606]: Generating public/private ed25519 key pair. [ 9.396053] cloud-init[1606]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key [ 9.397544] cloud-init[1606]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub [ 9.412279] cloud-init[1606]: The key fingerprint is: [ 9.413187] cloud-init[1606]: SHA256:fR/N0LXQzYx6R17MIk+rr+QjZdml9pRRUshXw0D37JU root@iaaaaa.internal [ 9.415069] cloud-init[1606]: The key's randomart image is: [ 9.427778] cloud-init[1606]: +--[ED25519 256]--+ [ 9.428673] cloud-init[1606]: | .=+@| [ 9.429538] cloud-init[1606]: | . X=^| [ 9.430400] cloud-init[1606]: | =.EB| [ 9.443634] cloud-init[1606]: | . . +=| [ 9.444481] cloud-init[1606]: | S . .=.+| [ 9.445323] cloud-init[1606]: | .=.+o.| [ 9.446160] cloud-init[1606]: | o.o.o | [ 9.459613] cloud-init[1606]: | .o. . .| [ 9.460504] cloud-init[1606]: | .oo | [ 9.461347] cloud-init[1606]: +----[SHA256]-----+ [ 9.462174] cloud-init[1606]: Generating public/private ecdsa key pair. [ 9.475864] cloud-init[1606]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key [ 9.477311] cloud-init[1606]: Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub [ 9.484199] cloud-init[1606]: The key fingerprint is: [ 9.485101] cloud-init[1606]: SHA256:Exn/tTO1TGODWExq9GyU4AXYhxZZM1JT1DvDXaMq1og root@aaaaa.internal [ 9.486966] cloud-init[1606]: The key's randomart image is: [ 9.499697] cloud-init[1606]: +---[ECDSA 256]---+ [ 9.500575] cloud-init[1606]: | . o@@+o.| [ 9.501419] cloud-init[1606]: | =o=X+=.o| [ 9.502244] cloud-init[1606]: | o o=.=+=*| [ 9.515653] cloud-init[1606]: | ....o+B=| [ 9.516511] cloud-init[1606]: | S o o +oo| [ 9.517354] cloud-init[1606]: | E = o o | [ 9.518190] cloud-init[1606]: | . . | [ 9.531605] cloud-init[1606]: | | [ 9.532456] cloud-init[1606]: | | [ 9.533279] cloud-init[1606]: +----[SHA256]-----+ [ 10.044035] cloud-init[1687]: Cloud-init v. 22.2.2 running 'modules:config' at Mon, 26 May 2025 16:15:44 +0000. Up 9.95 seconds. [ 10.834081] cloud-init[1696]: Cloud-init v. 22.2.2 running 'modules:final' at Mon, 26 May 2025 16:15:45 +0000. Up 10.74 seconds. ci-info: no authorized SSH keys fingerprints found for user ec2-user. <14>May 26 16:15:45 cloud-init: ############################################################# <14>May 26 16:15:45 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS----- <14>May 26 16:15:45 cloud-init: 256 SHA256:Exn/tTO1TGODWExq9GyU4AXYhxZZM1JT1DvDXaMq1og root@aaaaa.internal (ECDSA) <14>May 26 16:15:45 cloud-init: 256 SHA256:fR/N0LXQzYx6R17MIk+rr+QjZdml9pRRUshXw0D37JU root@aaaaa.internal (ED25519) <14>May 26 16:15:45 cloud-init: -----END SSH HOST KEY FINGERPRINTS----- <14>May 26 16:15:45 cloud-init: ############################################################# -----BEGIN SSH HOST KEY KEYS----- ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLzHQmOh8JjWZUxxr9UVdjQllKrPQK9SEooHR9mz/PPeRTTNkLHofXh5pFUHJyLmu0qr7J9Nu0meOc8J4KouCMo= root@iaaaaa.internal ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKnhxhPwQISGbVxuAJr0g3njBzfn/a4GDG3cCNj2iGot root@aaaa.internal -----END SSH HOST KEY KEYS----- [ 11.170105] cloud-init[1696]: Cloud-init v. 22.2.2 finished at Mon, 26 May 2025 16:15:45 +0000. Datasource DataSourceEc2. Up 11.14 seconds 2025/05/26 16:15:46Z: Amazon SSM Agent v3.3.1957.0 is running 2025/05/26 16:15:46Z: OsProductName: Amazon Linux 2025/05/26 16:15:46Z: OsVersion: 2023

Amazon Linux 2023.7.20250512 Kernel 6.1.134-152.225.amzn2023.x86_64 on an x86_64 (-)

asked a year ago957 views

2 Answers
4

Would suggest take a look at this:

  1. Use a Supported AMI or Custom Bootstrapping
  • Use an official EKS-optimized AMI or one that explicitly supports Karpenter/nodeadm user data processing.
  • If you must use Amazon Linux 2023, consider customizing the AMI to include a cloud-init module or a systemd unit that processes the application/node.eks.aws block manually.
  1. Workaround (Manual Bootstrap)
  • As a workaround, you can add a cloud-init runcmd or bootcmd section to your user data that explicitly invokes nodeadm with the correct configuration, bypassing the content-type issue.
  1. Monitor for Future AMI Updates
EXPERT

answered a year ago

0

Hi,

I'm experiencing the same problem:

EC2 instance log reports: "init.py[WARNING]: Unhandled unknown content-type (application/node.eks.aws) userdata: 'b'---'...'"

on EKS instance is showing as EKS Node, but reporting:

Ready / False / container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized

I'm using an official EKS-optimized AMI:

ami-0bf06563169a5a1b9 amazon/amazon-eks-node-al2023-x86_64-standard-1.33-v20250801 EKS-optimized Kubernetes node based on Amazon Linux 2023, (k8s: 1.33.0, containerd: 1.7.*)

Wouldn't expect that a manual bootstrap would be required, being this an "EKS-optimized Kubernetes node".

Any suggestions?

Thanks, Jorge Silva

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.