Skip to content

MLE-29703 MLE-29709: Fix UBI base image updates and libnsl dependency mismatch (2.2.5)#447

Merged
vitalykorolev merged 1 commit into
masterfrom
MLE-29703-MLE-29709-fix-ubi-base-images-master
May 21, 2026
Merged

MLE-29703 MLE-29709: Fix UBI base image updates and libnsl dependency mismatch (2.2.5)#447
vitalykorolev merged 1 commit into
masterfrom
MLE-29703-MLE-29709-fix-ubi-base-images-master

Conversation

@vitalykorolev
Copy link
Copy Markdown
Collaborator

Summary

Updates UBI8 and UBI9 base image tags to their latest versions and resolves a libnsl RPM installation failure on UBI9. Bumps Docker image version to 2.2.5. Patch release equivalent of PR #446 (targeting develop).

Changes

  • UBI8 base image: 8.10-1771947229 -> 8.10-1778735208
  • UBI9 base image: 9.7-1771346502 -> 9.7-1778562320
  • UBI8 libnsl: bump to el8_10.34, targeted microdnf -y upgrade glibc, add cache cleanup
  • UBI9 libnsl: rpm -i -> rpm -i --nodeps to bypass glibc el9_8 version pin; targeted glibc upgrade; cache cleanup; comment explaining rationale
  • dockerVersion: 2.2.4 -> 2.2.5 in Jenkinsfile and test/keywords.resource

Root cause (UBI9)

After microdnf -y upgrade glibc, the UBI CDN serves glibc el9_8, which conflicts with the AlmaLinux el9_7 libnsl RPM's strict dependency check. AlmaLinux 9.8 stable is not yet released; --nodeps bypasses the version pin safely (libnsl.so.1 ABI is compatible across all RHEL 9.x).

Validation

All four local builds passed (exit code 0):

  • UBI8 + ML12: PASS
  • UBI8 + ML11: PASS
  • UBI9 + ML12: PASS (libnsl --nodeps fix confirmed working)
  • UBI9 + ML11: PASS

Develop branch equivalent: #446

- Update UBI8 base image: 8.10-1771947229 -> 8.10-1778735208
- Update UBI9 base image: 9.7-1771346502 -> 9.7-1778562320
- Fix UBI8 libnsl: bump to el8_10.34, targeted glibc upgrade, cache cleanup
- Fix UBI9 libnsl: use --nodeps to bypass glibc el9_8 version pin,
  targeted glibc upgrade, cache cleanup; add comment explaining rationale
- Bump dockerVersion 2.2.4 -> 2.2.5 in Jenkinsfile and keywords.resource
Copilot AI review requested due to automatic review settings May 21, 2026 15:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the UBI8/UBI9 minimal base image tags used by the dependency images, addresses a UBI9 libnsl installation failure caused by a glibc dependency mismatch, and bumps the project Docker image version to 2.2.5 for CI/tests.

Changes:

  • Updated UBI8 and UBI9 ubi-minimal base image tags in the deps Dockerfile templates.
  • Adjusted libnsl install steps: UBI8 updates the pinned RPM and performs a targeted glibc upgrade; UBI9 installs libnsl with rpm -i --nodeps plus glibc upgrade and cache cleanup.
  • Bumped dockerVersion / test resource version references from 2.2.4 to 2.2.5.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
dockerFiles/marklogic-deps-ubi:base Updates UBI8 base image tag and refreshes libnsl install flow (glibc upgrade + newer AlmaLinux libnsl RPM).
dockerFiles/marklogic-deps-ubi9:base Updates UBI9 base image tag and modifies libnsl installation to work around glibc pinning (adds --nodeps, glibc upgrade, cleanup, and rationale comment).
Jenkinsfile Updates the default dockerVersion parameter to 2.2.5.
test/keywords.resource Updates default test image tag and MARKLOGIC_DOCKER_VERSION to 2.2.5.

# supply verbatim; the symbol ABI is compatible and smoke-tested across all four
# UBI8/UBI9 x ML11/ML12 build combinations.
RUN microdnf -y upgrade glibc \
&& rpm -i --nodeps https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/Packages/libnsl-2.34-231.el9_7.10.x86_64.rpm \
Comment on lines +17 to +19
RUN microdnf -y upgrade glibc \
&& rpm -i https://repo.almalinux.org/almalinux/8/BaseOS/x86_64/os/Packages/libnsl-2.28-251.el8_10.34.x86_64.rpm \
&& microdnf clean all
@vitalykorolev vitalykorolev merged commit a50402c into master May 21, 2026
6 of 9 checks passed
@vitalykorolev vitalykorolev deleted the MLE-29703-MLE-29709-fix-ubi-base-images-master branch May 21, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants