[lxc-users] lxc start issue in nested container

Prasoon Majumdar prasoonprince at gmail.com
Tue Jul 12 17:27:28 UTC 2016


Detailed logs on the same:

lxc-start 1468343945.166 INFO     lxc_start_ui - lxc_start.c:main:264 -
using rcfile /var/lib/lxc/p1_nested/config
      lxc-start 1468343945.167 WARN     lxc_log - log.c:lxc_log_init:316 -
lxc_log_init called with log already initialized
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup net_cls
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpu
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup blkio
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup freezer
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup hugetlb
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup pids
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup cpuset
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup memory
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup devices
unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_cgfs -
cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup
perf_event unknown to /var/lib/lxc p1_nested
      lxc-start 1468343945.167 WARN     lxc_start -
start.c:lxc_check_inherited:228 - inherited fd 6
      lxc-start 1468343945.167 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 -
LSM security driver AppArmor
      lxc-start 1468343945.167 INFO     lxc_seccomp -
seccomp.c:use_seccomp:531 - Already seccomp-confined, not loading new policy
      lxc-start 1468343945.167 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3791 - allocated pty '/dev/pts/4' (5/7)
      lxc-start 1468343945.167 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3791 - allocated pty '/dev/pts/5' (8/9)
      lxc-start 1468343945.167 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3791 - allocated pty '/dev/pts/6' (10/11)
      lxc-start 1468343945.167 DEBUG    lxc_conf -
conf.c:lxc_create_tty:3791 - allocated pty '/dev/pts/7' (12/13)
      lxc-start 1468343945.167 INFO     lxc_conf -
conf.c:lxc_create_tty:3802 - tty's configured
      lxc-start 1468343945.167 DEBUG    lxc_start -
start.c:setup_signal_fd:263 - sigchild handler set
      lxc-start 1468343945.168 DEBUG    lxc_console -
console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
      lxc-start 1468343945.168 DEBUG    lxc_console -
console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
      lxc-start 1468343945.168 DEBUG    lxc_console -
console.c:lxc_console_sigwinch_init:179 - 2201 got SIGWINCH fd 18
      lxc-start 1468343945.168 DEBUG    lxc_console -
console.c:lxc_console_winsz:88 - set winsz dstfd:15 cols:204 rows:62
      lxc-start 1468343945.168 INFO     lxc_start - start.c:lxc_init:463 -
'p1_nested' is initialized
      lxc-start 1468343945.168 DEBUG    lxc_start -
start.c:__lxc_start:1099 - Not dropping cap_sys_boot or watching utmp
      lxc-start 1468343945.171 DEBUG    lxc_conf -
conf.c:instantiate_veth:3130 - instantiated veth 'veth4499K1/vethWNY2V3',
index is '7'
      lxc-start 1468343945.171 INFO     lxc_cgroup -
cgroup.c:cgroup_init:62 - cgroup driver cgroupfs initing for p1_nested
      lxc-start 1468343945.172 ERROR    lxc_cgfs -
cgfs.c:lxc_cgroupfs_create:841 - Could not find writable mount point for
cgroup hierarchy 11 while trying to create cgroup.
      lxc-start 1468343945.172 ERROR    lxc_start - start.c:lxc_spawn:891 -
failed creating cgroups
      lxc-start 1468343945.181 ERROR    lxc_start -
start.c:__lxc_start:1121 - failed to spawn 'p1_nested'
      lxc-start 1468343945.181 ERROR    lxc_start_ui - lxc_start.c:main:341
- The container failed to start.
      lxc-start 1468343945.181 ERROR    lxc_start_ui - lxc_start.c:main:345
- Additional information can be obtained by setting the --logfile and
--logpriority options.
~


~




Regs
Prasoon



[image: Prasoon Majumdar on about.me]

Prasoon Majumdar
about.me/prasoonmajumdar
  <http://about.me/prasoonmajumdar>


*This is ten percent luck, twenty percent skill Fifteen percent
concentrated power of will Five percent pleasure, fifty percent pain And a
hundred percent reason to remember the name*
 Fort Minor - Remember The Name
<http://www.metrolyrics.com/remember-the-name-lyrics-fort-minor.html#ixzz3UGL1XuZV>

On 12 July 2016 at 22:35, Prasoon Majumdar <prasoonprince at gmail.com> wrote:

> Hello All,
>
> I am not able to start the nested container and getting these errors :
>
> root at p1:/# lxc-start -n p1_nested
> lxc-start: cgfs.c: lxc_cgroupfs_create: 841 Could not find writable mount
> point for cgroup hierarchy 11 while trying to create cgroup.
> lxc-start: start.c: lxc_spawn: 891 failed creating cgroups
> lxc-start: start.c: __lxc_start: 1121 failed to spawn 'p1_nested'
> lxc-start: lxc_start.c: main: 341 The container failed to start.
> lxc-start: lxc_start.c: main: 345 Additional information can be obtained
> by setting the --logfile and --logpriority options.
>
>
> I am running p1_nested inside p1 :
>
> Name:           p1
> State:          RUNNING
> PID:            42141
> IP:             10.0.3.11
> IP:             10.0.4.1
> CPU use:        25.50 seconds
> BlkIO use:      472.06 MiB
> Memory use:     141.44 MiB
> KMem use:       0 bytes
> Link:           vethPLDDUD
>  TX bytes:      8.29 KiB
>  RX bytes:      181.25 KiB
>  Total bytes:   189.54 KiB
>
> Can someone show me some light here:
>
> Let me know .
>
> Regs
> Prasoon
>
>
>
>
>
>
> [image: Prasoon Majumdar on about.me]
>
> Prasoon Majumdar
> about.me/prasoonmajumdar
>
> <http://about.me/prasoonmajumdar>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160712/8a2afd71/attachment-0001.html>


More information about the lxc-users mailing list