You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log the quota of the parent. Today with https://github.com/gitpod-io/ops/issues/1244 and in yesterdays incident we saw that the parent value can be the reason for not being able to set cgroup values. It should therefore be included in the error to speed up analysis.
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","error":"cannot set CFS quota of 600000 (period is 100000, parent quota is 400000):\n github.com/gitpod-io/gitpod/ws-daemon/pkg/cpulimit.CgroupCFSController.SetLimit\n github.com/gitpod-io/gitpod/ws-daemon/pkg/cpulimit/cfs.go:55\n - write /mnt/node-cgroups/cpu/kubepods/burstable/pod3c3aed9f-859c-4880-a5ee-3a228c197dc3/bfb29396e078697c68937e6ef81a64763b6bad965c3b75f3b565c100a7b8103c/cpu.cfs_quota_us: invalid argument","instanceId":"91cfb18d-2c2a-4cae-afa9-e44710eef399","level":"warning","message":"cannot set CPU limit","serviceContext":{"service":"ws-daemon","version":"commit-4c27eb3eb8d2689ee94aae2529078e131bfd55f2"},"severity":"WARNING","time":"2022-02-22T17:24:58Z","userId":"","workspaceId":"gitpodio-templatetypescr-zgeoncnwteu"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Log the quota of the parent. Today with https://github.com/gitpod-io/ops/issues/1244 and in yesterdays incident we saw that the parent value can be the reason for not being able to set cgroup values. It should therefore be included in the error to speed up analysis.
Related Issue(s)
n.a.
How to test
Release Notes