[arch-general] libvirt / lxc : no valid cgroup for machine

arnaud gaboury arnaud.gaboury at gmail.com
Sun Feb 16 06:41:38 EST 2014


On Sun, Feb 16, 2014 at 12:20 PM, Tom Kuther <tom at kuther.net> wrote:
> Am 16.02.2014 11:56, schrieb arnaud gaboury:
>>> └» systemd-cgls
>>
>>
>
> That would be strange. With your machine-dahlia.slice config and the
> partition setting in your domain.xml,
I am not quite sur of a good setting of the partition. See my previous email
you should have
> machine.slice -> machine-dahlia.slice -> machine-lxc...scope
>
> What does "machinectl -l" spit out?
>
> └» machinectl -l
> MACHINE
                         CONTAINER SERVICE
0 machines listed.

>>>>>>  bad news

gabx at hortensia ➤➤ ~aur/libvirt-git # virsh list --all

 Id    Name                           State
----------------------------------------------------
 -     dahlia                         shut off

>>>>>>>Machine is here

gabx at hortensia ➤➤ ~aur/libvirt-git % systemctl status
systemd-machined.service
systemd-machined.service - Virtual Machine and Container Registration Service
   Loaded: loaded (/usr/lib/systemd/system/systemd-machined.service; static)
   Active: active (running) since Sun 2014-02-16 12:18:36 CET; 1min 50s ago
     Docs: man:systemd-machined.service(8)
           http://www.freedesktop.org/wiki/Software/systemd/machined
 Main PID: 3401 (systemd-machine)
   CGroup: /system.slice/systemd-machined.service
           └─3401 /usr/lib/systemd/systemd-machined


>> gabx at hortensia ➤➤ ~aur/libvirt-git % ls -al /sys/fs/cgroup
>> total 0
>> drwxr-xr-x 10 root root 240 Feb 15 23:39 ./
>> drwxr-xr-x  7 root root   0 Feb 15 23:39 ../
>> drwxr-xr-x  3 root root   0 Feb 15 23:39 blkio/
>> drwxr-xr-x  3 root root   0 Feb 15 23:39 cpu,cpuacct/
>> drwxr-xr-x  3 root root   0 Feb 15 23:39 cpuset/
>> drwxr-xr-x  3 root root   0 Feb 15 23:39 devices/
>> drwxr-xr-x  3 root root   0 Feb 15 23:39 freezer/
>> drwxr-xr-x  3 root root   0 Feb 15 23:39 memory/
>> drwxr-xr-x  3 root root   0 Feb 15 23:39 net_cls/
>> drwxr-xr-x  4 root root   0 Feb 15 23:39 systemd/
>> lrwxrwxrwx  1 root root  11 Feb 15 23:39 cpu -> cpu,cpuacct/
>> lrwxrwxrwx  1 root root  11 Feb 15 23:39 cpuacct -> cpu,cpuacct/
>>


More information about the arch-general mailing list