-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Support building Che on linux on Z (s390x) and Power (ppc64le) #16655
Comments
@nickboldt In order to extend support to s390x, we will need to find suitable replacement for
Kindly suggest. We have tested the above images and they work for Intel and s390x architectures. We'll create the PR after confirmation. |
I like openjdk:8-jre-alpine because it is really multi-arch aware |
From the online resources what I learned is that OpenJDK11 on Alpine is not officially supported and there are no plans for same in future. @benoitf @nickboldt WDYT? Should we keep support for OpenJDK8 till this activity is complete? |
@nickboldt your input? Shall we proceed with creating the PR as per the comment from Florent (openjdk:8-jre-alpine image)? |
@shahidhs-ibm what you can suggest as java11 alternative for |
@skabashnyuk We found openjdk:11.0.3-jre-slim which can serve the purpose. Also this image is Debian based which is similar to one which we are currently using for OpenJDK8. We have tested this image on @benoitf @nickboldt We're bit confused now on PR to raise. Should we create one with |
@shahidhs-ibm To be consistent w/ other Z and P images supported by RH, we might want to consider using openj9 instead of openjdk images. |
@nickboldt can we start thinking about that after 7.15 and Java 11 migration? |
Agree @nickboldt - seems |
@nickboldt - for |
@nickboldt @benoitf @skabashnyuk |
@nickboldt @benoitf @skabashnyuk any update? |
I'm sorry I don't understand your message. Did you able to find the root cause? |
@skabashnyuk Still we are trying to find out the root cause.Have u got those warnings immediately after deployment of che-server? |
yes |
@skabashnyuk I am not getting warnings now and also able to login to che-server.Please find the below attached che-server logs. |
You do have this
if you wait a minute or two (5 maximum) do you see something like this?
|
@skabashnyuk I have deployed 1 hour back.still not getting this warning,checking above mentioned warnings. |
@skabashnyuk With the warnings I have mentioned in my comment, I don't see it affecting any functionality on dashboard. Also, found a similar issue #11571. It looks like these warnings existed since JDK8 and not caused due to JDK11 upgrade. Also on intel, observed that these warnings occur with current java11 image (openjdk:11-jre-slim) in Dockerfile. So is it safe to ignore these warnings? Or should we check for any other alternate docker image? |
@skabashnyuk Now I am not getting these warnings in ppc64le. Few Waring's are there that should not affect to the functionality of che-server Steps taken:
|
I believe we should not consider these warnings as not important. Have you able to identify the cause? |
|
@skabashnyuk @gerrith3 @prabhav-thali Dockerfile path of above docker image: https://github.com/docker-library/openjdk/blob/178c542fbb93a8f8a42e331b73a1214c9d8ba81d/11/jre/slim/Dockerfile This happened because, java version 11.0.3+1-1~ bpo9+1 is no longer available and has been replaced by version 11.0.6_10-1~ bpo9+1 Hence we feel that if we have openjdk:11-jre-slim-stretch image available based on latest Java package, then we can create a multi-arch che-server image without any warnings. |
@bivasda1 I have tested the changes on s390x. No warnings were observed after the deployment of che-server. Also, observed an additional change to be incorporated in Dockerfile (which seems to be architecture specific) as mentioned below :
@skabashnyuk any update? |
@prabhav-thali I'm sorry I didn't understand the question to me. |
@skabashnyuk any further update on jdk11 base image change? |
@prabhav-thali I have none at this moment. I didn't understand from @bivasda1 explanation the reason of errors with |
@prabhav-thali @bivasda1 can you please check if |
@skabashnyuk - we need ppc64le too , so @bivasda1 can you please check https://hub.docker.com/layers/ppc64le/openjdk/11-jre-slim/images/sha256-57f30fee83b9117237ffd893fb23380c4bcacf4a69e0303300182b4b7416aba9?context=explore works ? |
@ghatwala ok sure |
@skabashnyuk After using Env details :
@skabashnyuk Could you please confirm this at your end? |
@prabhav-thali #16655 (comment) that is acceptable. Overall functionality is working? |
@skabashnyuk As currently we don't have language specific images available for s390x, we were not able to test workspace creation. However the rest functionality looks ok to me and can say its working. |
I'm talking about using that image for che-server, not for workspaces. |
@skabashnyuk we tested s390x/openjdk:11-jre-slim image for che-server and warnings were seen in pod logs. However, no functionality loss is observed. |
I've opened #17866 to discuss the usage of |
Usage of adoptopenjdk/openjdk11 has been merged so it should fix the multi-arch build of che-server image |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
Epic issue to collect all subtasks / needs for empowering Che 7.x to build on s390x and ppc64le.
Please add issues below.
The text was updated successfully, but these errors were encountered: