[pkg-lxc-devel] Bug#820428: Bug#820428: lxc: debian/jessie/amd64 image ipv4 issue

Alfonso alfonso at armeto.com
Sat Apr 16 08:47:44 UTC 2016


I forgot to mention:

#lxc-start -F -n prueba3

Set hostname to <prueba3>.
Failed to install release agent, ignoring: No such file or directory
Failed to create root cgroup hierarchy: Invalid argument
Failed to allocate manager object: Invalid argument

Regards, Alfonso.

On 16/04/16 03:36, Alfonso wrote:
> Hi Evgeni :
>   -not using unprivileged containers
>   -container config:
> # Distribution configuration
> lxc.include = /usr/share/lxc/config/debian.common.conf
> lxc.arch = x86_64
>
> # Container specific configuration
> lxc.rootfs = /home/lxc/prueba3/rootfs
> lxc.rootfs.backend = dir
> lxc.utsname = prueba3
>
> # Network configuration
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = virbr0
> lxc.network.hwaddr = 00:FF:AA:00:00:10
> lxc.network.ipv4 = 0.0.0.0/24
>
>   -network (not sure if this the relevant information)
> #ifconfig
> vethKFC1XW: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>         inet6 fe80::fc96:aaff:fec7:24d6  prefixlen 64  scopeid 0x20<link>
>         ether fe:96:aa:c7:24:d6  txqueuelen 1000  (Ethernet)
>         RX packets 8  bytes 648 (648.0 B)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 2262  bytes 117856 (115.0 KiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> virbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>         inet 192.168.122.1  netmask 255.255.255.0  broadcast 
> 192.168.122.255
>         ether 52:54:00:02:dd:91  txqueuelen 1000  (Ethernet)
>         RX packets 34408  bytes 2002315 (1.9 MiB)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 53532  bytes 79536784 (75.8 MiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> # virsh net-edit default
> <network>
>   <name>default</name>
>   <uuid>bae24acc-582c-4461-8457-c71370e97ea9</uuid>
>   <forward mode='nat'/>
>   <bridge name='virbr0' stp='on' delay='0'/>
>   <mac address='52:54:00:02:dd:91'/>
>   <ip address='192.168.122.1' netmask='255.255.255.0'>
>     <dhcp>
>       <range start='192.168.122.200' end='192.168.122.254'/>
> ....
>       <host mac='00:FF:AA:00:00:10' name='prueba3' ip='192.168.122.110'/>
> ....
>     </dhcp>
>   </ip>
> </network>
>
> Regards, Alfonso.
>
> On 16/04/16 03:18, Evgeni Golov wrote:
>> Hi Alfonso,
>>
>> On Sat, Apr 16, 2016 at 02:18:18AM -0300, Alfonso wrote:
>>> Hi, I've got a similar issue. I have few Debian 8 containers on 
>>> development,
>>> and yesterday I've updated my notebook (Debian Sid) and they can't 
>>> get an
>>> ip.
>>> I've tried with a Debian Wheezy guest, and it works fine. Edited
>>> /etc/apt/sources.list, and switched from "wheezy" to "jessie", then 
>>> "apt-get
>>> dist-upgrade", and again can't get an ip, even with dbus installed:
>> Can you provide a bit more information about your system?
>> - how does your LXC network look like
>> - how does the config of the container look like
>> - are you using unprivileged containers
>>
>> Greets
>> Evgeni
>



More information about the Pkg-lxc-devel mailing list