-
Notifications
You must be signed in to change notification settings - Fork 37
handle grouped cgroup mounts (e.g. cpu,cpuacct) #62
Conversation
Hey databus23! Thanks for submitting this pull request! All pull request authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate). When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization. If you are confident that you're covered under a Corporate CLA, please make sure you've publicized your membership in the appropriate Github Org, per these instructions. |
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/114693593. |
Signed-off-by: Fabian Ruff <fabian@progra.de>
Hi @databus23 could you make your membership of the SAP organisation public in your github profile so cfdreddbot can tell that you're a member of an organisation that has signed the CLA please? |
@julz I signed an individual CLA last week. The contribution was performed off work. I'm currently not part of the SAP organization and don't even know who inside of SAP would be able to add me to the SAP organization. |
@databus23 - great, thanks! Going to close and re-open the issue to see if that'll get dreddbot to re-judge :) |
Hey databus23! Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA. |
yay it worked! :) I've unblocked the story in our tracker to pull this in - thanks again |
Thank you, @databus23. |
Hey @databus23, Just a quick note to let you know that we've recently reverted this PR as it caused an unexpected failure in our test suite. We see the deployment complete successfully but the garden-integration-tests start to report the following error: Expected error:
<*errors.errorString | 0xc20802bca0>: {
s: "container: start: exit status 2",
}
container: start: exit status 2
not to have occurred After some investigation, we realised that the issue only happens on a fresh VM because cgroups are only mounted if they are not already mounted. Note that we use ubuntu for our tests and CI pipelines. If you'd like to address the above test failure and resubmit the PR we'd be more than happy to accept. Let us know if you have any questions or thoughts. Thanks very much, |
While trying to get garden running on CoreOS I noticed that the linux_backend does not account for grouped cgroup mounts which seem to become more prevalent these days:
The attached changes make garden-linux start in environments with multi cgroup mounts. For systems without multi group mounts this doesn't change anything.