19.04 minimal images on GCE intermittently fail to set up networking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
High
|
Unassigned |
Bug Description
Related to https:/
A workaround was found to set up cloud-init service config:
/etc/systemd/
```
[Unit]
After=systemd-
[Service]
ExecStartPre=
```
The goal of this workaround is to:
1) ensure that cloud-init-
systemd-
udev coldplug events, like plugging in the nic)
2) Run udevadm settle before we start cloud-init local so that any
nic processing is completed before cloud-init starts looking for
a nic.
Currently this is only required on minimal images but there is a
chance it could occur in base images too should they boot quick
enough. Minimal disco does not have snap preseeding as base images do and
due to snap preseeding running before cloud-init it makes it extremely unlikely to
happen in base images.
I understand that cloud-init might not be the place to fix the issue for all images but I'd like to re-open this bug to start that discussion.
I have attached cloud-init logs, netplan yaml, image manifest and sosreports from an instance that failed to set up networking.
Changed in cloud-init: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: id-5c7fbddcf1364b63892a22c9 |
tags: | added: id-5c9d168ed6c5704cac05e595 |
tags: | added: id-5d0a33dc7c02f24574ae04aa |
For help in debugging I have attached a console of an instance that failed to set up networking