########## Verification for AWS Resolute ##########

Tested on hpc7a.96xlarge Ubuntu 26.04 LTS
Verified fix with linux-aws/7.0.0-1007.7 kernel in -proposed.

# ========== Before enabling -proposed ==========

ubuntu@ip-172-31-24-26:~$ uname -r
7.0.0-1001-aws

# cloud-init status

ubuntu@ip-172-31-24-26:~$ cloud-init status --l
status: done
extended_status: degraded done
boot_status_code: enabled-by-generator
last_update: Thu, 01 Jan 1970 00:06:07 +0000
detail: DataSourceNone
errors: []
recoverable_errors:
ERROR:
        - Unable to get response from urls: 
['http://169.254.169.254/latest/api/token', 
'http://[fd00:ec2::254]/latest/api/token']
        - Unable to get metadata
        - The instance must have at least one eligible NIC

# order of events in journal logs (ENA is found after local stage
starts)

[5.738145] ip-172-31-24-26 systemd[1]: Starting cloud-init-local.service - 
Cloud-init: Local Stage (pre-network)...
[5.802453] ip-172-31-24-26 cloud-init[1704]: 2026-06-15 14:56:21,326 - 
DataSourceEc2.py[ERROR]: The instance must have at least one eligible NIC
[7.867106] ip-172-31-24-26 kernel: ena 0000:22:00.0: Elastic Network Adapter 
(ENA) found at mem c7d00000, mac addr 06:d4:a5:82:b5:95

# ============= enabling -proposed =============

sudo apt update
sudo apt install -y software-properties-common

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu/ resolute-
proposed main restricted universe multiverse"

sudo apt update
sudo apt install linux-aws -t resolute-proposed

# ========== After enabling -proposed ==========

ubuntu@ip-172-31-24-26:~$ uname -r
7.0.0-1007-aws

# cloud-init status

ubuntu@ip-172-31-24-26:~$ cloud-init status --l
status: done
extended_status: done
boot_status_code: enabled-by-generator
last_update: Thu, 01 Jan 1970 00:00:33 +0000
detail: DataSourceEc2Local
errors: []
recoverable_errors: {}

# order of events in journal logs (ENA is found before local stage
starts)

[22.550292] ip-172-31-24-26 kernel: ena 0000:22:00.0: Elastic Network Adapter 
(ENA) found at mem c7d00000, mac addr 06:d4:a5:82:b5:95
[25.730516] ip-172-31-24-26 systemd[1]: Starting cloud-init-local.service - 
Cloud-init: Local Stage (pre-network)...

** Tags removed: verification-needed-resolute-linux-aws
** Tags added: verification-done-resolute-linux-aws

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144694

Title:
  Delayed NIC initialization on AWS and GCP instances lead to first-boot
  metadata failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/2144694/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to