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

Checode entrypoint fails (undefined symbol: FIPS_selftest) #22109

Closed
meanderix opened this issue Mar 30, 2023 · 6 comments
Closed

Checode entrypoint fails (undefined symbol: FIPS_selftest) #22109

meanderix opened this issue Mar 30, 2023 · 6 comments
Labels
area/editors area/udi Issues and PRs related to the universal developer image https://github.com/devfile/developer-images kind/question Questions that haven't been identified as being feature requests or bugs. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@meanderix
Copy link

Summary

I'm using Che with Openshift DevSpaces and I'm trying to use a custom image (php-based) for the "tools".

I'm getting the following error when /checode/entrypoint-volume.sh is bootstrapping VS code:
/checode/checode-linux-libc/node: symbol lookup error: /checode/checode-linux-libc/node: undefined symbol: FIPS_selftest, version OPENSSL_1_1_0g

How should this be addressed?

Relevant information

No response

@meanderix meanderix added the kind/question Questions that haven't been identified as being feature requests or bugs. label Mar 30, 2023
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Mar 30, 2023
@amisevsk amisevsk added area/editors area/udi Issues and PRs related to the universal developer image https://github.com/devfile/developer-images and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Mar 31, 2023
@amisevsk
Copy link
Contributor

Hi @meanderix. Since Che runs the code editor within the "tools" container, there are some prerequisites that must be installed for the editor to successfully run. It looks like you might be hitting an issue due to the version of OpenSSL installed in your custom container -- can you share the dockerfile you are using to build the image?

See related issues: #21778, #21629, and potential workaround: https://github.com/che-incubator/che-code/tree/main/build/dockerfiles (these are for UBI9 containers, but it seems a simialr issue you're running into.)

cc: @RomanNikitenko any advice?

@RomanNikitenko
Copy link
Member

@amisevsk
I think your assumption is correct, Angel.
So, the workaround should help to resolve the problem.

@meanderix
Copy link
Author

meanderix commented Apr 3, 2023

@amisevsk

can you share the dockerfile you are using to build the image?

We're using docker.io/php:8.1-fpm as the base image. I will try out the suggested links tomorrow.

@meanderix
Copy link
Author

The same error can be replicated with the image docker.io/bitnami/minideb:bullseye.

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Apr 4, 2023

@meanderix
Did you have a chance to try the workaround?

Screenshot 2023-04-04 at 09 53 56

So:

  • install Node.js version >=16.17.x and <17
  • provide env variable with path to the Node.js

@che-bot
Copy link
Contributor

che-bot commented Oct 1, 2023

Issues go stale after 180 days of inactivity. lifecycle/stale issues rot after an additional 7 days of inactivity and eventually close.

Mark the issue as fresh with /remove-lifecycle stale in a new comment.

If this issue is safe to close now please do so.

Moderators: Add lifecycle/frozen label to avoid stale mode.

@che-bot che-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 1, 2023
@che-bot che-bot closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/editors area/udi Issues and PRs related to the universal developer image https://github.com/devfile/developer-images kind/question Questions that haven't been identified as being feature requests or bugs. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

4 participants