yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #59917
[Bug 1639930] Re: initramfs network configuration ignored if only ip6= on kernel command line
This bug was fixed in the package cloud-init - 0.7.8-49-g9e904bb-
0ubuntu1~16.04.2
---------------
cloud-init (0.7.8-49-g9e904bb-0ubuntu1~16.04.2) xenial-proposed; urgency=medium
* cherry-pick 18203bf: disk_setup: Use sectors as unit when formatting
MBR disks with sfdisk. (LP: #1460715)
* cherry-pick 6e92c5f: net/cmdline: Consider ip= or ip6= on command
line not only ip= (LP: #1639930)
* cherry-pick 8c6878a: tests: fix assumptions that expected no eth0 in
system. (LP: #1644043)
* cherry-pick 2d2ec70: OpenStack: extend physical types to include
hyperv, hw_veb, vhost_user. (LP: #1642679)
-- Scott Moser <smoser@xxxxxxxxxx> Thu, 01 Dec 2016 16:57:39 -0500
** Changed in: cloud-init (Ubuntu Xenial)
Status: Fix Committed => Fix Released
--
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/1639930
Title:
initramfs network configuration ignored if only ip6= on kernel command
line
Status in cloud-init:
Fix Committed
Status in MAAS:
New
Status in cloud-init package in Ubuntu:
Fix Released
Status in cloud-init source package in Xenial:
Fix Released
Status in cloud-init source package in Yakkety:
In Progress
Bug description:
=== Begin SRU Template ===
[Impact]
On a system booted with both ip6= and ip= on the kernel command line
cloud-init will raise an exception and fail to process user-data and
have its normal affect on boot.
That is because cloud-init previously raised an exception when more
than one file in /run/net*.conf declared the same DEVICE. Changes to
isc-dhcp and initramfs-tools have changed their behavior and cloud-init
has to adjust to allow DEVICE6= and DEVICE= in separate files.
[Test Case]
Boot a system on a network with both ipv4 and ipv6 dhcp servers,
and pass kernel command line with:
ip=dhcp ip6=dhcp
[Regression Potential]
Regression seems unlikely as this is relaxing a check. Where previously
an exception would have been raised, cloud-init will now go on.
So it seems most likely, something that didn't work before (due to raised
exception) would now still not work, but with failures. That is not
expected, but that would likely be where regressions were found.
=== End SRU Template ===
In changes made under bug 1621615 (specifically a1cdebdea), we now
expect that there may be a 'ip6=' argument on the kernel command line.
The changes made did not test the case where there is 'ip6=' and no
'ip='.
The code currently will return with no network configuration found if
there is only ip6=...
Related bugs:
* bug 1621615: network not configured when ipv6 netbooted into cloud-init
* bug 1621507: initramfs-tools configure_networking() fails to dhcp IPv6 addresses
* bug 1635716: Can't bring up a machine on a dual network (ipv4 and ipv6)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1639930/+subscriptions
References