nocloud-net datasource attempts to read seed url before network is set up
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| cloud-init |
Expired
|
High
|
Unassigned | ||
Bug Description
I'm using the nocloud-net data source with Ubuntu 22.04 server (ubuntu-
In my particular use case it takes about ten seconds until the network interface is configured (maybe the DHCP server is a bit slow). Meanwhile, the nocloud-net data source will do ten retries to download the meta-data URL (with 1 second delay between retries). So there is a race; and as result the auto-installation will only work in a few cases.
I'm booting the auto-install system with a kernel command line ending like "ds=nocloud-net\;s=http://
I'll try to save and transfer the cloud-init.log file next time this happens.
| Changed in cloud-init: | |
| status: | New → Triaged |
| importance: | Undecided → High |

it would be nice to somehow support datasource config options in NoCloud for: openstack/ cloudstack do
max_wait, retries and timeout like other datasources ec2/gce/