Bug 748703 - Error in the libvirt log when starting VM via RHEV-M
Summary: Error in the libvirt log when starting VM via RHEV-M
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-25 05:14 UTC by Mike Cao
Modified: 2011-11-09 10:02 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-25 09:34:55 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Mike Cao 2011-10-25 05:14:08 UTC
Description of problem:


Version-Release number of selected component (if applicable):
# rpm -q kernel libvirt vdsm qemu-kvm spice-server
kernel-2.6.32-209.el6.x86_64
libvirt-0.9.4-19.el6.x86_64
vdsm-4.9-96.1.el6.x86_64
qemu-kvm-0.12.1.2-2.200.el6.x86_64
spice-server-0.8.2-4.el6.x86_64
RHEV Manager for Servers and Desktops :3.0.0_0001-40.el6

How reproducible:
100%

Steps to Reproduce:
1.on the host #mount -t cgroup -o cpu none /cgroup/
2.start a VM via virt-manager
3.#on the host #tail -f /var/log/vdsm/libvirt.log
  
Actual results:
After step3.it shows following msg:
11:08:43.719: 13973: error : virNetClientProgramDispatchError:170 : Requested operation is not valid: cgroup CPU controller is not mounted
			<driver cache="none" error_policy="stop" io="threads" name="qemu" type="raw"/>


Expected results:
no cgroup error printed 

Additional info:
I am not sure whether it is a libvirt bug or vdsm bug ,move it to the right component if I were wrong .

Comment 2 Mike Cao 2011-10-25 06:55:19 UTC
 (In reply to comment #1)
> All RPMs but VDSM are updated. Please update your VDSM as well and retry.

Update vdsm to vdsm-4.9-110.el6.x86_64 still hit this issue ,

Based on above ,re-open this Bug .

Comment 4 Dan Kenigsberg 2011-10-25 07:15:28 UTC
Why are you mounting cgroup manually? Isn't cgroup service on when you boot?

How come you can even start a VM via virt-manager? When Vdsm is installed, running VMs via non-Vdsm managers is blocked with sasl and unsupported.

Please provide the needed info and reopen the bug if you also fail to start VMs from RHEV-M.

Comment 5 Mike Cao 2011-10-25 07:41:01 UTC
(In reply to comment #4)
> Why are you mounting cgroup manually? Isn't cgroup service on when you boot?
> 

I tried both all reports cgroup error in libvirt.log 

> How come you can even start a VM via virt-manager? When Vdsm is installed,
> running VMs via non-Vdsm managers is blocked with sasl and unsupported.

sorry ,the step2 should be :start VM via RHEV-M 

> 
> Please provide the needed info and reopen the bug if you also fail to start VMs
> from RHEV-M.
the VM could be started via RHEV-M ,but there are cgroup error logs which described in comment #0 in /var/log/vdsm/libvirt.log

Comment 6 Mike Cao 2011-10-25 07:41:39 UTC
Hi, Dan 

Based on comment #5, May I re-open this bug ?

Best Regards,
Mike

Comment 7 Dan Kenigsberg 2011-10-25 08:59:00 UTC
sure - I specifically asked you to reopen the bug if it's unrelated to virt-manager.

However, you did not answer my question: Is cgroup service on when you boot? What's chkconfig --list cgroup.

If it is only a logging issue, with no functional effect, I do not see it fixed for 6.2. But please discuss this with libvirt guys.

Comment 8 Mike Cao 2011-10-25 09:34:11 UTC
(In reply to comment #7)
> sure - I specifically asked you to reopen the bug if it's unrelated to
> virt-manager.
> 
> However, you did not answer my question: Is cgroup service on when you boot?
> What's chkconfig --list cgroup.

Referring to the docs http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Resource_Management_Guide/ch-Using_Control_Groups.html
 ,the services is disabled on boot  
#chkconfig --list |grep cgconfig
cgconfig       	0:off	1:off	2:off	3:off	4:off	5:off	6:off

After #chkconfig --level 345 cgconfig on ,then reboot the guest  ,the issue has gone. 

Thanks for pointing this !
Mike
> 
> If it is only a logging issue, with no functional effect, I do not see it fixed
> for 6.2. But please discuss this with libvirt guys.

Comment 9 Mike Cao 2011-10-25 09:34:55 UTC
based on comment #8 ,close this Bug


Note You need to log in before you can comment on or make changes to this bug.