Bug 982306 - libvirtError: Requested operation is not valid: cgroup CPUACCT controller is not mounted
Summary: libvirtError: Requested operation is not valid: cgroup CPUACCT controller is ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: ovirt-host-deploy
Classification: oVirt
Component: Plugins.VDSM
Version: master
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 1.1.0
Assignee: Alon Bar-Lev
QA Contact: Pavel Stehlik
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-08 15:47 UTC by Aharon Canan
Modified: 2016-02-10 19:15 UTC (History)
14 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-01-21 15:57:34 UTC
oVirt Team: Infra
Embargoed:
bazulay: devel_ack+


Attachments (Terms of Use)
libvirt (8.27 MB, text/plain)
2013-07-08 15:47 UTC, Aharon Canan
no flags Details
spm (1.05 MB, text/plain)
2013-07-08 15:47 UTC, Aharon Canan
no flags Details
hsm (4.71 MB, text/plain)
2013-07-08 15:48 UTC, Aharon Canan
no flags Details
engine (1.05 MB, text/plain)
2013-07-08 15:49 UTC, Aharon Canan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1035484 0 unspecified CLOSED Manager VM disappears unexpectedly during install 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2014:0074 0 normal SHIPPED_LIVE ovirt-host-deploy bug fix and enhancement update 2014-01-21 20:15:57 UTC
oVirt gerrit 16204 0 None None None Never

Internal Links: 1035484

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


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