Ubuntu 22.04 fails to bootstrap on Azure #386
Labels
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
sig/cluster-management
Denotes a PR or issue as being assigned to SIG Cluster Management.
Since a few days (2-3?), Ubuntu 22.04 fails to bootstrap on Azure. This was first detected in kubermatic/machine-controller#1790.
It turns out that for some unknown reason,
cloud-init init
no longer works during the bootstrap phase. Its failure mode is mysterious:No clear error message is presented ("just" warnings), but the command exits with exit code 1 anyway. It doesn't seem the code responsible for the last line should produce an error, so it's intransparent what is causing the failure.
https://github.com/canonical/cloud-init/blob/4ffde902befbd7eacedaba98d485540147e7bae0/cloudinit/net/activators.py#L33-L40
Workaround
It seems possible to create a custom OSP from the default
ubuntu-osp
and runcloud-init --local
before the real command. This is just considered a workaround and not for final inclusion in OSM, because we have zero idea why it works.The text was updated successfully, but these errors were encountered: