[Libcg-devel] [libvirt]: Not able to login to container when cgroup is enabled

Rishikesh risrajak at linux.vnet.ibm.com
Mon Oct 12 08:23:51 UTC 2009


Hi daniel,

Sorry for late response, was busy with some other high priority task.

Daniel P. Berrange wrote:
> On Wed, Oct 07, 2009 at 08:12:02PM +0530, Dhaval Giani wrote:
>   
> The most likely suspect is that the cgroups controllers were mounted or
> unmounted after libvirtd started. A restart of libvirtd ought to resolve
> the problem if this is indeed the case
>   

Actually not , restarting libvirt daemon did not help me.

I had controllers mounted as per /proc/mount . And i am really seeing an 
issue after starting cgconfig services on my system.

Shell :1
virsh # start vm1
Domain vm1 started

virsh # list --all
 Id Name                 State
----------------------------------
  - vm1                  shut off

virsh #

Shell 2:
[root at mls41 ~]# service libvirtd restart
Stopping libvirtd daemon:                                  [  OK  ]
Starting libvirtd daemon:                                  [  OK  ]
[root at mls41 ~]# cat /proc/mounts | grep cgroup
cgroup /cgroup cgroup rw,relatime,cpuacct,cpu 0 0
[root at mls41 ~]#

Let me know if you need some more info.

-Rishi
> Daniel;
>   




More information about the libvir-list mailing list