Registry Mirror
Skip to content

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Dec 2, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Installs the openssl command-line tool in the Rocky 8, 9 and 10 build
images.

gpAux/gpdemo/generate_certs.sh and the gpfdist SSL tests call
openssl. The Dockerfiles install openssl-devel, which needs only
openssl-libs. On the published images:

Image openssl installed? Pulled in by
Rocky 8.10 yes perl-IO-Socket-SSL, openssl-pkcs11
Rocky 9.8 yes pam
Rocky 10.2 no nothing requires it

(rpm -q --whatrequires openssl in each cbdb-build-rocky*-latest image.)

So on Rocky 10 generate_certs.sh fails with openssl: command not found, the demo cluster gets no gpfdists certificates, and the gpfdist
SSL tests fail. This is what keeps the Rocky 10 ic-gpfdist job red in
#2480.

The package is added to all three images so that none of them relies on
a transitive dependency.

Type of Change

  • Bug fix (non-breaking change)

Test Plan

Impact

Dependencies: adds the openssl package to the Rocky build images
(already present on Rocky 8 and 9).

Checklist

  • This PR contains AI-assisted code generation

gpAux/gpdemo/generate_certs.sh and the gpfdist SSL tests run the
openssl command.  The Rocky build images install openssl-devel, which
needs only openssl-libs, but not openssl itself.  Rocky 8 gets the tool
because perl-IO-Socket-SSL and openssl-pkcs11 require it, and Rocky 9
because pam requires it.  On Rocky 10 nothing requires it, so the
image has no openssl command, the demo cluster there has no gpfdists
certificates, and the gpfdist SSL tests fail.

Install openssl in all three images, so that none of them depends on
what other packages pull in.

Assisted-by: Claude Code
@tuhaihe
tuhaihe enabled auto-merge (rebase) December 2, 2026 23:41
@tuhaihe
tuhaihe merged commit cc95ddc into apache:main Dec 3, 2026
163 of 167 checks passed
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.

3 participants