Bug 696218
| Summary: | Unable to create cgroup: No such file or directory | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Kho <rh-bugzilla> |
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | amcnabb, berrange, crobinso, darrellpf, ehabkost, hbrock, hpetty, ipilcher, jforbes, jnevill, niki.guldbrand, plambri, virt-maint |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-13 15:13:20 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: | |||
Hi, Just tried to start an existing vm. Got the same error message. Martin Kho Hi,
Not sure if it's relevant but cgroup.service failed at boot time:
[martin@ps-1866 ~]$ systemctl status cgconfig.service
cgconfig.service - LSB: start and stop the WLM configuration
Loaded: loaded (/etc/rc.d/init.d/cgconfig)
Active: failed since Wed, 13 Apr 2011 13:36:03 +0200; 3h 51min ago
CGroup: name=systemd:/system/cgconfig.service
Martin Kho
Hi, An update (libguestfs?) solved this issue. Please close this report. Thanks, Martin Kho Closing per comment #4 Hi, I'm getting again the error: libvirtError: Unable to create cgroup for $VIRTIMAGE: No such file or directory Checking the logs I see: May 19 13:38:30 piernb libvirtd: 13:38:30.440: 1643: error : qemuSetupCgroup:199 : Unable to create cgroup for $VIRTIMAGE: No such file or directory May 19 13:38:30 piernb libvirtd: 13:38:30.452: 1643: error : qemuRemoveCgroup:350 : internal error Unable to find cgroup for $VIRTIMAGE May 19 13:38:30 piernb libvirtd: 13:38:30.452: 1643: warning : qemudShutdownVMDaemon:3115 : Failed to remove cgroup for $VIRTIMAGE I was able to solve it by modifying the configuration in the file /etc/libvirt/qemu.conf: cgroup_controllers = [ ] I'm using the latest F15, with the testing repo enabled. I am also experiencing this error in a fresh install of Fedora 15. Same "unable to create cgroup" problem for me. Using updated rawhide. I hit this on Fedora 15 GA. I (re)started cgconfig, then restarted libvirtd and I was able to start my VMs again. It looks like cgconfig is crashing. I didn't see an abrt alert, so I didn't catch the crash. -Heath The works with the latest rawhide (so with systemd 28-1) This would seem to be a dupe of 666130. - Justin *** Bug 709164 has been marked as a duplicate of this bug. *** Restarting cgconfig fixes it here too, it was also in a failed state here. Does anyone know what is actually causing these errors? Perhaps more importantly, does anyone care? Restarting libvirtd is a fairly painful workaround, particularly when one hits the error while creating a new VM (since everything has to be re-entered). This is a systemd bug already being tracked. Closing as DUPLICATE *** This bug has been marked as a duplicate of bug 678555 *** |
Description of problem: Unable to complete install: 'Unable to create cgroup for Fedora_15_1204: 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 1446, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: Unable to create cgroup for Fedora_15_1204: No such file or directory Version-Release number of selected component (if applicable): virt-manager-0.8.7-3.fc16.noarch How reproducible: Every time a new vm is created Steps to Reproduce: 1. Start Virtual Machine Manager 2. Choose "Create a new virtual machine" and follow al steps 3. At step 5 press button "Finish" -> the above error appears Actual results: New vm is not created Expected results: New vm is created Additional info: