Bug 982306

Summary: libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Product: [oVirt] ovirt-host-deploy Reporter: Aharon Canan <acanan>
Component: Plugins.VDSMAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED ERRATA QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: masterCC: acathrow, alonbl, bazulay, bugs, cboyle, dfediuck, dougsland, ebenahar, iheim, jkt, lpeer, pstehlik, Rhev-m-bugs, yeylon
Target Milestone: ---Flags: bazulay: devel_ack+
Target Release: 1.1.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
cgconfig was not started causing libvirt to fail, rendering libvirt unusable. Now if cgconfig exists it is automatically started, so libvirt can be used.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 15:57:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
libvirt
none
spm
none
hsm
none
engine none

Description Aharon Canan 2013-07-08 15:47:04 UTC
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

Comment 1 Aharon Canan 2013-07-08 15:47:35 UTC
Created attachment 770552 [details]
spm

Comment 2 Aharon Canan 2013-07-08 15:48:27 UTC
Created attachment 770553 [details]
hsm

Comment 3 Aharon Canan 2013-07-08 15:49:36 UTC
Created attachment 770554 [details]
engine

Comment 7 Aharon Canan 2013-08-25 12:49:58 UTC
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.

Comment 8 Charlie 2013-12-05 01:51:35 UTC
Hi does this need doc text? If so what is it?

Thanks.

Comment 9 errata-xmlrpc 2014-01-21 15:57:34 UTC
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