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