Gitaly cgroups: stop erroring on deleting file from hierarchy root
Overview
In https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/16234#note_1082374337 we saw gitaly cleaning up the old cgroups. However it "failed" to delete files in the main cgroup
/gitaly
. This is expected because you can't delete the files inside of the main /gitaly
cgroup
. We should update the check to not fail, but simply log that we are ignoring the file.
Results
Before
After
Logs are info
level, and just show which files it ignored
Edited by Steve Xuereb