cgconfig was not started causing libvirt to fail, rendering libvirt unusable. Now if cgconfig exists it is automatically started, so libvirt can be used.
Created attachment 770551[details]
libvirt
Description of problem:
=======================
error in loop in hsm logs, system is idle
Thread-5958::ERROR::2013-07-08 18:38:33,496::sampling::355::vm.Vm::(collect) vmId=`707fef33-4cef-4be1-8fcf-4b2fb78cd28f`::Stats function failed: <AdvancedStatsFunction _sampleCpu at 0x1b46458>
Traceback (most recent call last):
File "/usr/share/vdsm/sampling.py", line 351, in collect
statsFunction()
File "/usr/share/vdsm/sampling.py", line 226, in __call__
retValue = self._function(*args, **kwargs)
File "/usr/share/vdsm/vm.py", line 513, in _sampleCpu
cpuStats = self._vm._dom.getCPUStats(True, 0)
File "/usr/share/vdsm/vm.py", line 815, in f
ret = attr(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 112, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1849, in getCPUStats
if ret is None: raise libvirtError ('virDomainGetCPUStats() failed', dom=self)
libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Version-Release number of selected component (if applicable):
3.3 is4
Reproduced using is4 following comment #6.
1. rebuild your hosts
2. rebuild your engine
3. install rhev 3.3 is10
4. create VM and run it
5. install RHEL on that VM
6. check HSM vdsm logs.
marking as verified using is10.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-0074.html
Created attachment 770551 [details] libvirt Description of problem: ======================= error in loop in hsm logs, system is idle Thread-5958::ERROR::2013-07-08 18:38:33,496::sampling::355::vm.Vm::(collect) vmId=`707fef33-4cef-4be1-8fcf-4b2fb78cd28f`::Stats function failed: <AdvancedStatsFunction _sampleCpu at 0x1b46458> Traceback (most recent call last): File "/usr/share/vdsm/sampling.py", line 351, in collect statsFunction() File "/usr/share/vdsm/sampling.py", line 226, in __call__ retValue = self._function(*args, **kwargs) File "/usr/share/vdsm/vm.py", line 513, in _sampleCpu cpuStats = self._vm._dom.getCPUStats(True, 0) File "/usr/share/vdsm/vm.py", line 815, in f ret = attr(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 112, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1849, in getCPUStats if ret is None: raise libvirtError ('virDomainGetCPUStats() failed', dom=self) libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted Version-Release number of selected component (if applicable): 3.3 is4