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

OpenSSL is missing in Logstash UBI image 8.12.1 #7544

Closed
barkbay opened this issue Feb 9, 2024 · 3 comments
Closed

OpenSSL is missing in Logstash UBI image 8.12.1 #7544

barkbay opened this issue Feb 9, 2024 · 3 comments
Assignees
Labels
>bug Something isn't working :logstash release-highlight Candidate for the ECK release highlight summary v2.12.0

Comments

@barkbay
Copy link
Contributor

barkbay commented Feb 9, 2024

8.12.0 ✅

➜  docker run --rm --entrypoint openssl  docker.elastic.co/logstash/logstash-ubi:8.12.0 version
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
OpenSSL 1.1.1k  FIPS 25 Mar 2021

8.12.1 ❌

➜  docker run --rm --entrypoint openssl  docker.elastic.co/logstash/logstash-ubi:8.12.1 version
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
docker: Error response from daemon:
 failed to create task for container: failed to create shim task:
   OCI runtime create failed: runc create failed:
     unable to start container process: exec: "openssl": executable file not found in $PATH: unknown.

CC @robbavey @kaisecheng

@botelastic botelastic bot added the triage label Feb 9, 2024
@barkbay barkbay added the >bug Something isn't working label Feb 9, 2024
@botelastic botelastic bot removed the triage label Feb 9, 2024
@botelastic botelastic bot removed the triage label Feb 9, 2024
@kaisecheng
Copy link
Contributor

logstsh 8.12.0 docker image builds on top of docker.elastic.co/ubi8/ubi-minimal, which depends on redhat/ubi8-minimal. microdnf update -y brings openssl command to the image. However, in 8.12.1, the update command didn't bring the same thing.

logstash docker need to do microdnf install -y openssl to ensure the availability of the command

@kaisecheng
Copy link
Contributor

@barkbay I have added the command to Logstash docker image. From Logstash 8.12.2, it will have openssl.

docker run --rm --entrypoint openssl docker.elastic.co/logstash/logstash:8.12.2-ae316674-SNAPSHOT-arm64 version
OpenSSL 1.1.1f  31 Mar 2020

For the next ECK release note, I think the note needs to tell users not to use Logstash 8.12.1 image. Can we close this issue?

@barkbay barkbay added v2.12.0 release-highlight Candidate for the ECK release highlight summary labels Feb 13, 2024
@barkbay
Copy link
Contributor Author

barkbay commented Feb 13, 2024

For the next ECK release note, I think the note needs to tell users not to use Logstash 8.12.1 image. Can we close this issue?

SGTM

@barkbay barkbay closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug Something isn't working :logstash release-highlight Candidate for the ECK release highlight summary v2.12.0
Projects
None yet
Development

No branches or pull requests

2 participants