Skip to content

SSSD CI job fails: FreeIPA container crashes on ubuntu-24.04 runner image 20260810.271 #51780

Closed

Description

@Pepo48

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

How to Reproduce?

Run CI.

Anything else?

No response

Activity

  1. added theissue type on Aug 17, 2026
  2. added
    kind/bug
    on Aug 17, 2026
  3. added
    area/ci
    on Aug 17, 2026
  4. adelton commented on Aug 18, 2026

    @adelton

    If you don't need freeipa/freeipa-server:rocky-9 specifically, could you try with freeipa/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.

  5. rmartinc commented on Aug 19, 2026

    @rmartinc
    Contributor

    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.

  6. self-assigned this
    on Aug 19, 2026
  7. adelton commented on Aug 19, 2026

    @adelton

    The ubuntu-latest is 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?

  8. adelton commented on Aug 19, 2026

    @adelton

    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.

  9. atiqur-rahman-pro commented on Aug 19, 2026

    @atiqur-rahman-pro
    Contributor

    Hi @adelton!

    Here are the exact GitHub Actions workflow runs where the Podman failure with freeipa/freeipa-server:rocky-9 occurred on the ubuntu-24.04 runner image (20260810.271):

    Summary of the Podman failure:
    The container starts via podman run --rm, but fails during ipa-server-install with return code 123 / FileNotFoundError: [Errno 2] No such file or directory: '/run/ipa/ccaches'. Because --rm is 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.

  10. adelton commented on Aug 19, 2026

    @adelton

    Thanks. I will try to see how exactly that podman run is 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.

  11. atiqur-rahman-pro commented on Aug 19, 2026

    @atiqur-rahman-pro
    Contributor

    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-8 is a great suggestion as well for upstream Podman compatibility — thanks for investigating!

  12. adelton commented on Aug 19, 2026

    @adelton

    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 -ti to the podman run to see what the container actually outputs, in https://github.com/adelton/keycloak/actions/runs/32244282866/job/96042175412 I see

    The domain name has been determined based on the host name.
    Wed Aug 19 10:50:36 UTC 2026 /usr/sbin/ipa-server-configure-first 
    Error: there is already a record in /etc/hosts for IP address 10.1.1.108:
    10.1.1.108 runnervmzvulz.i3yfigkid53ebiymjf2kb3vhfa.gx.internal.cloudapp.net runnervmzvulz
    Chosen hostname ipa.example.test does not match configured canonical hostname runnervmzvulz.i3yfigkid53ebiymjf2kb3vhfa.gx.internal.cloudapp.net
    Please fix your /etc/hosts file and restart the installation.
    The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
    Sending SIGTERM to remaining processes...
    Sending SIGKILL to remaining processes...
    All filesystems, swaps, loop devices, MD devices and DM devices detached.
    Exiting container.
    

    So the ipa-server-install fails 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.

  13. atiqur-rahman-pro commented on Aug 19, 2026

    @atiqur-rahman-pro
    Contributor

    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! 🙏

  14. 8 remaining items

  15. added a commit that references this issue on Aug 19, 2026
    66c0be9
  16. added a commit that references this issue on Aug 20, 2026
    c74b805
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

No fields configured for bug.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions