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-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

[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-03 Thread brian mullan
Serge

This problem w/lxcbr0 disappearing has occurred again on my 15.10 server
today.
After boot up lxcbr0 is missing.

I will file a launchpad bug and post the info you requested the last time
this occurred.

I'll also leave the system alone after I file the bug until I hear what
other data you might want me to gather.

But fyi here is the info also:

$* 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




*Launchpad Bug I filed:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1512749
*
Brian







On Fri, Oct 30, 2015 at 1:26 PM, brian mullan 
wrote:

> Serge
>
> Just saw your email but the missing lxcbr0 interface reappeared the next
> day.
>
> Not sure if it had something to do with a hard power down vs sw reboot as
> I'd tried rebooting several times when lxcbr0 was missing and it stayed
> missing.
>
> Or it may have been an auto apt-get update that fixed something?
>
> Brian
>
>
> On Tue, Oct 27, 2015 at 10:59 AM, Serge Hallyn 
> wrote:
>
>> 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-30 Thread B G
I installed the latest daily build today and LXD working again... not sure
what the problem was...

On Fri, Oct 30, 2015 at 7:33 AM, B G  wrote:

> After upgrading to 15.10 using LXD, I can't start any of my containers...
>
> lxc start container  -- fails with:
>
> lxc start container-name
> error: Error calling 'lxd forkstart neo /var/lib/lxd/containers
> /var/log/lxd/container-name/lxc.conf': err='exit status 1'
> Try `lxc info --show-log container-name` for more info
> root@server2-us:/usr/local# lxc info --show-log neo
>
>
>
> When I look at the log - the first line with error goes:
>
> lxc 1446215170.376 ERRORlxc_conf -
> conf.c:instantiate_veth:2621 - failed to attach 'vethGXCIAF' to the bridge
> 'lxcbr0': Operation not permitted
> lxc 1446215170.403 INFO lxc_monitor -
> monitor.c:lxc_monitor_sock_name:178 - using monitor sock name
> lxc/d78a9d7e97b4b375//var/lib/lxd/containers
> lxc 1446215170.406 ERRORlxc_conf -
> conf.c:lxc_create_network:2904 - failed to create netdev
> lxc 1446215170.406 ERRORlxc_start - start.c:lxc_spawn:920
> - failed to create the network
> lxc 1446215170.406 ERRORlxc_start -
> start.c:__lxc_start:1172 - failed to spawn 'container-name'
>
> Appreciate any help here...
>
> I have tried purging lxd and re-installing but doesn't seem to work...
> Also the lxc.conf file doesn't seem to exist in the directory from the
> error message...
>
>
>
> On Thu, Oct 29, 2015 at 6:59 PM, Norberto Bensa  > wrote:
>
>> 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
>
>
>
___
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-30 Thread brian mullan
Serge

Just saw your email but the missing lxcbr0 interface reappeared the next
day.

Not sure if it had something to do with a hard power down vs sw reboot as
I'd tried rebooting several times when lxcbr0 was missing and it stayed
missing.

Or it may have been an auto apt-get update that fixed something?

Brian


On Tue, Oct 27, 2015 at 10:59 AM, Serge Hallyn 
wrote:

> 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-30 Thread B G
After upgrading to 15.10 using LXD, I can't start any of my containers...

lxc start container  -- fails with:

lxc start container-name
error: Error calling 'lxd forkstart neo /var/lib/lxd/containers
/var/log/lxd/container-name/lxc.conf': err='exit status 1'
Try `lxc info --show-log container-name` for more info
root@server2-us:/usr/local# lxc info --show-log neo



When I look at the log - the first line with error goes:

lxc 1446215170.376 ERRORlxc_conf -
conf.c:instantiate_veth:2621 - failed to attach 'vethGXCIAF' to the bridge
'lxcbr0': Operation not permitted
lxc 1446215170.403 INFO lxc_monitor -
monitor.c:lxc_monitor_sock_name:178 - using monitor sock name
lxc/d78a9d7e97b4b375//var/lib/lxd/containers
lxc 1446215170.406 ERRORlxc_conf -
conf.c:lxc_create_network:2904 - failed to create netdev
lxc 1446215170.406 ERRORlxc_start - start.c:lxc_spawn:920 -
failed to create the network
lxc 1446215170.406 ERRORlxc_start -
start.c:__lxc_start:1172 - failed to spawn 'container-name'

Appreciate any help here...

I have tried purging lxd and re-installing but doesn't seem to work...
Also the lxc.conf file doesn't seem to exist in the directory from the
error message...



On Thu, Oct 29, 2015 at 6:59 PM, Norberto Bensa 
wrote:

> 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
___
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