Dear list,
I am bulding a VM using libvirt and lxc for linux container. I have an
issue with my cgroups settings:
gabx@hortensia ➤➤ ~ # virsh start dahlia
error: Failed to start domain dahlia
error: internal error: No valid cgroup for machine dahlia
My environement:
Host : Arch Linux - systemd
Am 15.02.2014 14:37, schrieb arnaud gaboury:
> Dear list,
>
> I am bulding a VM using libvirt and lxc for linux container. I have an
> issue with my cgroups settings:
>
> gabx@hortensia ➤➤ ~ # virsh start dahlia
> error: Failed to start domain dahlia
> error: internal error: No valid cgroup for m
On Sat, Feb 15, 2014 at 5:41 PM, Tom Kuther wrote:
> Am 15.02.2014 14:37, schrieb arnaud gaboury:
>> Dear list,
>>
>> I am bulding a VM using libvirt and lxc for linux container. I have an
>> issue with my cgroups settings:
>>
>> gabx@hortensia ➤➤ ~ # virsh start dahlia
>> error: Failed to start d
> Thank you Tom for your long and precise help. I think I will give up
> libvirt and go to LXC. Btw, the container does not need so much
> settings offer by libvirt management.
> For your info, /etc/cgconfig is needed and read by systemd
> cgconfig.service. But there is no need in fact to enable th
Am 15.02.2014 18:03, schrieb arnaud gaboury:
> Thank you Tom for your long and precise help. I think I will give up
> libvirt and go to LXC. Btw, the container does not need so much
> settings offer by libvirt management.
> For your info, /etc/cgconfig is needed and read by systemd
> cgconfig.servi
On Sat, 15 Feb 2014 21:04:43 +0100
arnaud gaboury wrote:
> > Thank you Tom for your long and precise help. I think I will give up
> > libvirt and go to LXC. Btw, the container does not need so much
> > settings offer by libvirt management.
> > For your info, /etc/cgconfig is needed and read by sy
> What LXC version do you use?
lxc-git 1.0.0.rc2.1.g5112cd7-1
>
> Are you planning to use LXC with lxc.id_map (so, user namespace)?
> That completely failed here. If you succeed, please let us know how.
I would like to use user namespace facility. Until now, I didn't try
to set up lxc.id_map
--
google.com/+arnaudgabourygabx
I guess my lxc container is borken:
root@hortensia ➤➤ /etc/netctl # CONFIG=/var/lib/lxc/dahlia/config
/usr/sbin/lxc-checkconfig
--- Namespaces ---
Namespaces: required
Utsname namespace: missing
Ipc namespace: required
Pid namespace: required
User namespace: missing
Network namespace: missing
Mul
> I see cgconfig.service comes from libcgroup. Never heard of it before,
> so not sure how it fits in the systemd picture.
>
> ~Tom
with cgconfig.service anble or disable, it doesn't change anything: I
still get this error:
gabx@hortensia ➤➤ ~ # lxc-start -n dahlia -d
lxc-start: command get_cgr
>
> - Systemd creates all necessary cgroups
How can I be sure systemd created them ? Are the command line &
results below OK ?
gabx@hortensia ➤➤ ~aur/libvirt-git # cat /proc/cgroups
#subsys_namehierarchynum_cgroupsenabled
cpuset321
cpu421
cpuacct421
11 matches
Mail list logo