Repository navigation
Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
ci
Describe the bug
The SSSD CI job has been consistently failing since Aug 15 on both main and quarkus-next branches. The FreeIPA server container (freeipa/freeipa-server:rocky-9) crashes within 30 seconds of startup, before any Keycloak tests execute.
The GitHub Actions ubuntu-24.04 runner image was updated from 20260720.247 to 20260810.271. The new image changes container root directory ownership from root to nobody, which causes FreeIPA's ipa-server-install to fail with FileNotFoundError: [Errno 2] No such file or directory: '/run/ipa/ccaches'.
This is tracked upstream at freeipa/freeipa-container#750.
We can mark this as known and wait for the upstream fix or pin freeipa/freeipa-server:rocky-9 to the known-good digest.
Version
latest
Regression
- The issue is a regression
Expected behavior
The FreeIPA container starts, configures the IPA server and Keycloak SSSD integration tests run.
Actual behavior
The container crashes during IPA server configuration. Because run-ipa.sh uses podman run --rm, the container is auto-removed and logs are lost. The script reports:
Container <id> started, waiting ipa-server configuration
Error: no container with name or ID "<id>" found: no such container
- quarkus-next (Aug 15): https://github.com/keycloak/keycloak/actions/runs/31854190327/job/94936363622
- main (Aug 17): https://github.com/keycloak/keycloak/actions/runs/31993781856/job/95282507993
- Last green (Aug 11, old runner image): https://github.com/keycloak/keycloak/actions/runs/31446955483
How to Reproduce?
Run CI.
Anything else?
No response
Activity
adelton commentedon Aug 18, 2026
If you don't need
freeipa/freeipa-server:rocky-9specifically, could you try withfreeipa/freeipa-server:rocky-8? In freeipa/freeipa-container#750 investigations we saw RHEL 8-based FreeIPA images still work, albeit the failure there was under Kubernetes with CRI-O.How exactly do you invoke the podman in CI that you get the failure?
If you were able to isolate the change in behaviour of the new Ubuntu runner images to plain podman reproducer (without FreeIPA), that might make it easier to report against https://github.com/actions/runner-images than the rather complex Kubernetes + CRI-O + FreeIPA image setup that we have right now in freeipa/freeipa-container#750.
rmartinc commentedon Aug 19, 2026
The podman command returns error 123 when executed using ubuntu-latest in GHA with the freeipa-server container. I think this is related to issue freeipa/freeipa-container#737 because it runs OK in my fedora laptop (same podman version) and in an ubuntu VM (older podman version). It only fails with the runner in GHA. The container starts OK using docker with remap configuration. It's a bit of a mess but at least we can pass the CI for the SSSD job.
adelton commentedon Aug 19, 2026
The
ubuntu-latestis Ubuntu 24.04, AFAICS. So it is unlikely that the failure that you see is an instance of a problem that was only seen on Ubuntu 26.04.Can you point me to the exact workflow run where you saw the failure with podman?
adelton commentedon Aug 19, 2026
Are we talking about https://github.com/keycloak/keycloak/actions/runs/31770250839/job/94675200819 which failed with 20260810.271.1 runner image, while day before https://github.com/keycloak/keycloak/actions/runs/31667498862/job/94345848152 passed with 20260720.247.2?
Time and causality-wise that looks very similar to the regression that we see in freeipa/freeipa-container#750, not freeipa/freeipa-container#737.
atiqur-rahman-pro commentedon Aug 19, 2026
Hi @adelton!
Here are the exact GitHub Actions workflow runs where the Podman failure with
freeipa/freeipa-server:rocky-9occurred on theubuntu-24.04runner image (20260810.271):quarkus-nextrun (Aug 15): https://github.com/keycloak/keycloak/actions/runs/31854190327/job/94936363622mainrun (Aug 17): https://github.com/keycloak/keycloak/actions/runs/31993781856/job/9528250799320260720.247): https://github.com/keycloak/keycloak/actions/runs/31446955483Summary of the Podman failure:
The container starts via
podman run --rm, but fails duringipa-server-installwith return code123/FileNotFoundError: [Errno 2] No such file or directory: '/run/ipa/ccaches'. Because--rmis present, podman immediately removes the container before logs can be fetched.PR #51841 temporarily switches SSSD scripts to Docker with user namespace remapping to bypass the Podman issue on GitHub Actions runners.
adelton commentedon Aug 19, 2026
Thanks. I will try to see how exactly that
podman runis invoked.In the meantime, if you don't need FreeIPA specifically on Rocky Linux 9, could you try to run the Action with
freeipa/freeipa-server:rocky-8? Based on my observation in freeipa/freeipa-container#750, that should not suffer from that failure.atiqur-rahman-pro commentedon Aug 19, 2026
Thanks @adelton! Keycloak maintainer @rmartinc is currently managing the CI fix in PR #51841 by switching SSSD scripts to Docker with user namespace remapping.
Testing
freeipa/freeipa-server:rocky-8is a great suggestion as well for upstream Podman compatibility — thanks for investigating!adelton commentedon Aug 19, 2026
Can you point me to a Keycloak CI workflow run where the
FileNotFoundError: [Errno 2] No such file or directory: '/run/ipa/ccaches'error could be seen?When I cloned the Keycloak repo, minimized the CI workflows, and added
-tito thepodman runto see what the container actually outputs, in https://github.com/adelton/keycloak/actions/runs/32244282866/job/96042175412 I seeSo the
ipa-server-installfails because the podman networking setup changed, something which we addressed in https://github.com/freeipa/freeipa-container in freeipa/freeipa-container@6e76777 so you might want to do something similar.But this has nothing to do with the root directory ownership.
So I wonder if you folks have indeed ever saw that
FileNotFoundError: [Errno 2] No such file or directory: '/run/ipa/ccaches'error with your podman tests, or if you just saw the workflow to suddenly fail, did not really investigate what error is being produced, and just assumed it was an instance of freeipa/freeipa-container#750.atiqur-rahman-pro commentedon Aug 19, 2026
Great catch @adelton! Thank you for running the interactive container test and isolating the actual /etc/hosts hostname mismatch error.
To answer your question directly — we did see the workflow failing, but honestly we did not deeply investigate the exact error being produced. We assumed it was related to freeipa/freeipa-container#750. Your analysis makes it clear the real cause is the podman networking setup, not root directory ownership.
The pointer to freeipa-container@6e76777 is very helpful — we'll align the networking setup accordingly. Thanks for digging into this! 🙏
8 remaining items
Change SSSD scripts to use docker with remap instead of podman (#51841)…
Change SSSD scripts to use docker with remap instead of podman (#51841)…