Re: [lxc-users] lxcbr0 failed in 14.04 (maybe a network config problem not lxc, need advise)

2015-11-01 Thread B G
Still seems like voodoo... but this seems to work... not sure if the
network-manager has anything to do with this or not.. but it is really odd
that after two or three times with the restarting lxc-net it creates the
lxcbr0 and then everything works after that.

 sudo systemctl stop network-manager

Repeat this until it works:

sudo systemctl stop lxc-net
sudo systemctl start lxc-net
ifconfig -a

 sudo systemctl start network-manager


On Sun, Nov 1, 2015 at 9:19 PM, B G  wrote:

> I have been having similar problems after upgrading to 15.10.  I just
> completely rebuilt the server and had exactly the same problems.  I also
> tried uninstalling/re-installing and it didn't work...
>
> Try this:
>
> lxd uses lxcbr0 bridge by default.
> I've had some trouble with lxc-net under systemd as well. Can you do
> ifconfig -a
> sudo systemctl stop lxc-net
> sudo systemctl start lxc-net
> ifconfig -a
> and see if lxcbr0 shows up in the second ifconfig output?
>
>
> Found this in this thread:
>
> https://github.com/lxc/lxd/issues/543
>
>
>
> I also have tried commenting out the dns line from the NetworkManager.conf
> file...  It seems as if NetworkManager may also cause some conflicts...
>
> /etc/NetworkManager/NetworkManager.conf
>
> #dns=dnsmasq
>
> Then restart NetworkManager
>
>
>
> On Sun, Nov 1, 2015 at 8:24 PM, Yonsy Solis  wrote:
>
>> Hi
>>
>> I am working now with lxc/lxd in 14.04 servers, no problems with this.
>>
>> The problem is in my desktop machine (14.04 too), after my machine boots,
>> i need to restart lxc-net service (sudo restart lxc-net) to have lxcbr0
>> device and work with lxd instances (and launch lxc instances with my user,
>> privileged or un-privileged)
>>
>> i think that is a boot problem but the only related message in
>> /var/log/syslog is:
>>
>> =
>> NetworkManager[1736]:  (lxcbr0): ignoring bridge not created by
>> NetworkManager
>> =
>>
>> i have onlys dnsmasq-base in my workstation, no dnsmasq, so i think that
>> is a config problem but i can't find now this, some help is needed
>>
>> P.D. i uninstall and reinstall lxc, lxd and lxd-client for testing and
>> checks, same results.
>>
>>
>> Yonsy Solis
>>
>> ___
>> 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] lxcbr0 failed in 14.04 (maybe a network config problem not lxc, need advise)

2015-11-01 Thread B G
I have been having similar problems after upgrading to 15.10.  I just
completely rebuilt the server and had exactly the same problems.  I also
tried uninstalling/re-installing and it didn't work...

Try this:

lxd uses lxcbr0 bridge by default.
I've had some trouble with lxc-net under systemd as well. Can you do
ifconfig -a
sudo systemctl stop lxc-net
sudo systemctl start lxc-net
ifconfig -a
and see if lxcbr0 shows up in the second ifconfig output?


Found this in this thread:

https://github.com/lxc/lxd/issues/543



I also have tried commenting out the dns line from the NetworkManager.conf
file...  It seems as if NetworkManager may also cause some conflicts...

/etc/NetworkManager/NetworkManager.conf

#dns=dnsmasq

Then restart NetworkManager



On Sun, Nov 1, 2015 at 8:24 PM, Yonsy Solis  wrote:

> Hi
>
> I am working now with lxc/lxd in 14.04 servers, no problems with this.
>
> The problem is in my desktop machine (14.04 too), after my machine boots,
> i need to restart lxc-net service (sudo restart lxc-net) to have lxcbr0
> device and work with lxd instances (and launch lxc instances with my user,
> privileged or un-privileged)
>
> i think that is a boot problem but the only related message in
> /var/log/syslog is:
>
> =
> NetworkManager[1736]:  (lxcbr0): ignoring bridge not created by
> NetworkManager
> =
>
> i have onlys dnsmasq-base in my workstation, no dnsmasq, so i think that
> is a config problem but i can't find now this, some help is needed
>
> P.D. i uninstall and reinstall lxc, lxd and lxd-client for testing and
> checks, same results.
>
>
> Yonsy Solis
>
> ___
> 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

[lxc-users] lxcbr0 failed in 14.04 (maybe a network config problem not lxc, need advise)

2015-11-01 Thread Yonsy Solis

Hi

I am working now with lxc/lxd in 14.04 servers, no problems with this.

The problem is in my desktop machine (14.04 too), after my machine 
boots, i need to restart lxc-net service (sudo restart lxc-net) to have 
lxcbr0 device and work with lxd instances (and launch lxc instances 
with my user, privileged or un-privileged)


i think that is a boot problem but the only related message in 
/var/log/syslog is:


=
NetworkManager[1736]:  (lxcbr0): ignoring bridge not created by 
NetworkManager

=

i have onlys dnsmasq-base in my workstation, no dnsmasq, so i think 
that is a config problem but i can't find now this, some help is needed


P.D. i uninstall and reinstall lxc, lxd and lxd-client for testing and 
checks, same results.



Yonsy Solis

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