Bug 711703 - can't create a VM
Summary: can't create a VM
Keywords:
Status: CLOSED DUPLICATE of bug 678555
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 15
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-08 08:39 UTC by Ferry Huberts
Modified: 2011-06-10 16:37 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-06-08 15:15:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ferry Huberts 2011-06-08 08:39:50 UTC
Description of problem:
Can't create a VM of CentOS 5.6 64

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


How reproducible:
always

Steps to Reproduce:
1. start virt-manager
2. create a new virtual machine
3. fill in name (gittest), click forward
4. select iso of centos 5.6 64, os linux, version rhel 5.4 or later, press forward
5. 1024MB ram, 2 cpus, forward
6. select managed storage, precreated qcow2 file, forward
7. finish
  
Actual results:
Unable to complete install: 'Unable to create cgroup for gittest: No such file or directory'
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1643, in do_install
    guest.start_install(False, meter=meter)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1187, in start_install
    start_xml, final_xml, is_initial)
  File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1246, in _create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1346, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: Unable to create cgroup for gittest: No such file or directory


Expected results:
success

Additional info:
selinux enforcing, disabling selinux has no effect

Comment 1 Ferry Huberts 2011-06-08 08:41:33 UTC
libvirt.x86_64                                       0.8.8-4.fc15  
libvirt-client.x86_64                                0.8.8-4.fc15  
libvirt-python.x86_64                                0.8.8-4.fc15  
perl-Sys-Virt.x86_64                                 0.2.6-2.fc15  
python-virtinst.noarch                               0.500.6-2.fc15
python-virtkey.x86_64                                0.50-9.fc15   
virt-manager.noarch                                  0.8.7-4.fc15  
virt-top.x86_64                                      1.0.5-2.fc15  
virt-v2v.x86_64                                      0.7.0-2.fc15  
virt-viewer.x86_64                                   0.3.1-1.fc15  
virt-what.x86_64                                     1.10-1.fc15

Comment 2 Ferry Huberts 2011-06-08 15:15:53 UTC
this problems manifests on my freshly installed T60 machine.

it does not manifest on my upgraded (from F14) thinkcentre machine, which has the same packages:
libvirt.x86_64                                       0.8.8-4.fc15  
libvirt-client.x86_64                                0.8.8-4.fc15  
libvirt-python.x86_64                                0.8.8-4.fc15  
perl-Sys-Virt.x86_64                                 0.2.6-2.fc15  
python-virtinst.noarch                               0.500.6-2.fc15
python-virtkey.x86_64                                0.50-9.fc15   
virt-manager.noarch                                  0.8.7-4.fc15  
virt-top.x86_64                                      1.0.5-2.fc15  
virt-v2v.x86_64                                      0.7.0-2.fc15  
virt-viewer.x86_64                                   0.3.1-1.fc15  
virt-what.x86_64                                     1.10-1.fc15   


weird

did a reboot of the t60 machine and now it works.
weird again.

Comment 3 Cole Robinson 2011-06-10 16:37:48 UTC
This is caused by systemd purging cgroups. if you see it again, a work around is 'service libvirtd restart'

*** This bug has been marked as a duplicate of bug 678555 ***


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