← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1835304] Re: cloud-init runs before networking is up on OpenSUSE 15.1

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1835304

Title:
  cloud-init runs before networking is up on OpenSUSE 15.1

Status in cloud-init:
  Expired

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://private-fileshare.canonical.com/~ltrager/openSUSE-Leap-15.1-MAAS-rootfs.x86_64.tar.gz
  [2] https://download.opensuse.org/repositories/Cloud:/Images:/Leap_15.1/images/openSUSE-Leap-15.1-OpenStack-rootfs.x86_64.tar.xz

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1835304/+subscriptions


References