Public bug reported:

====== [Bug Description] ======

C3-metal instances on Google Cloud fail to boot properly because cloud-
init runs before the network interface (NIC) is up. As a result, cloud-
init cannot detect any instance datasource.

The issue appears to be caused by a race condition where no eligible
network interfaces are present during the init-local stage when the GCE
datasource attempts metadata discovery.

====== [Reproducer] ======

1. Launch a c3-standard-192-metal machine on Google cloud.

2. Wait several minutes after the instance reaches running, then attempt
to SSH into the instance

You will see this error: Permission denied (publickey).

If you access the machine through the Google cloud console, you will see the 
following cloud-init errors:
 * No instance datasource found! Likely bad things to come!
 * Getting data from <class 
'cloudinit.sources.DataSourceGCE.DataSourceGCELocal'> failed

====== [Environment Details] ======

* Cloud-init version: cloud-init 25.3~2g890873f5-0ubuntu2
* Operating System Distribution: Ubuntu Questing (25.10) and Ubuntu Noble 
(24.04)
* Cloud provider, platform or installer type: Google
* Kernel: linux-image-6.17.0-1008-gcp

====== [Suggested Fixes] ======

Include the `IDPF` driver as a built-in module in the noble and questing
generic kernels.

====== [Related Links] ======

cloud-init bug: https://github.com/canonical/cloud-init/issues/6737

** Affects: linux-gcp (Ubuntu)
     Importance: Undecided
     Assignee: Leah Goldberg (goldberl)
         Status: New

** Summary changed:

- Network interface not available early in boot on c3-metal, causing metadata 
detection failures
+ Delayed NIC initialization on c3-metal leads to first-boot metadata failures

** Changed in: linux-gcp (Ubuntu)
     Assignee: (unassigned) => Leah Goldberg (goldberl)

-- 
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 c3-metal leads to first-boot metadata
  failures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-gcp/+bug/2144694/+subscriptions


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

Reply via email to