2015-11-03 15:25:08 |
brian mullan |
bug |
|
|
added bug |
2015-11-03 15:59:32 |
Stéphane Graber |
affects |
lxc (Ubuntu) |
network-manager (Ubuntu) |
|
2015-11-03 15:59:32 |
Stéphane Graber |
network-manager (Ubuntu): importance |
Undecided |
Critical |
|
2015-11-03 15:59:32 |
Stéphane Graber |
network-manager (Ubuntu): status |
New |
Triaged |
|
2015-11-03 15:59:56 |
Stéphane Graber |
nominated for series |
|
Ubuntu Xenial |
|
2015-11-03 15:59:56 |
Stéphane Graber |
bug task added |
|
network-manager (Ubuntu Xenial) |
|
2015-11-03 15:59:56 |
Stéphane Graber |
nominated for series |
|
Ubuntu Wily |
|
2015-11-03 15:59:56 |
Stéphane Graber |
bug task added |
|
network-manager (Ubuntu Wily) |
|
2015-11-03 16:00:02 |
Stéphane Graber |
network-manager (Ubuntu Wily): status |
New |
Triaged |
|
2015-11-03 16:00:05 |
Stéphane Graber |
network-manager (Ubuntu Wily): importance |
Undecided |
Critical |
|
2015-11-03 16:00:17 |
Stéphane Graber |
tags |
|
regression-release |
|
2015-11-03 16:56:28 |
Stéphane Graber |
bug task added |
|
lxc (Ubuntu) |
|
2015-11-03 16:56:35 |
Stéphane Graber |
lxc (Ubuntu Wily): status |
New |
Triaged |
|
2015-11-03 16:56:37 |
Stéphane Graber |
lxc (Ubuntu Xenial): status |
New |
Triaged |
|
2015-11-03 16:56:40 |
Stéphane Graber |
lxc (Ubuntu Wily): importance |
Undecided |
Critical |
|
2015-11-03 16:56:41 |
Stéphane Graber |
lxc (Ubuntu Xenial): importance |
Undecided |
Critical |
|
2015-11-03 19:35:04 |
Jon Grimm |
bug |
|
|
added subscriber Jon Grimm |
2015-11-03 20:42:01 |
Launchpad Janitor |
branch linked |
|
lp:~network-manager/network-manager/ubuntu |
|
2015-11-03 21:15:23 |
Stéphane Graber |
lxc (Ubuntu Wily): status |
Triaged |
Invalid |
|
2015-11-03 21:15:26 |
Stéphane Graber |
lxc (Ubuntu Xenial): status |
Triaged |
Invalid |
|
2015-11-03 21:19:00 |
Stéphane Graber |
description |
After initial upgrade from Ubuntu 15.04 to Ubuntu 15.10 LXC worked for a couple days then failed. I found that the lxcbr0 interface no longer existed.
I reported this on the lxc-user alias and about the same time several others had this happen to them also.
Serge Hallyn requested I open a launchpad bug and post some info but before I could gather that info the system returned to normal (re lxcbr0 was back) the next day after the server was booted up again.
note: at least one other person had this happen to them also (lxcbr0 came back by itself).
Today, I booted this server again and ... again lxcbr0 was missing where it had been working last night.
Below is all of the Info Serge Hallyn asked me to post.
$ ifconfig lxcbr0
lxcbr0: error fetching interface information: Device not found
$ journalctl -u lxc-net
-- Logs begin at Tue 2015-11-03 07:25:22 EST, end at Tue 2015-11-03 10:02:08 EST
Nov 03 07:25:48 server3 systemd[1]: Starting LXC network bridge setup...
Nov 03 07:25:50 server3 lxc-net[913]: dnsmasq: failed to create listening socket
Nov 03 07:25:50 server3 lxc-net[913]: Failed to setup lxc-net.
Nov 03 07:25:50 server3 systemd[1]: Started LXC network bridge setup.
root@server3:/home/bmullan# /usr/lib/x86_64-linux-gnu/lxc/lxc-net stop # note - execution just returns to command line
root@server3:/home/bmullan#
>> and lxcbr0 is still missing
# ifconfig lxcbr0
lxcbr0: error fetching interface information: Device not found
root@server3:/home/bmullan# /usr/lib/x86_64-linux-gnu/lxc/lxc-net start
dnsmasq: failed to create listening socket for 10.0.3.1: Cannot assign requested address
Failed to setup lxc-net.
root@server3:/home/bmullan#
$ uname -a
Linux server3 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily |
=== SRU ===
Rationale:
Network Manager in wily triggers on newly created interfaces and resets their network configuration even though it's not supposed to manage them at all.
This breaks LXC and quite possibly libvirt as those provide bridges which are then completely unconfigured by Network Manager.
Test case:
1) Update (or not) network-manager
2) Restart it
3) Install lxc
4) Check that lxcbr0 exists and has an IP configured
Regression potential:
The change to Network Manager is related to udev handling of new devices, even though normal operation on a regular desktop machine was tested, it's not impossible that this may regress handling of some devices.
The fix was cherry-picked directly from upstream, so did go through code review and has been publicly available for a while.
This fixes a significant regression compared to Ubuntu 15.04 and looks less risky than the alternative workaround which was uploaded earlier.
=== Original report ===
After initial upgrade from Ubuntu 15.04 to Ubuntu 15.10 LXC worked for a couple days then failed. I found that the lxcbr0 interface no longer existed.
I reported this on the lxc-user alias and about the same time several others had this happen to them also.
Serge Hallyn requested I open a launchpad bug and post some info but before I could gather that info the system returned to normal (re lxcbr0 was back) the next day after the server was booted up again.
note: at least one other person had this happen to them also (lxcbr0 came back by itself).
Today, I booted this server again and ... again lxcbr0 was missing where it had been working last night.
Below is all of the Info Serge Hallyn asked me to post.
$ ifconfig lxcbr0
lxcbr0: error fetching interface information: Device not found
$ journalctl -u lxc-net
-- Logs begin at Tue 2015-11-03 07:25:22 EST, end at Tue 2015-11-03 10:02:08 EST
Nov 03 07:25:48 server3 systemd[1]: Starting LXC network bridge setup...
Nov 03 07:25:50 server3 lxc-net[913]: dnsmasq: failed to create listening socket
Nov 03 07:25:50 server3 lxc-net[913]: Failed to setup lxc-net.
Nov 03 07:25:50 server3 systemd[1]: Started LXC network bridge setup.
root@server3:/home/bmullan# /usr/lib/x86_64-linux-gnu/lxc/lxc-net stop # note - execution just returns to command line
root@server3:/home/bmullan#
>> and lxcbr0 is still missing
# ifconfig lxcbr0
lxcbr0: error fetching interface information: Device not found
root@server3:/home/bmullan# /usr/lib/x86_64-linux-gnu/lxc/lxc-net start
dnsmasq: failed to create listening socket for 10.0.3.1: Cannot assign requested address
Failed to setup lxc-net.
root@server3:/home/bmullan#
$ uname -a
Linux server3 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily |
|
2015-11-03 21:20:20 |
Stéphane Graber |
network-manager (Ubuntu Wily): status |
Triaged |
Fix Committed |
|
2015-11-03 21:20:23 |
Stéphane Graber |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2015-11-03 21:20:24 |
Stéphane Graber |
bug |
|
|
added subscriber SRU Verification |
2015-11-03 21:20:33 |
Stéphane Graber |
tags |
regression-release |
regression-release verification-needed |
|
2015-11-03 21:25:40 |
Stéphane Graber |
network-manager (Ubuntu Xenial): status |
Triaged |
Fix Committed |
|
2015-11-04 02:02:54 |
Launchpad Janitor |
network-manager (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2015-11-04 02:17:56 |
Mathew Hodson |
bug |
|
|
added subscriber Mathew Hodson |
2015-11-04 12:35:18 |
Natalia Bidart |
bug |
|
|
added subscriber Natalia Bidart |
2015-11-04 20:28:20 |
Stéphane Graber |
tags |
regression-release verification-needed |
regression-release verification-done |
|
2015-11-04 20:28:38 |
Stéphane Graber |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2015-11-04 20:28:36 |
Launchpad Janitor |
network-manager (Ubuntu Wily): status |
Fix Committed |
Fix Released |
|
2015-11-04 21:41:56 |
Mathew Hodson |
removed subscriber Mathew Hodson |
|
|
|
2015-11-04 21:42:01 |
Mathew Hodson |
bug task deleted |
lxc (Ubuntu Wily) |
|
|
2015-11-04 21:42:08 |
Mathew Hodson |
bug task deleted |
lxc (Ubuntu) |
|
|
2015-11-04 21:42:14 |
Mathew Hodson |
bug task deleted |
lxc (Ubuntu Xenial) |
|
|
2015-11-04 21:43:14 |
Mathew Hodson |
tags |
regression-release verification-done |
regression-release verification-done wily |
|