Public bug reported:

After this morning's reboot, both LXC/LXD bridges failed to get set up.
lxdbr0 looks like this:

5: lxdbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group 
default qlen 1000
    link/ether ea:e2:a3:02:b6:07 brd ff:ff:ff:ff:ff:ff

nevertheless the service succeeds:

● lxd-bridge.service - LXD - network bridge
   Loaded: loaded (/lib/systemd/system/lxd-bridge.service; static; vendor 
preset: enabled)
   Active: active (exited) since Mo 2016-04-04 08:05:43 CEST; 31min ago
  Process: 2817 ExecStart=/usr/lib/lxd/lxd-bridge.start (code=exited, 
status=0/SUCCESS)
 Main PID: 2817 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 512)
   Memory: 5.2M
      CPU: 23ms
   CGroup: /system.slice/lxd-bridge.service

Apr 04 08:05:43 donald systemd[1]: Starting LXD - network bridge...
Apr 04 08:05:43 donald systemd[1]: Started LXD - network bridge.
Apr 04 08:05:43 donald lxd-bridge.start[2817]: 2016/04/04 08:05:43 listen tcp 
[fe80::1%lxdbr0]:3128: bind: cannot assign requested address

So lxd-bridge.service does not do proper error checking, and fails to up
the bridge and assign an address.


Maybe this is related to lxcbr0 also being broken after boot, do they perhaps 
try to assign the same address?

* lxc-net.service - LXC network bridge setup
   Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled; vendor preset: 
enabled)
   Active: active (exited) since Mon 2016-04-04 08:05:17 CEST; 27min ago
  Process: 1075 ExecStart=/usr/lib/x86_64-linux-gnu/lxc/lxc-net start 
(code=exited, status=0/SUCCESS)
 Main PID: 1075 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 512)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/lxc-net.service

Apr 04 08:05:17 donald systemd[1]: Starting LXC network bridge setup...
Apr 04 08:05:17 donald lxc-net[1075]: dnsmasq: failed to create listening 
socket for 10.0.3.1: Die angeforderte Adresse kann nicht zugew
Apr 04 08:05:17 donald lxc-net[1075]: Failed to setup lxc-net.
Apr 04 08:05:17 donald systemd[1]: Started LXC network bridge setup.

Restarting "lxc-net" works and gives me a working lxcbr0, but restarting
"lxd-bridge" just gives the same error again.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: lxd 2.0.0~rc7-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: i3
Date: Mon Apr  4 08:34:42 2016
EcryptfsInUse: Yes
SourcePackage: lxd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1565628

Title:
  lxdbr0 not set up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1565628/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to