[Bug 1750851] Re: re-add cloud-initramfs-dyn-netconf to ubuntu-server
Launchpad Bug Tracker
1750851 at bugs.launchpad.net
Wed Feb 21 17:06:25 UTC 2018
** Branch linked: lp:~ubuntu-core-dev/ubuntu-seeds/ubuntu.bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/1750851
Title:
re-add cloud-initramfs-dyn-netconf to ubuntu-server
Status in ubuntu-meta package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/1750851/+subscriptions
More information about the foundations-bugs
mailing list