Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 607790

Summary: [RHEL 6.0] virt-install fails with ERROR internal error Unable to find cgroup for test123
Product: Red Hat Enterprise Linux 6 Reporter: Vipinlal V V <vvijayan>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: berrange, dallan, mjenner, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-15 15:28:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 609432    

Description Vipinlal V V 2010-06-24 20:28:42 UTC
Description of problem: While creating a domain on RHEL 6.0 beta using virt-install command, it fails with following error.

# virt-install --prompt
What is the name of your virtual machine? test123
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (file path)? /var/lib/libvirt/images/test123.img
What is the install CD-ROM/ISO or URL? /dev/dvd

Starting install...
ERROR    internal error Unable to find cgroup for test123

Domain installation may not have been
successful.  If it was, you can restart your domain
by running 'virsh start test123'; otherwise, please
restart your installation.
ERROR    internal error Unable to find cgroup for test123
Traceback (most recent call last):
 File "/usr/sbin/virt-install", line 943, in <module>
   main()
 File "/usr/sbin/virt-install", line 839, in main
   start_time, guest.start_install)
 File "/usr/sbin/virt-install", line 894, in do_install
   dom = install_func(conscb, progresscb, wait=(not wait))
 File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 660, in start_install
   return self._do_install(consolecb, meter, removeOld, wait)
 File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 758, in _do_install
   self.domain = self.conn.createLinux(install_xml, 0)
 File "/usr/lib64/python2.6/site-packages/libvirt.py", line 1098, in createLinux
   if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Unable to find cgroup for test123 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.# virt-install --prompt
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 RHEL Program Management 2010-06-24 21:23:02 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Cole Robinson 2010-06-25 16:42:22 UTC
Can you provide 

virsh dumpxml $vmname
/var/log/libvirt/qemu/$vmname.log

Reassigning to libvirt

Comment 4 Daniel Berrangé 2010-06-28 16:05:39 UTC
This error normally occurs because someone has modified the system cgroups configuration after libvirtd had started. Can you restart libvirtd and see if the problem goes away.

Comment 5 Daniel Veillard 2010-07-15 15:28:27 UTC
No feedback, and possibly an user error on a problem we can't reproduce,
so closing it unless this can be reproduced again, in which case reopen
and provide the informations being asked.

  thanks,

Daniel