re-add cloud-initramfs-dyn-netconf to ubuntu-server

Bug #1750851 reported by Scott Moser on 2018-02-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-meta (Ubuntu)
Medium
Unassigned

Bug Description

I (smoser) removed cloud-initramfs-dyn-netconf from ubuntu-server meta
package. That package provides functionality needed by MAAS and cause bug
1748875
. Under that bug we re-added cloud-initramfs-dyn-netconf to the
initramfs that MAAS publishes.

We subsequently saw failure in open-iscsi tests, which utilize that same
function.

My commit message to the fix of maas-images is below for informational
purposes [1]:
  [1] https://code.launchpad.net/~smoser/maas-images/trunk.lp1749019-re-add-cloud-intramfs-dyn-netconf/+merge/337605

'b' is *also* used by the open-iscsi use case. It boots with a slightly
different form than maas images:
  BOOTIF_DEFAULT=eth0 and ip=:::::name:BOOTIF

Here, 'BOOTIF' will be replaced with 'eth0'.

| Re-add cloud-initramfs-dyn-netconf. Needed by maas for BOOTIF in ip=.
|
| The previous commit to trunk dropped cloud-initramfs-dyn-netconf from
| the maas image in releases newer than xenial.
|
| That caused errors in MAAS. cloud-initramfs-dyn-netconf does 2 things:
| a.) writes /run/network/dynamic-interfaces
| this is a ENI style file with data retrived from ipconfig
| b.) convert 'BOOTIF' string in the value of IP
| Example:
| ip=::::foobar:BOOTIF BOOTIF=01-00-22-68-10-c1-e6
| will be effectively rendered as:
| ip=::::foobar:eth0
|
| 'b' is still required by maas.
|
| Note: in maas v3 images, the squashfs image is re-used pristine
| from cloud-images. Because of this, the installation into the image
| affects initramfs creation, but does not affect the image. That is
| correct in that this package is not needed in the image but only
| in the initramfs.

Related bugs:
 * bug 1748875: Unable to deploy Bionic on bare-metals with MaaS 2.3.0

Scott Moser (smoser) wrote :

Marked as 'fix-committed' as I pushed to the seed branch.
I need to wait for some server side things to happen before I can upload ubuntu-meta,

but any ubuntu-meta > 1.411 should have this fix.

Changed in ubuntu-meta (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-meta - 1.411

---------------
ubuntu-meta (1.411) bionic; urgency=medium

  * Refreshed dependencies
  * Added cloud-initramfs-dyn-netconf to server (LP: #1750851)
  * Added printer-driver-m2300w to desktop-recommends
  * Removed gnome-calculator from desktop-recommends
  * Removed ttf-ancient-fonts-symbola from desktop-recommends

 -- Scott Moser <email address hidden> Thu, 22 Feb 2018 09:53:43 -0500

Changed in ubuntu-meta (Ubuntu):
status: Fix Committed → Fix Released
Scott Moser (smoser) wrote :

cloud-images 20180222 do *not* have cloud-initramfs-dyn-netconf or ubuntu-meta at 1.411.
That is expected as it just wasnt fixed at the time of the build.

Anything newer than 20180222 should have this fixed.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers