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

Reports pod fails to start on some clusters due to entrypoint permissions #58

Closed
ebaron opened this issue Nov 22, 2022 · 5 comments · Fixed by #60
Closed

Reports pod fails to start on some clusters due to entrypoint permissions #58

ebaron opened this issue Nov 22, 2022 · 5 comments · Fixed by #60
Assignees
Labels

Comments

@ebaron
Copy link
Member

ebaron commented Nov 22, 2022

    I also got a bit of an issue when creating a report replica as pod seems to in `CrashLoopBackOff` with logs show:
exec /deployments/run-java.sh: permission denied

I am using Cluster Bot with OCP 4.11.1

Originally posted by @tthvo in cryostatio/cryostat-operator#499 (comment)

@ebaron
Copy link
Member Author

ebaron commented Nov 22, 2022

We should update our Dockerfile to use the OpenJDK UBI images.

@tthvo
Copy link
Member

tthvo commented Nov 22, 2022

I suppose these images: registry.access.redhat.com/ubi8/openjdk-17-runtime:some-tag? Also, which tag are we targetting?

@ebaron
Copy link
Member Author

ebaron commented Nov 22, 2022

I think we decided to not use latest. The latest version is 1.14. Here is an example from a sample app we fixed:
https://github.com/andrewazores/quarkus-test/blob/ebe65aa9ab0e3a2453ea2e36bc233fbf04cbaba4/src/main/docker/Dockerfile.jvm

@tthvo
Copy link
Member

tthvo commented Nov 22, 2022

Ah right! I could help update to registry.access.redhat.com/ubi8/openjdk-17:1.14 then.

@ebaron
Copy link
Member Author

ebaron commented Nov 22, 2022

Thanks, sounds good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants