Repository navigation
tentacle: rgw: java s3-tests change setting of JAVA_HOME - #68226
Merged
Merged
Conversation
Previously s3tests_java.py set JAVA_HOME using the `alternatives` command. That had issues in that `alternatives` is not present on all Ubuntu systems, and some installations of Java don't update alternatives. So instead we look for a "java-8" jvm in /usr/lib/jvm/ and set JAVA_HOME to the first one we find. Signed-off-by: J. Eric Ivancich <[email protected]> (cherry picked from commit b8e2796)
ivancich
force-pushed
the
wip-75880-tentacle
branch
from
April 7, 2026 01:00
f0b3727 to
792e8eb
Compare
Member
Author
|
Here are the previous results where Centos 9 failed but Ubuntu 22.04 succeeded: Needed to add a fix for Centos 9 so it accepts Here are the later teuthology results that show it now works on Centos 9: |
Under Centos 9 the Java 8 version is recognized by the substring "java-1.8" rather than "java-8". So the grep has been modified to accept either. Signed-off-by: J. Eric Ivancich <[email protected]>
ivancich
force-pushed
the
wip-75880-tentacle
branch
from
April 7, 2026 02:07
792e8eb to
a49d444
Compare
cbodley
approved these changes
Apr 8, 2026
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/75880
backport of #68208
parent tracker: https://tracker.ceph.com/issues/73678
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh