RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 963514 - Cannot create snapshot ,Unable to find cgroup for vm
Summary: Cannot create snapshot ,Unable to find cgroup for vm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-16 03:02 UTC by xingxing
Modified: 2013-05-23 09:08 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-20 10:16:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description xingxing 2013-05-16 03:02:58 UTC
Description of problem:
After cgconfig service restarted and libvirtd restarted ,could not create snapshot for vm.

Version-Release number of selected component (if applicable):
# uname -r
2.6.32-358.6.1.el6.x86_64
# rpm -q libvirt
libvirt-0.10.2-18.el6_4.4.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-0.12.1.2-2.355.el6.3.x86_64


How reproducible:
100%

Steps to Reproduce:
1.service cgconfig restart
2.service libvirtd restart
3.virsh snapshot-create-as testvm s1 --disk-only
  
Actual results:
error: internal error Unable to find cgroup for cho2013051600036
in libvirtd.log:
2013-05-16 02:53:02.062+0000: 16157: error : qemuDomainSnapshotCreateDiskActive:11299 : internal error Unable to find cgroup for testvm
in /cgroup there no cgroup config for testvm.

Expected results:
create snapshot success.

Additional info:

Comment 1 xingxing 2013-05-16 03:05:36 UTC
cho2013051600036 is another vm's name ,the error message is:
error: internal error Unable to find cgroup for testvm

Comment 3 Jiri Denemark 2013-05-20 10:16:42 UTC
I don't think restarting cgconfig service is something we want to support unless there's a real reason for doing that. If you restart cgconfig service, all cgroups are removed and all tasks are moved to the root cgroup.

I'm closing this as not a bug, but feel free to reopen if there is a real situation in which cgconfig service needs to be restarted.

Comment 4 Daniel Berrangé 2013-05-20 10:27:09 UTC
If anything this is really broken behaviour of cgconfig. Nothing should ever unilaterally delete the cgroups hierarchy once the system has booted.


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