Activity log for bug #1592149

Date Who What changed Old value New value Message
2016-06-13 20:12:49 Scott Moser bug added bug
2016-06-13 20:14:17 Scott Moser attachment added boot-serial.log https://bugs.launchpad.net/curtin/+bug/1592149/+attachment/4683176/+files/boot-serial.log
2016-06-13 20:14:35 Scott Moser attachment added boot-xkvm.out https://bugs.launchpad.net/curtin/+bug/1592149/+attachment/4683177/+files/boot-xkvm.out
2016-06-13 20:14:50 Scott Moser attachment added install-launch.out https://bugs.launchpad.net/curtin/+bug/1592149/+attachment/4683178/+files/install-launch.out
2016-06-13 20:15:03 Scott Moser attachment added install-serial.log https://bugs.launchpad.net/curtin/+bug/1592149/+attachment/4683179/+files/install-serial.log
2016-06-13 20:19:32 Scott Moser curtin: importance Undecided Medium
2016-06-13 20:19:32 Scott Moser curtin: status New In Progress
2016-06-13 20:19:32 Scott Moser curtin: assignee Scott Moser (smoser)
2016-06-13 20:26:21 Launchpad Janitor branch linked lp:~smoser/curtin/trunk.1592149
2016-06-14 13:57:07 Launchpad Janitor branch linked lp:curtin
2016-07-12 16:14:48 Launchpad Janitor branch linked lp:~raharper/ubuntu/xenial/curtin/pkg-sru-revno399
2016-07-12 16:33:34 Launchpad Janitor branch linked lp:~smoser/ubuntu/yakkety/curtin/pkg
2016-07-12 16:33:46 Launchpad Janitor branch linked lp:~raharper/ubuntu/xenial/curtin/pkg-sru-revno399
2016-07-12 22:01:04 Ryan Harper curtin: status In Progress Fix Committed
2016-07-12 22:03:25 Ryan Harper description I ran nosetests3 -v tests/vmtests/test_basic.py:XenialTestBasic and was seeing failures. That does an install without network config, so it relies on 'net-meta' of 'auto'. The install worked, but boot failed as networking was not configured. The issue is that the net-meta was writing /etc/network/interfaces file, but no udev rules or other mechanism to ensure that the device got the same name in the new environment. That, coupled with a change in the commands between 'launch' and 'xkvm' meant that the install environment named the device 'ens3' and the installed environment 'ens4'. I'll attach logs just for completeness. [Impact] * Users which do not use a customized network configuration rely on curtin's fallback/automatic configuration. On Xenial and newer systems the network configuration that is generated doesn't always work due to the persistent nic names which do not match between initial install environment and booting the system after installation. This affects all curtin releases which use auto configure networking and an Ubuntu release which uses persistent network device nameing. * This SRU resolves the bug by ensuring auto configured networking includes nic naming rules to ensure the network device names match what is generated in the config. [Test Case] * On a Xenial 16.04 system - % apt-get install curtin - % OUTPUT_NETWORK_CONFIG=rendered-eni curtin net-meta -t /tmp auto FAIL: Systems with the error will print an interfaces file to stdout PASS: Systems with the fix with emit host networking config to the file "rendered-eni" and produces no output to stdout. [Regression Potential] * Users that use auto configuration may find that the persistent nic names in the target system are no longer ethN, but named based on location. [Original Description] I ran  nosetests3 -v tests/vmtests/test_basic.py:XenialTestBasic and was seeing failures. That does an install without network config, so it relies on 'net-meta' of 'auto'. The install worked, but boot failed as networking was not configured. The issue is that the net-meta was writing /etc/network/interfaces file, but no udev rules or other mechanism to ensure that the device got the same name in the new environment. That, coupled with a change in the commands between 'launch' and 'xkvm' meant that the install environment named the device 'ens3' and the installed environment 'ens4'. I'll attach logs just for completeness.
2016-07-13 13:57:21 Martin Pitt bug task added curtin (Ubuntu)
2016-07-13 13:57:39 Martin Pitt nominated for series Ubuntu Xenial
2016-07-13 13:57:39 Martin Pitt bug task added curtin (Ubuntu Xenial)
2016-07-13 13:57:53 Martin Pitt curtin (Ubuntu): status New Fix Released
2016-07-13 13:58:51 Martin Pitt curtin (Ubuntu Xenial): status New Fix Committed
2016-07-13 13:58:52 Martin Pitt bug added subscriber Ubuntu Stable Release Updates Team
2016-07-13 13:58:58 Martin Pitt bug added subscriber SRU Verification
2016-07-13 13:59:01 Martin Pitt tags verification-needed
2016-07-19 19:06:54 Launchpad Janitor branch linked lp:~smoser/ubuntu/trusty/curtin/trusty-proposed
2016-07-21 19:16:19 Brian Murray curtin (Ubuntu Trusty): status New Fix Committed
2016-07-28 15:13:56 Andres Rodriguez tags verification-needed verification-done
2016-08-17 13:01:18 Launchpad Janitor curtin (Ubuntu Xenial): status Fix Committed Fix Released
2016-08-17 13:01:39 Chris J Arges removed subscriber Ubuntu Stable Release Updates Team
2016-08-17 13:01:50 Launchpad Janitor curtin (Ubuntu Trusty): status Fix Committed Fix Released
2017-12-15 22:10:35 Scott Moser curtin: status Fix Committed Fix Released