Sure, here are what u've requested
# lxc profile list
default
docker
# lxc profile show default
name: default
config: {}
description: Default LXD profile
devices:
  eth0:
    name: eth0
    nictype: bridged
    parent: lxcbr0
    type: nic
# cat /etc/default/lxd-bridge
# WARNING: This file is generated by a debconf template!
# It is recommended to update it by using "dpkg-reconfigure lxd"

# Whether to setup a new bridge
USE_LXD_BRIDGE="true"

# Bridge name
# This is still used even if USE_LXD_BRIDGE is set to false
# set to an empty value to fully disable
LXD_BRIDGE="lxdbr0"

# dnsmasq configuration path
LXD_CONFILE=""

# dnsmasq domain
LXD_DOMAIN="lxd"

# IPv4
LXD_IPV4_ADDR=""
LXD_IPV4_NETMASK=""
LXD_IPV4_NETWORK=""
LXD_IPV4_DHCP_RANGE=""
LXD_IPV4_DHCP_MAX=""
LXD_IPV4_NAT="true"

# IPv6
LXD_IPV6_ADDR=""
LXD_IPV6_MASK=""
LXD_IPV6_NETWORK=""
LXD_IPV6_NAT="false"

# Proxy server
LXD_IPV6_PROXY="true"

Let me know if could change any system lxd configuration to allow more
containers to have IP.

----------------- New bug might be needed ---------------------------
I've an extra observation which might not be related to this, feel free to let 
me know if I should open a new bug. I was trying to create 500 containers, I 
start getting error beyond 450, not very consistent, for this recent run, I 
start getting error at container 470. Error appended here.

error: Error calling 'lxd forkstart ubuntuDaily-470 /var/lib/lxd/containers 
/var/log/lxd/ubuntuDaily-470/lxc.conf': err='exit status 1'
Try `lxc info --show-log ubuntuDaily-470` for more info

# lxc info --show-log ubuntuDaily-470

Name: ubuntuDaily-470
Architecture: s390x
Created: 2016/04/19 12:31 UTC
Status: Stopped
Type: persistent
Profiles: default

Log:

            lxc 20160419083113.262 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type u nsid 0 hostid 165536 range 
65536
            lxc 20160419083113.262 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type g nsid 0 hostid 165536 range 
65536
            lxc 20160419083120.269 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type u nsid 0 hostid 165536 range 
65536
            lxc 20160419083120.269 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type g nsid 0 hostid 165536 range 
65536
            lxc 20160419083120.728 INFO     lxc_start - 
start.c:lxc_check_inherited:251 - closed inherited fd 3
            lxc 20160419083120.728 INFO     lxc_start - 
start.c:lxc_check_inherited:251 - closed inherited fd 11
            lxc 20160419083120.773 INFO     lxc_container - 
lxccontainer.c:do_lxcapi_start:797 - Attempting to set proc title to [lxc 
monitor] /var/lib/lxd/containers ubuntuDaily-470
            lxc 20160419083120.773 INFO     lxc_start - 
start.c:lxc_check_inherited:251 - closed inherited fd 11
            lxc 20160419083120.776 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 - 
LSM security driver AppArmor
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:342 - processing: .reject_force_umount  # comment 
this to allow umount -f;  not recommended.
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:342 - processing: .[all].
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:342 - processing: .kexec_load errno 1.
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:436 - Adding native rule for kexec_load action 327681
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:342 - processing: .open_by_handle_at errno 1.
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:436 - Adding native rule for open_by_handle_at action 
327681
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:342 - processing: .init_module errno 1.
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:436 - Adding native rule for init_module action 327681
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:342 - processing: .finit_module errno 1.
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:436 - Adding native rule for finit_module action 
327681
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:342 - processing: .delete_module errno 1.
            lxc 20160419083120.786 INFO     lxc_seccomp - 
seccomp.c:parse_config_v2:436 - Adding native rule for delete_module action 
327681
            lxc 20160419083120.786 INFO     lxc_conf - 
conf.c:run_script_argv:367 - Executing script '/usr/bin/lxd callhook 
/var/lib/lxd 492 start' for container 'ubuntuDaily-470', config section 'lxc'
            lxc 20160419083120.798 INFO     lxc_start - 
start.c:lxc_check_inherited:251 - closed inherited fd 3
            lxc 20160419083120.798 INFO     lxc_start - 
start.c:lxc_check_inherited:251 - closed inherited fd 11
            lxc 20160419083120.799 INFO     lxc_monitor - 
monitor.c:lxc_monitor_sock_name:178 - using monitor sock name 
lxc/d78a9d7e97b4b375//var/lib/lxd/containers
            lxc 20160419083120.892 ERROR    lxc_conf - conf.c:run_buffer:347 - 
Script exited with status 1
            lxc 20160419083120.892 ERROR    lxc_start - start.c:lxc_init:464 - 
failed to run pre-start hooks for container 'ubuntuDaily-470'.
            lxc 20160419083120.892 ERROR    lxc_start - 
start.c:__lxc_start:1288 - failed to initialize the container
            lxc 20160419083120.892 WARN     lxc_commands - 
commands.c:lxc_cmd_rsp_recv:172 - command get_cgroup failed to receive response
            lxc 20160419083333.596 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type u nsid 0 hostid 165536 range 
65536
            lxc 20160419083333.596 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type g nsid 0 hostid 165536 range 
65536
            lxc 20160419083333.599 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type u nsid 0 hostid 165536 range 
65536
            lxc 20160419083333.599 INFO     lxc_confile - 
confile.c:config_idmap:1495 - read uid map: type g nsid 0 hostid 165536 range 
65536

Please let me know if I should have open a new bug for the 2nd question.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571862

Title:
  No IP is issued for more than 251 containers

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to