[Bug 1628306] Re: network booting fails for iscsi root if no ip is set
Scott Moser
smoser at ubuntu.com
Wed Oct 12 19:07:02 UTC 2016
(found bug 1631474)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1628306
Title:
network booting fails for iscsi root if no ip is set
Status in initramfs-tools package in Ubuntu:
Fix Released
Status in initramfs-tools source package in Xenial:
Fix Released
Status in initramfs-tools source package in Yakkety:
Fix Released
Bug description:
[Impact]
Remote-root installs (eg. / over iscsi and similar) where the configuration is simple, and no extra parameters are included on the kernel command-line (as opposed to MaaS specifying everything).
[Test case]
1) do an installation with /boot on a local disk and / and swap over a remote LUN (iSCSI is simple to do).
2) Update to initramfs-tools with isc-dhcp support.
[Regression potential]
This is in itself a fix for a regression found in initramfs-tools (0.125ubuntu4 on yakkety, or 0.122ubuntu8.2 on xenial). Failure to boot on a remote root filesystem would constitue a regression.
--
I did a new install with /boot on /dev/sda, and everything else (/ and
swap) on an iSCSI LUN.
Booting this with initramfs-tools using ipconfig works without issues.
Booting this with initramfs-tools (0.125ubuntu4 on yakkety, or
0.122ubuntu8.2 on xenial) fails because no interface is specified.
This appears to be because ipconfig interprets "" as meaning to try
every interface until one works (or all fail), whereas calling
dhclient without an interface name simply returns a failure.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1628306/+subscriptions
More information about the foundations-bugs
mailing list