cloud-init runs before networking is up on OpenSUSE 15.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have created an OpenSUSE 15.1 image for MAAS[1] based on the OpenSUSE OpenStack image[2] from upstream. The changes I made to the image are as follows
1. I converted the image from a tar.xz to a tar.gz
2. I added /etc/resolv.conf to the image(LP:1834382). The Curtin hooks remove the file as OpenSUSE expects it to not be there.
3. Added Curtin hooks to allow for a flat storage layout and DHCP networking.
Curtin can successfully deploy the image however upon reboot it appears that cloud-init is running before networking is up. Because of this cloud-init cannot receive SSH keys or request user-data resulting in a deployment failure.
I modified my image[1] to set root's password to 'password' for debug purposes.
[1] https:/
[2] https:/
most interesting lines in your log are these:
2019-07-03 20:34:38,089 - stages.py[ERROR]: Unable to render networking. Network config is likely broken: No available network renderers found. Searched through list: ['eni', 'sysconfig', 'netplan']
2019-07-03 20:34:38,090 - main.py[DEBUG]: [local] Exiting without datasource