containerbuildsystem / cachi2

GNU General Public License v3.0
5 stars 20 forks source link

Trying to build cachi2 image in a nested container environment based on cgroup v2 distros fails #540

Closed eskultety closed 3 weeks ago

eskultety commented 2 months ago

So far we're building the cachi2 image for the integration test purposes on Fedora 37 which has long been EOL'd and so we should either bump it or move to a different, ideally rolling distro. The problem is that modern distros default to cgroup v2 controllers in systemd which causes problems for podman (see below). There have been quite a few issues on the cgroup v2 topic in podman, e.g. https://github.com/containers/podman/issues/16936 so we need to figure out how to get the nested build working with podman on new distros and what setup we need for it and whether it has an implication on the underlying host system in GH which we know nothing about.

OCI runtime error: crun: the requested cgroup controller `pids` is not available
eskultety commented 3 weeks ago

This either has been an intermittent failure or something has changed since this was filed given we recently merged #551 which bumped the image to F40 just fine. Therefore, I'm closing this one. Feel free to reopen if the issue reoccurs.