I tried to get LXD working. I noticed the wiki page https://www.funtoo.org/LXD but it does not work for me (and I'm surprised to see calls to "service", is that usually installed?)
I can execute launch, but the image then does not start. I get this error message:
onli@Fallout:~$ lxc start pipeblock
Error: Failed to run: /usr/libexec/lxd forkstart pipeblock /var/lib/lxd/containers /var/log/lxd/pipeblock/lxc.conf:
Try `lxc info --show-log pipeblock` for more info
onli@Fallout:~$ lxc info --show-log pipeblock
Name: pipeblock
Location: none
Remote: unix://
Architecture: x86_64
Created: 2018/10/21 14:32 UTC
Status: Stopped
Type: persistent
Profiles: default
Log:
lxc pipeblock 20181021150139.557 ERROR cgfsng - cgroups/cgfsng.c:create_path_for_hierarchy:1198 - The cgroup "/sys/fs/cgroup/openrc//lxc/pipeblock" already existed
lxc pipeblock 20181021150139.558 ERROR cgfsng - cgroups/cgfsng.c:cgfsng_create:1287 - Failed to create cgroup "/sys/fs/cgroup/openrc//lxc/pipeblock"
lxc pipeblock 20181021150139.558 ERROR cgfsng - cgroups/cgfsng.c:create_path_for_hierarchy:1198 - The cgroup "/sys/fs/cgroup/openrc//lxc/pipeblock-1" already existed
lxc pipeblock 20181021150139.558 ERROR cgfsng - cgroups/cgfsng.c:cgfsng_create:1287 - Failed to create cgroup "/sys/fs/cgroup/openrc//lxc/pipeblock-1"
lxc pipeblock 20181021150139.558 ERROR cgfsng - cgroups/cgfsng.c:create_path_for_hierarchy:1198 - The cgroup "/sys/fs/cgroup/openrc//lxc/pipeblock-2" already existed
lxc pipeblock 20181021150139.558 ERROR cgfsng - cgroups/cgfsng.c:cgfsng_create:1287 - Failed to create cgroup "/sys/fs/cgroup/openrc//lxc/pipeblock-2"
lxc pipeblock 20181021150139.563 ERROR conf - conf.c:lxc_map_ids:2999 - newuidmap failed to write mapping "newuidmap: uid range [0-1000000000) -> [1000000-1001000000) not allowed": newuidmap 2186 0 1000000 1000000000
lxc pipeblock 20181021150139.563 ERROR start - start.c:lxc_spawn:1677 - Failed to set up id mapping.
lxc pipeblock 20181021150139.627 WARN network - network.c:lxc_delete_network_priv:2597 - Invalid argument - Failed to remove interface "vethB76GK4" from "lxdbr0"
lxc pipeblock 20181021150139.627 ERROR lxccontainer - lxccontainer.c:wait_on_daemonized_start:840 - Received container state "ABORTING" instead of "RUNNING"
lxc pipeblock 20181021150139.628 ERROR start - start.c:__lxc_start:1910 - Failed to spawn container "pipeblock"
lxc pipeblock 20181021150139.633 ERROR conf - conf.c:lxc_map_ids:2999 - newuidmap failed to write mapping "newuidmap: uid range [0-1000000000) -> [1000000-1001000000) not allowed": newuidmap 2197 0 1000000 1000000000 1000000000 0 1
lxc pipeblock 20181021150139.633 ERROR conf - conf.c:userns_exec_1:4358 - Error setting up {g,u}id mappings for child process "2197"
lxc pipeblock 20181021150139.633 WARN cgfsng - cgroups/cgfsng.c:cgfsng_destroy:1119 - Failed to destroy cgroups
lxc 20181021150139.633 WARN commands - commands.c:lxc_cmd_rsp_recv:130 - Connection reset by peer - Failed to receive response for command "get_state"
Is there a likely reason for the cgroup already existing, and for newuidmpa to be failing?
Question
onli
Hi
I tried to get LXD working. I noticed the wiki page https://www.funtoo.org/LXD but it does not work for me (and I'm surprised to see calls to "service", is that usually installed?)
I can execute launch, but the image then does not start. I get this error message:
Is there a likely reason for the cgroup already existing, and for newuidmpa to be failing?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts