Bug 1284191
Summary: | virt-builder cgroup error when running docker | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | James (purpleidea) <jshubin> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | NEW --- | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | ptoscano |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
James (purpleidea)
2015-11-21 19:11:16 UTC
I suspect this is caused by: https://github.com/libguestfs/libguestfs/blob/master/src/launch.c#L358 That's a fairly unnecessary memory optimization. Does removing that line fix the problem? (In reply to Richard W.M. Jones from comment #1) > I suspect this is caused by: > > https://github.com/libguestfs/libguestfs/blob/master/src/launch.c#L358 > > That's a fairly unnecessary memory optimization. Does removing > that line fix the problem? Doh! I don't have the env setup to test this right now, but it looks like a likely suspect. Thanks for pointing it out. I'm vaguely on vacation this week, but if nobody gets to it I'll try and give this a whirl in some spare time next week and send a patch. Cheers, James (In reply to Richard W.M. Jones from comment #1) > I suspect this is caused by: > > https://github.com/libguestfs/libguestfs/blob/master/src/launch.c#L358 > > That's a fairly unnecessary memory optimization. Does removing > that line fix the problem? Yes and no: it removes the aforementioned error line, but then it fails on something related: time="2015-11-25T12:11:03.881009725-05:00" level=fatal msg="Error starting daemon: Devices cgroup isn't mounted" Sounds like the docker daemon expects much more things (like cgroups) set up just like systemd does. I opened this in case it helps work around the docker issue: https://github.com/docker/docker/issues/18323 |