[lxc-users] re lxcbr0 doesn't exist after upgrade to 15.10

2015-11-12 Thread mikael.pahmp
Hi, I also got this problem after upgrading to 15.10. According to 
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1512749 this 
problem was fixed in 
network-manager (1.0.4-0ubuntu5.1) but I still have no lxcbr0.

Running "sudo systemctl status lxc-net" I get the following:


lxc-net.service - LXC network bridge setup
   Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled; vendor 
preset: enabled)
   Active: active (exited) since tis 2015-11-10 09:50:24 CET; 2min 5s 
ago
  Process: 3988 ExecStop=/usr/lib/x86_64-linux-gnu/lxc/lxc-net stop 
(code=exited, status=0/SUCCESS)
  Process: 3992 ExecStart=/usr/lib/x86_64-linux-gnu/lxc/lxc-net start 
(code=exited, status=0/SUCCESS)
 Main PID: 3992 (code=exited, status=0/SUCCESS)
   Memory: 0B
  CPU: 0
   CGroup: /system.slice/lxc-net.service

nov 10 09:50:24 pahmp-xb systemd[1]: Starting LXC network bridge 
setup...
nov 10 09:50:24 pahmp-xb lxc-net[3992]: dnsmasq: failed to create 
listening socket for fe80::beee:7bff:fe9f:4054%eth1: Address already in use
nov 10 09:50:24 pahmp-xb lxc-net[3992]: Failed to setup lxc-net.
nov 10 09:50:24 pahmp-xb systemd[1]: Started LXC network bridge setup.



Any ideas what could be the problem?


- Mikael

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] re lxcbr0 doesn't exist after upgrade to 15.10

2015-11-12 Thread Stéphane Graber
Note that the fix only works after a reboot, so make sure you reboot
after updating Network Manager.

However your error looks more like a conflicting DNS or DHCP server
being installed on your machine and already binding the ports needed by
lxc-net.

On Tue, Nov 10, 2015 at 11:04:13AM +0100, mikael.pa...@schneider-electric.com 
wrote:
> Hi, I also got this problem after upgrading to 15.10. According to 
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1512749 this 
> problem was fixed in 
> network-manager (1.0.4-0ubuntu5.1) but I still have no lxcbr0.
> 
> Running "sudo systemctl status lxc-net" I get the following:
> 
> 
>   lxc-net.service - LXC network bridge setup
>  Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled; vendor 
> preset: enabled)
>  Active: active (exited) since tis 2015-11-10 09:50:24 CET; 2min 5s 
> ago
> Process: 3988 ExecStop=/usr/lib/x86_64-linux-gnu/lxc/lxc-net stop 
> (code=exited, status=0/SUCCESS)
> Process: 3992 ExecStart=/usr/lib/x86_64-linux-gnu/lxc/lxc-net start 
> (code=exited, status=0/SUCCESS)
>Main PID: 3992 (code=exited, status=0/SUCCESS)
>  Memory: 0B
> CPU: 0
>  CGroup: /system.slice/lxc-net.service
>   
>   nov 10 09:50:24 pahmp-xb systemd[1]: Starting LXC network bridge 
> setup...
>   nov 10 09:50:24 pahmp-xb lxc-net[3992]: dnsmasq: failed to create 
> listening socket for fe80::beee:7bff:fe9f:4054%eth1: Address already in use
>   nov 10 09:50:24 pahmp-xb lxc-net[3992]: Failed to setup lxc-net.
>   nov 10 09:50:24 pahmp-xb systemd[1]: Started LXC network bridge setup.
>   
>   
> 
> Any ideas what could be the problem?
> 
> 
> - Mikael
> 

> ___
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com


signature.asc
Description: Digital signature
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] re lxcbr0 doesn't exist after upgrade to 15.10

2015-11-12 Thread Serge Hallyn
Quoting mikael.pa...@schneider-electric.com 
(mikael.pa...@schneider-electric.com):
> Hi, I also got this problem after upgrading to 15.10. According to 
> https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1512749 this 
> problem was fixed in 
> network-manager (1.0.4-0ubuntu5.1) but I still have no lxcbr0.
> 
> Running "sudo systemctl status lxc-net" I get the following:
> 
> 
>   lxc-net.service - LXC network bridge setup
>  Loaded: loaded (/lib/systemd/system/lxc-net.service; enabled; vendor 
> preset: enabled)
>  Active: active (exited) since tis 2015-11-10 09:50:24 CET; 2min 5s 
> ago
> Process: 3988 ExecStop=/usr/lib/x86_64-linux-gnu/lxc/lxc-net stop 
> (code=exited, status=0/SUCCESS)
> Process: 3992 ExecStart=/usr/lib/x86_64-linux-gnu/lxc/lxc-net start 
> (code=exited, status=0/SUCCESS)
>Main PID: 3992 (code=exited, status=0/SUCCESS)
>  Memory: 0B
> CPU: 0
>  CGroup: /system.slice/lxc-net.service
>   
>   nov 10 09:50:24 pahmp-xb systemd[1]: Starting LXC network bridge 
> setup...
>   nov 10 09:50:24 pahmp-xb lxc-net[3992]: dnsmasq: failed to create 
> listening socket for fe80::beee:7bff:fe9f:4054%eth1: Address already in use

Looks like you have  bind9 listening on all ipv6 interfaces, so that
the dnsmasq which lxc-net starts up cannot listen on lxcbr0.

>   nov 10 09:50:24 pahmp-xb lxc-net[3992]: Failed to setup lxc-net.
>   nov 10 09:50:24 pahmp-xb systemd[1]: Started LXC network bridge setup.
>   
>   
> 
> Any ideas what could be the problem?
> 
> 
> - Mikael
> 

> ___
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users

___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] re lxcbr0 doesn't exist after upgrade to 15.10

2015-10-29 Thread Norberto Bensa
Hello.

This problem fixed by itself. Today I re-enabled systemd and after a
reboot lxcbr0 is up and running again.

Maybe this update has something to do with it:

Start-Date: 2015-10-26  20:37:19
Commandline: apt-get dist-upgrade
Upgrade: lxc:amd64 (1.1.4-0ubuntu1, 1.1.4-0ubuntu1.1),
python3-lxc:amd64 (1.1.4-0ubuntu1, 1.1.4-0ubuntu1.1), liblxc1:amd64
(1.1.4-0ubuntu1, 1.1.4-0ubuntu1.1), lxc-templates:amd64
(1.1.4-0ubuntu1, 1.1.4-0ubuntu1.1)
End-Date: 2015-10-26  20:37:21




2015-10-27 11:59 GMT-03:00 Serge Hallyn :
> Quoting brian mullan (bmullan.m...@gmail.com):
>> Norberto
>>
>> Great coincidence as I read your msg to the lxc-users list about the lxcbr0
>> bridge
>> disappearing after upgrade to Ubuntu 15.10.
>
> Can you open a launchpad bug and describe there the system you upgraded
> from?  (i.e. was it stock 14.04 with systemd?  desktop, with network-manager?
> /etc/network/interfaces contents;  and what do you get when you run
>
> journalctl -u lxc-net
> /usr/lib/x86_64-linux-gnu/lxc/lxc-net stop
> /usr/lib/x86_64-linux-gnu/lxc/lxc-net start
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Re: [lxc-users] re lxcbr0 doesn't exist after upgrade to 15.10

2015-10-27 Thread Serge Hallyn
Quoting brian mullan (bmullan.m...@gmail.com):
> Norberto
> 
> Great coincidence as I read your msg to the lxc-users list about the lxcbr0
> bridge
> disappearing after upgrade to Ubuntu 15.10.

Can you open a launchpad bug and describe there the system you upgraded
from?  (i.e. was it stock 14.04 with systemd?  desktop, with network-manager?
/etc/network/interfaces contents;  and what do you get when you run

journalctl -u lxc-net
/usr/lib/x86_64-linux-gnu/lxc/lxc-net stop
/usr/lib/x86_64-linux-gnu/lxc/lxc-net start
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

[lxc-users] re lxcbr0 doesn't exist after upgrade to 15.10

2015-10-26 Thread brian mullan
Norberto

Great coincidence as I read your msg to the lxc-users list about the lxcbr0
bridge
disappearing after upgrade to Ubuntu 15.10.

I just finished upgrading one of my machines to 15.10 this weekend and
today I noticed
I couldn't start any containers.

Then I noticed there is no lxcbr0 any longer.

I followed same steps as you w/ service lxc-net stop/start etc also.

I looked on launchpad for any bugs files on lxc for this but didn't spot
anything yet however
there were several mentions of one or more systemd problems

$ lsb_release -d
Description:Ubuntu 15.10

$ sudo lxc --version
0.20

$ 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

$ sudo lxc-start -n test
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 346 To get more details, run the container in
foreground mode.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by
setting the --logfile and --logpriority options.

# the logfile I created contained this...

$ more *.log
  lxc-start 1445897600.815 ERRORlxc_conf -
conf.c:instantiate_veth:2621 - failed to attach 'vethTB8U9R' to the bridge
'lx
cbr0': Operation not permitted
  lxc-start 1445897600.846 ERRORlxc_conf -
conf.c:lxc_create_network:2904 - failed to create netdev
  lxc-start 1445897600.846 ERRORlxc_start - start.c:lxc_spawn:920 -
failed to create the network
  lxc-start 1445897600.846 ERRORlxc_start -
start.c:__lxc_start:1172 - failed to spawn 'test'
  lxc-start 1445897600.846 ERRORlxc_start_ui - lxc_start.c:main:344
- The container failed to start.
  lxc-start 1445897600.846 ERRORlxc_start_ui - lxc_start.c:main:348
- Additional information can be obtained by setting t
he --logfile and --logpriority options.
  lxc-start 1445899155.144 ERRORlxc_conf -
conf.c:instantiate_veth:2621 - failed to attach 'vethGQAYMM' to the bridge
'lx
cbr0': Operation not permitted
  lxc-start 1445899155.170 ERRORlxc_conf -
conf.c:lxc_create_network:2904 - failed to create netdev
  lxc-start 1445899155.170 ERRORlxc_start - start.c:lxc_spawn:920 -
failed to create the network
  lxc-start 1445899155.170 ERRORlxc_start -
start.c:__lxc_start:1172 - failed to spawn 'test'
  lxc-start 1445899160.176 ERRORlxc_start_ui - lxc_start.c:main:344
- The container failed to start.
  lxc-start 1445899160.176 ERRORlxc_start_ui - lxc_start.c:main:346
- To get more details, run the container in foregroun
d mode.
  lxc-start 1445899160.176 ERRORlxc_start_ui - lxc_start.c:main:348
- Additional information can be obtained by setting t
he --logfile and --logpriority options.

Brian
___
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users