Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional Docker provisioner OS support #244

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

seanmil
Copy link
Contributor

@seanmil seanmil commented Oct 16, 2023

Summary

  • Add support for EL 9 containers with or without systemd as init. Tested with:

    • quay.io/almalinuxorg/9-base
    • quay.io/almalinuxorg/9-init
    • quay.io/rockylinux/rockylinux:9-ubi
    • quay.io/rockylinux/rockylinux:9-ubi-init
  • Add support for SLES 15 (and possibly 12) containers with or without systemd as init. Tested with:

    • registry.suse.com/bci/bci-init:15.5
    • registry.suse.com/suse/sle15:15.5

Additional Context

For the EL 9 changes, in testing I found that the yum install command would often not complete successfully when using an init image. The root cause seems to be some type of race condition where during systemd startup /var/cache/dnf is not always available by the time yum (dnf) is invoked, causing an error such as [Errno 2 No such file or directory: '/var/cache/dnf/metadata_lock.pid' during the yum/dnf run.

Checklist

  • Manually verified.

- Add EL 9 support
- Add SLES support
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@david22swan david22swan merged commit a5f9ced into puppetlabs:main Oct 17, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants