Re: [Touch-packages] [Bug 1569064] Re: systemctl wants to configure interfaces it shouldn't (lxdbr0)

2016-04-11 Thread Serge Hallyn
Hm, so lxdbr0 has an ipv4 address in the openstack instance. In the
uvt-kvm instance where networking comes up fine, it does not.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1569064

Title:
  systemctl wants to configure interfaces it shouldn't (lxdbr0)

Status in lxd package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  The reproducer:

  create a xenial vm.  There, run

  lxc launch ubuntu:

  leave that container running, and reboot.  If you're "lucky",
  networking will never come up:

  [[0;32m  OK  [0m] Found device /sys/subsystem/net/devices/lxdbr0.
  [[0m[0;31m* [0m] A start job is running for Raise network interfaces (32s 
/ 5min 11s)[K[[0;1;31m*[0m[0;31m*[0m]
   A start job is running for Raise network interfaces (33s / 5min 
11s)[K[[0;31m*[0;1;31m*[0m[0;31m*   [0m] A start job i
  s running for Raise network interfaces (34s / 5min 11s)[K[ 
[0;31m*[0;1;31m*[0m[0;31m*  [0m] A start job is running for
  Raise network interfaces (34s / 5min 11s)[K[  [0;31m*[0;1;31m*[0m[0;31m* [0m] 
A start job is running for Raise network
  interfaces (35s / 5min 11s)[K[   [0;31m*[0;1;31m*[0m[0;31m*[0m] A start job 
is running for Raise network interfaces (35
  s / 5min 11s)[K[[0;31m*[0;1;31m*[0m] A start job is running for Raise 
network interfaces (36s / 5min 11s)[K[ [0
  ;31m*[0m] A start job is running for Raise network interfaces (37s / 5min 
11s)[K[[0;31m*[0;1;31m*[0m] A start job i

  (etc)

  I can reproduce this 100% on serverstack (openstack) instances.  I
  cannot reproduce it locally with uvt-kvm.

  What appears to be happening is that lxd starts lxd-bridge which
  creates lxdbr0 with no ipv4 address;  this racily happens before
  systemd does its networking setup;  said network setup then sees
  lxdbr0 and wants to configure it, so waits for it to have an ip
  address.  Plausible?

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Touch-packages] [Bug 1569064] Re: systemctl wants to configure interfaces it shouldn't (lxdbr0)

2016-04-11 Thread Serge Hallyn
cat lxd-bridge: http://paste.ubuntu.com/15768875/
systemctl status lxd-bridge:  http://paste.ubuntu.com/15768890/

These are of course before the reboot.  I cannot get in after reboot.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1569064

Title:
  systemctl wants to configure interfaces it shouldn't (lxdbr0)

Status in lxd package in Ubuntu:
  Confirmed
Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  The reproducer:

  create a xenial vm.  There, run

  lxc launch ubuntu:

  leave that container running, and reboot.  If you're "lucky",
  networking will never come up:

  [[0;32m  OK  [0m] Found device /sys/subsystem/net/devices/lxdbr0.
  [[0m[0;31m* [0m] A start job is running for Raise network interfaces (32s 
/ 5min 11s)[K[[0;1;31m*[0m[0;31m*[0m]
   A start job is running for Raise network interfaces (33s / 5min 
11s)[K[[0;31m*[0;1;31m*[0m[0;31m*   [0m] A start job i
  s running for Raise network interfaces (34s / 5min 11s)[K[ 
[0;31m*[0;1;31m*[0m[0;31m*  [0m] A start job is running for
  Raise network interfaces (34s / 5min 11s)[K[  [0;31m*[0;1;31m*[0m[0;31m* [0m] 
A start job is running for Raise network
  interfaces (35s / 5min 11s)[K[   [0;31m*[0;1;31m*[0m[0;31m*[0m] A start job 
is running for Raise network interfaces (35
  s / 5min 11s)[K[[0;31m*[0;1;31m*[0m] A start job is running for Raise 
network interfaces (36s / 5min 11s)[K[ [0
  ;31m*[0m] A start job is running for Raise network interfaces (37s / 5min 
11s)[K[[0;31m*[0;1;31m*[0m] A start job i

  (etc)

  I can reproduce this 100% on serverstack (openstack) instances.  I
  cannot reproduce it locally with uvt-kvm.

  What appears to be happening is that lxd starts lxd-bridge which
  creates lxdbr0 with no ipv4 address;  this racily happens before
  systemd does its networking setup;  said network setup then sees
  lxdbr0 and wants to configure it, so waits for it to have an ip
  address.  Plausible?

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp