Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@xubuntu:~# sh script.sh
- + echo ==== SYSTEM INFO & INSTALL ====
- ==== SYSTEM INFO & INSTALL ====
- + lsb_release -a
- No LSB modules are available.
- Distributor ID: Ubuntu
- Description: Ubuntu 14.04.2 LTS
- Release: 14.04
- Codename: trusty
- + uname -a
- Linux xubuntu 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
- + apt-get update
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty InRelease
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/main Translation-en_US
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/main Translation-en
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/multiverse Translation-en_US
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/multiverse Translation-en
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/restricted Translation-en_US
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/restricted Translation-en
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/universe Translation-en_US
- Ign cdrom://Xubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1) trusty/universe Translation-en
- Ign http://security.ubuntu.com trusty-security InRelease
- Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]
- Get:2 http://security.ubuntu.com trusty-security Release [63.5 kB]
- Ign http://archive.ubuntu.com trusty InRelease
- Get:3 http://security.ubuntu.com trusty-security/main amd64 Packages [268 kB]
- Ign http://archive.ubuntu.com trusty-updates InRelease
- Hit http://archive.ubuntu.com trusty Release.gpg
- Get:4 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
- Hit http://archive.ubuntu.com trusty Release
- Get:5 http://security.ubuntu.com trusty-security/restricted amd64 Packages [8,875 B]
- Get:6 http://security.ubuntu.com trusty-security/universe amd64 Packages [102 kB]
- Get:7 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
- Get:8 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [3,680 B]
- Get:9 http://security.ubuntu.com trusty-security/main Translation-en [136 kB]
- Hit http://archive.ubuntu.com trusty/main amd64 Packages
- Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
- Get:10 http://security.ubuntu.com trusty-security/multiverse Translation-en [1,679 B]
- Get:11 http://security.ubuntu.com trusty-security/restricted Translation-en [2,266 B]
- Get:12 http://security.ubuntu.com trusty-security/universe Translation-en [57.3 kB]
- Hit http://archive.ubuntu.com trusty/universe amd64 Packages
- Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
- Hit http://archive.ubuntu.com trusty/main Translation-en
- Hit http://archive.ubuntu.com trusty/multiverse Translation-en
- Hit http://archive.ubuntu.com trusty/restricted Translation-en
- Hit http://archive.ubuntu.com trusty/universe Translation-en
- Get:13 http://archive.ubuntu.com trusty-updates/main amd64 Packages [516 kB]
- Get:14 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [9,238 B]
- Get:15 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [277 kB]
- Get:16 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [12.0 kB]
- Get:17 http://archive.ubuntu.com trusty-updates/main Translation-en [245 kB]
- Get:18 http://archive.ubuntu.com trusty-updates/multiverse Translation-en [6,148 B]
- Get:19 http://archive.ubuntu.com trusty-updates/restricted Translation-en [2,433 B]
- Get:20 http://archive.ubuntu.com trusty-updates/universe Translation-en [144 kB]
- Ign http://archive.ubuntu.com trusty/main Translation-en_US
- Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
- Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
- Ign http://archive.ubuntu.com trusty/universe Translation-en_US
- Fetched 1,920 kB in 12s (149 kB/s)
- Reading package lists... Done
- + apt-get install -y lxc
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following extra packages will be installed:
- bridge-utils cgmanager cloud-image-utils debootstrap distro-info
- distro-info-data euca2ools libaio1 libboost-system1.54.0
- libboost-thread1.54.0 liblxc1 librados2 librbd1 libseccomp2 lxc-templates
- python-distro-info python-requestbuilder python-setuptools python3-lxc
- qemu-utils sharutils uidmap
- Suggested packages:
- cgmanager-utils shunit2 lxctl qemu-user-static bsd-mailx mailx
- The following NEW packages will be installed:
- bridge-utils cgmanager cloud-image-utils debootstrap distro-info
- distro-info-data euca2ools libaio1 libboost-system1.54.0
- libboost-thread1.54.0 liblxc1 librados2 librbd1 libseccomp2 lxc
- lxc-templates python-distro-info python-requestbuilder python-setuptools
- python3-lxc qemu-utils sharutils uidmap
- 0 upgraded, 23 newly installed, 0 to remove and 205 not upgraded.
- Need to get 3,563 kB of archives.
- After this operation, 15.8 MB of additional disk space will be used.
- Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main libaio1 amd64 0.3.109-4 [6,364 B]
- Get:2 http://security.ubuntu.com/ubuntu/ trusty-security/main qemu-utils amd64 2.0.0+dfsg-2ubuntu1.11 [412 kB]
- Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-system1.54.0 amd64 1.54.0-4ubuntu3.1 [10.1 kB]
- Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-thread1.54.0 amd64 1.54.0-4ubuntu3.1 [26.5 kB]
- Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main cgmanager amd64 0.24-0ubuntu7.3 [49.9 kB]
- Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libseccomp2 amd64 2.1.0+dfsg-1 [34.8 kB]
- Get:7 http://archive.ubuntu.com/ubuntu/ trusty-updates/main liblxc1 amd64 1.0.7-0ubuntu0.1 [163 kB]
- Get:8 http://archive.ubuntu.com/ubuntu/ trusty-updates/main librados2 amd64 0.80.9-0ubuntu0.14.04.2 [1,429 kB]
- Get:9 http://archive.ubuntu.com/ubuntu/ trusty-updates/main librbd1 amd64 0.80.9-0ubuntu0.14.04.2 [319 kB]
- Get:10 http://archive.ubuntu.com/ubuntu/ trusty/main python-requestbuilder all 0.1.0~beta2-1build1 [25.4 kB]
- Get:11 http://archive.ubuntu.com/ubuntu/ trusty/main bridge-utils amd64 1.5-6ubuntu2 [29.2 kB]
- Get:12 http://archive.ubuntu.com/ubuntu/ trusty-updates/main distro-info-data all 0.18ubuntu0.3 [4,294 B]
- Get:13 http://archive.ubuntu.com/ubuntu/ trusty/main distro-info amd64 0.12 [19.3 kB]
- Get:14 http://archive.ubuntu.com/ubuntu/ trusty/main python-setuptools all 3.3-1ubuntu1 [230 kB]
- Get:15 http://archive.ubuntu.com/ubuntu/ trusty/main euca2ools all 3.0.2-1ubuntu1 [251 kB]
- Get:16 http://archive.ubuntu.com/ubuntu/ trusty-updates/main python3-lxc amd64 1.0.7-0ubuntu0.1 [19.9 kB]
- Get:17 http://archive.ubuntu.com/ubuntu/ trusty-updates/main lxc amd64 1.0.7-0ubuntu0.1 [200 kB]
- Get:18 http://archive.ubuntu.com/ubuntu/ trusty-updates/main lxc-templates amd64 1.0.7-0ubuntu0.1 [62.4 kB]
- Get:19 http://archive.ubuntu.com/ubuntu/ trusty/main python-distro-info all 0.12 [8,082 B]
- Get:20 http://archive.ubuntu.com/ubuntu/ trusty/main sharutils amd64 1:4.14-1ubuntu1 [145 kB]
- Get:21 http://archive.ubuntu.com/ubuntu/ trusty/main uidmap amd64 1:4.1.5.1-1ubuntu9 [63.3 kB]
- Get:22 http://archive.ubuntu.com/ubuntu/ trusty-updates/main cloud-image-utils all 0.27-0ubuntu9.1 [25.6 kB]
- Get:23 http://archive.ubuntu.com/ubuntu/ trusty-updates/main debootstrap all 1.0.59ubuntu0.3 [29.8 kB]
- Fetched 3,563 kB in 16s (217 kB/s)
- Selecting previously unselected package libaio1:amd64.
- (Reading database ... 154842 files and directories currently installed.)
- Preparing to unpack .../libaio1_0.3.109-4_amd64.deb ...
- Unpacking libaio1:amd64 (0.3.109-4) ...
- Selecting previously unselected package libboost-system1.54.0:amd64.
- Preparing to unpack .../libboost-system1.54.0_1.54.0-4ubuntu3.1_amd64.deb ...
- Unpacking libboost-system1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
- Selecting previously unselected package libboost-thread1.54.0:amd64.
- Preparing to unpack .../libboost-thread1.54.0_1.54.0-4ubuntu3.1_amd64.deb ...
- Unpacking libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
- Selecting previously unselected package cgmanager.
- Preparing to unpack .../cgmanager_0.24-0ubuntu7.3_amd64.deb ...
- Unpacking cgmanager (0.24-0ubuntu7.3) ...
- Selecting previously unselected package libseccomp2:amd64.
- Preparing to unpack .../libseccomp2_2.1.0+dfsg-1_amd64.deb ...
- Unpacking libseccomp2:amd64 (2.1.0+dfsg-1) ...
- Selecting previously unselected package liblxc1.
- Preparing to unpack .../liblxc1_1.0.7-0ubuntu0.1_amd64.deb ...
- Unpacking liblxc1 (1.0.7-0ubuntu0.1) ...
- Selecting previously unselected package librados2.
- Preparing to unpack .../librados2_0.80.9-0ubuntu0.14.04.2_amd64.deb ...
- Unpacking librados2 (0.80.9-0ubuntu0.14.04.2) ...
- Selecting previously unselected package librbd1.
- Preparing to unpack .../librbd1_0.80.9-0ubuntu0.14.04.2_amd64.deb ...
- Unpacking librbd1 (0.80.9-0ubuntu0.14.04.2) ...
- Selecting previously unselected package python-requestbuilder.
- Preparing to unpack .../python-requestbuilder_0.1.0~beta2-1build1_all.deb ...
- Unpacking python-requestbuilder (0.1.0~beta2-1build1) ...
- Selecting previously unselected package bridge-utils.
- Preparing to unpack .../bridge-utils_1.5-6ubuntu2_amd64.deb ...
- Unpacking bridge-utils (1.5-6ubuntu2) ...
- Selecting previously unselected package distro-info-data.
- Preparing to unpack .../distro-info-data_0.18ubuntu0.3_all.deb ...
- Unpacking distro-info-data (0.18ubuntu0.3) ...
- Selecting previously unselected package distro-info.
- Preparing to unpack .../distro-info_0.12_amd64.deb ...
- Unpacking distro-info (0.12) ...
- Selecting previously unselected package python-setuptools.
- Preparing to unpack .../python-setuptools_3.3-1ubuntu1_all.deb ...
- Unpacking python-setuptools (3.3-1ubuntu1) ...
- Selecting previously unselected package euca2ools.
- Preparing to unpack .../euca2ools_3.0.2-1ubuntu1_all.deb ...
- Unpacking euca2ools (3.0.2-1ubuntu1) ...
- Selecting previously unselected package python3-lxc.
- Preparing to unpack .../python3-lxc_1.0.7-0ubuntu0.1_amd64.deb ...
- Unpacking python3-lxc (1.0.7-0ubuntu0.1) ...
- Selecting previously unselected package lxc.
- Preparing to unpack .../lxc_1.0.7-0ubuntu0.1_amd64.deb ...
- Unpacking lxc (1.0.7-0ubuntu0.1) ...
- Selecting previously unselected package lxc-templates.
- Preparing to unpack .../lxc-templates_1.0.7-0ubuntu0.1_amd64.deb ...
- Unpacking lxc-templates (1.0.7-0ubuntu0.1) ...
- Selecting previously unselected package python-distro-info.
- Preparing to unpack .../python-distro-info_0.12_all.deb ...
- Unpacking python-distro-info (0.12) ...
- Selecting previously unselected package qemu-utils.
- Preparing to unpack .../qemu-utils_2.0.0+dfsg-2ubuntu1.11_amd64.deb ...
- Unpacking qemu-utils (2.0.0+dfsg-2ubuntu1.11) ...
- Selecting previously unselected package sharutils.
- Preparing to unpack .../sharutils_1%3a4.14-1ubuntu1_amd64.deb ...
- Unpacking sharutils (1:4.14-1ubuntu1) ...
- Selecting previously unselected package uidmap.
- Preparing to unpack .../uidmap_1%3a4.1.5.1-1ubuntu9_amd64.deb ...
- Unpacking uidmap (1:4.1.5.1-1ubuntu9) ...
- Selecting previously unselected package cloud-image-utils.
- Preparing to unpack .../cloud-image-utils_0.27-0ubuntu9.1_all.deb ...
- Unpacking cloud-image-utils (0.27-0ubuntu9.1) ...
- Selecting previously unselected package debootstrap.
- Preparing to unpack .../debootstrap_1.0.59ubuntu0.3_all.deb ...
- Unpacking debootstrap (1.0.59ubuntu0.3) ...
- Processing triggers for ureadahead (0.100.0-16) ...
- Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
- Processing triggers for install-info (5.2.0.dfsg.1-2) ...
- Setting up libaio1:amd64 (0.3.109-4) ...
- Setting up libboost-system1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
- Setting up libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3.1) ...
- Setting up cgmanager (0.24-0ubuntu7.3) ...
- cgmanager start/running, process 7003
- cgproxy stop/pre-start, process 7040
- Setting up libseccomp2:amd64 (2.1.0+dfsg-1) ...
- Setting up librados2 (0.80.9-0ubuntu0.14.04.2) ...
- Setting up librbd1 (0.80.9-0ubuntu0.14.04.2) ...
- Setting up python-requestbuilder (0.1.0~beta2-1build1) ...
- Setting up bridge-utils (1.5-6ubuntu2) ...
- Setting up distro-info-data (0.18ubuntu0.3) ...
- Setting up distro-info (0.12) ...
- Setting up python-setuptools (3.3-1ubuntu1) ...
- Setting up euca2ools (3.0.2-1ubuntu1) ...
- Setting up python-distro-info (0.12) ...
- Setting up qemu-utils (2.0.0+dfsg-2ubuntu1.11) ...
- Setting up sharutils (1:4.14-1ubuntu1) ...
- Setting up uidmap (1:4.1.5.1-1ubuntu9) ...
- Setting up cloud-image-utils (0.27-0ubuntu9.1) ...
- Setting up debootstrap (1.0.59ubuntu0.3) ...
- Processing triggers for ureadahead (0.100.0-16) ...
- Setting up liblxc1 (1.0.7-0ubuntu0.1) ...
- Setting up python3-lxc (1.0.7-0ubuntu0.1) ...
- Setting up lxc (1.0.7-0ubuntu0.1) ...
- lxc start/running
- Setting up lxc dnsmasq configuration.
- Processing triggers for ureadahead (0.100.0-16) ...
- Setting up lxc-templates (1.0.7-0ubuntu0.1) ...
- Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
- + apt-get clean
- + lxc-checkconfig
- Kernel configuration not found at /proc/config.gz; searching...
- Kernel configuration found at /boot/config-3.16.0-30-generic
- --- Namespaces ---
- Namespaces: enabled
- Utsname namespace: enabled
- Ipc namespace: enabled
- Pid namespace: enabled
- User namespace: enabled
- Network namespace: enabled
- Multiple /dev/pts instances: enabled
- --- Control groups ---
- Cgroup: enabled
- Cgroup clone_children flag: enabled
- Cgroup device: enabled
- Cgroup sched: enabled
- Cgroup cpu account: enabled
- Cgroup memory controller: enabled
- Cgroup cpuset: enabled
- --- Misc ---
- Veth pair device: enabled
- Macvlan: enabled
- Vlan: enabled
- File capabilities: enabled
- Note : Before booting a new kernel, you can check its configuration
- usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
- + ifconfig
- eth0 Link encap:Ethernet HWaddr 08:00:27:12:9e:09
- inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0
- inet6 addr: fe80::a00:27ff:fe12:9e09/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:7773 errors:0 dropped:0 overruns:0 frame:0
- TX packets:4040 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:5946562 (5.9 MB) TX bytes:276622 (276.6 KB)
- lo Link encap:Local Loopback
- inet addr:127.0.0.1 Mask:255.0.0.0
- inet6 addr: ::1/128 Scope:Host
- UP LOOPBACK RUNNING MTU:65536 Metric:1
- RX packets:203 errors:0 dropped:0 overruns:0 frame:0
- TX packets:203 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:18180 (18.1 KB) TX bytes:18180 (18.1 KB)
- lxcbr0 Link encap:Ethernet HWaddr 26:cc:10:6f:0c:0e
- inet addr:10.0.3.1 Bcast:10.0.3.255 Mask:255.255.255.0
- inet6 addr: fe80::24cc:10ff:fe6f:c0e/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:0 (0.0 B) TX bytes:1551 (1.5 KB)
- + brctl show
- bridge name bridge id STP enabled interfaces
- lxcbr0 8000.000000000000 no
- + adduser testuser
- Adding user `testuser' ...
- Adding new group `testuser' (1000) ...
- Adding new user `testuser' (1000) with group `testuser' ...
- Creating home directory `/home/testuser' ...
- Copying files from `/etc/skel' ...
- Enter new UNIX password:
- Retype new UNIX password:
- passwd: password updated successfully
- Changing the user information for testuser
- Enter the new value, or press ENTER for the default
- Full Name []:
- Room Number []:
- Work Phone []:
- Home Phone []:
- Other []:
- Is the information correct? [Y/n]
- + cat /etc/subuid /etc/subgid
- testuser:100000:65536
- testuser:100000:65536
- + cat
- + sudo -u testuser -i mkdir -p .config/lxc
- + cut -d: -f2
- + grep testuser /etc/subuid
- + cut -d: -f2
- + grep testuser /etc/subgid
- + sudo -u testuser -i tee .config/lxc/default.conf
- lxc.id_map = u 0 100000 65536
- lxc.id_map = g 0 100000 65536
- lxc.network.type = veth
- lxc.network.link = lxcbr0
- lxc.network.flags = up
- lxc.network.hwaddr = 00:16:3e:xx:xx:xx
- + cat /home/testuser/.config/lxc/default.conf
- lxc.id_map = u 0 100000 65536
- lxc.id_map = g 0 100000 65536
- lxc.network.type = veth
- lxc.network.link = lxcbr0
- lxc.network.flags = up
- lxc.network.hwaddr = 00:16:3e:xx:xx:xx
- + echo ==== TEST UBUNTU VIVID GUEST ====
- ==== TEST UBUNTU VIVID GUEST ====
- + sudo -u testuser -i lxc-create -t download -n vivid1 -- -d ubuntu -r utopic -a amd64
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- Setting up the GPG keyring
- Downloading the image index
- Downloading the rootfs
- Downloading the metadata
- The image cache is now ready
- Unpacking the rootfs
- ---
- You just created an Ubuntu container (release=utopic, arch=amd64, variant=default)
- To enable sshd, run: apt-get install openssh-server
- For security reason, container images ship without user accounts
- and without a root password.
- Use lxc-attach or chroot directly into the rootfs to set a root password
- or create user accounts.
- + [ 0 -eq 0 ]
- + rm /tmp/log
- rm: cannot remove ‘/tmp/log’: No such file or directory
- + sudo -u testuser -i lxc-start -n vivid1 -l debug --logfile /tmp/log
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- lxc-start: cgmanager.c: lxc_cgmanager_create: 299 call to cgmanager_create_sync failed: invalid request
- lxc-start: cgmanager.c: lxc_cgmanager_create: 301 Failed to create hugetlb:vivid1
- lxc-start: cgmanager.c: cgm_create: 646 Error creating cgroup hugetlb:vivid1
- lxc-start: start.c: lxc_spawn: 861 failed creating cgroups
- lxc-start: start.c: __lxc_start: 1080 failed to spawn 'vivid1'
- lxc-start: lxc_start.c: main: 342 The container failed to start.
- lxc-start: lxc_start.c: main: 346 Additional information can be obtained by setting the --logfile and --logpriority options.
- + cat /tmp/log
- lxc-start 1431627862.080 INFO lxc_start_ui - lxc_start.c:main:265 - using rcfile /home/testuser/.local/share/lxc/vivid1/config
- lxc-start 1431627862.080 INFO lxc_utils - utils.c:get_rundir:409 - XDG_RUNTIME_DIR isn't set in the environment.
- lxc-start 1431627862.080 INFO lxc_confile - confile.c:config_idmap:1325 - read uid map: type u nsid 0 hostid 100000 range 65536
- lxc-start 1431627862.080 INFO lxc_confile - confile.c:config_idmap:1325 - read uid map: type g nsid 0 hostid 100000 range 65536
- lxc-start 1431627862.081 WARN lxc_log - log.c:lxc_log_init:316 - lxc_log_init called with log already initialized
- lxc-start 1431627862.081 WARN lxc_cgmanager - cgmanager.c:cgm_get:954 - do_cgm_get exited with error
- lxc-start 1431627862.081 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
- lxc-start 1431627862.081 INFO lxc_utils - utils.c:get_rundir:409 - XDG_RUNTIME_DIR isn't set in the environment.
- lxc-start 1431627862.081 DEBUG lxc_conf - conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/0' (5/6)
- lxc-start 1431627862.081 DEBUG lxc_conf - conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/10' (7/8)
- lxc-start 1431627862.081 DEBUG lxc_conf - conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/12' (9/10)
- lxc-start 1431627862.081 DEBUG lxc_conf - conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/14' (11/12)
- lxc-start 1431627862.081 INFO lxc_conf - conf.c:lxc_create_tty:3676 - tty's configured
- lxc-start 1431627862.081 DEBUG lxc_start - start.c:setup_signal_fd:247 - sigchild handler set
- lxc-start 1431627862.081 DEBUG lxc_console - console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
- lxc-start 1431627862.081 DEBUG lxc_console - console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
- lxc-start 1431627862.081 DEBUG lxc_console - console.c:lxc_console_sigwinch_init:179 - 7493 got SIGWINCH fd 17
- lxc-start 1431627862.081 DEBUG lxc_console - console.c:lxc_console_winsz:88 - set winsz dstfd:14 cols:80 rows:24
- lxc-start 1431627862.106 INFO lxc_start - start.c:lxc_init:443 - 'vivid1' is initialized
- lxc-start 1431627862.107 DEBUG lxc_start - start.c:__lxc_start:1058 - Not dropping cap_sys_boot or watching utmp
- lxc-start 1431627862.107 INFO lxc_start - start.c:lxc_spawn:802 - Cloning a new user namespace
- lxc-start 1431627862.107 INFO lxc_cgroup - cgroup.c:cgroup_init:62 - cgroup driver cgmanager initing for vivid1
- lxc-start 1431627862.107 ERROR lxc_cgmanager - cgmanager.c:lxc_cgmanager_create:299 - call to cgmanager_create_sync failed: invalid request
- lxc-start 1431627862.107 ERROR lxc_cgmanager - cgmanager.c:lxc_cgmanager_create:301 - Failed to create hugetlb:vivid1
- lxc-start 1431627862.107 ERROR lxc_cgmanager - cgmanager.c:cgm_create:646 - Error creating cgroup hugetlb:vivid1
- lxc-start 1431627862.107 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: hugetlb:vivid1 did not exist
- lxc-start 1431627862.107 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: net_prio:vivid1 did not exist
- lxc-start 1431627862.107 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: perf_event:vivid1 did not exist
- lxc-start 1431627862.107 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: blkio:vivid1 did not exist
- lxc-start 1431627862.107 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: net_cls:vivid1 did not exist
- lxc-start 1431627862.108 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: freezer:vivid1 did not exist
- lxc-start 1431627862.108 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: devices:vivid1 did not exist
- lxc-start 1431627862.108 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: memory:vivid1 did not exist
- lxc-start 1431627862.108 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: cpuacct:vivid1 did not exist
- lxc-start 1431627862.108 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: cpu:vivid1 did not exist
- lxc-start 1431627862.108 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: cpuset:vivid1 did not exist
- lxc-start 1431627862.108 INFO lxc_cgmanager - cgmanager.c:cgm_remove_cgroup:523 - cgroup removal attempt: name=systemd:vivid1 did not exist
- lxc-start 1431627862.108 ERROR lxc_start - start.c:lxc_spawn:861 - failed creating cgroups
- lxc-start 1431627862.108 INFO lxc_utils - utils.c:get_rundir:409 - XDG_RUNTIME_DIR isn't set in the environment.
- lxc-start 1431627862.109 ERROR lxc_start - start.c:__lxc_start:1080 - failed to spawn 'vivid1'
- lxc-start 1431627862.109 INFO lxc_utils - utils.c:get_rundir:409 - XDG_RUNTIME_DIR isn't set in the environment.
- lxc-start 1431627862.109 INFO lxc_utils - utils.c:get_rundir:409 - XDG_RUNTIME_DIR isn't set in the environment.
- lxc-start 1431627862.109 ERROR lxc_start_ui - lxc_start.c:main:342 - The container failed to start.
- lxc-start 1431627862.109 ERROR lxc_start_ui - lxc_start.c:main:346 - Additional information can be obtained by setting the --logfile and --logpriority options.
- + echo ==== TEST DEBIAN JESSIE GUEST ====
- ==== TEST DEBIAN JESSIE GUEST ====
- + sudo -u testuser -i lxc-create -t download -n jessie1 -- -d debian -r jessie -a amd64
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- WARN: could not reopen tty: Permission denied
- Setting up the GPG keyring
- Downloading the image index
- ERROR: Couldn't find a matching image.
- lxc_container: lxccontainer.c: create_run_template: 1125 container creation template for jessie1 failed
- lxc_container: utils.c: _recursive_rmdir_onedev: 99 _recursive_rmdir_onedev: failed to delete /home/testuser/.local/share/lxc/jessie1
- lxc_container: lxccontainer.c: lxcapi_destroy: 2088 Error destroying container directory for jessie1
- lxc_container: lxc_create.c: main: 271 Error creating container jessie1
- + [ 1 -eq 0 ]
- + echo ==== END OF SCRIPT ====
- ==== END OF SCRIPT ====
- root@xubuntu:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement