Repository navigation
rgw/test: install Java 8 under rocky linux - #18
Conversation
| fi | ||
| sudo dnf -y install adoptium-temurin-java-repository | ||
| sudo dnf config-manager --set-enabled adoptium-temurin-java-repository | ||
| sudo dnf -y install temurin-8-jdk |
There was a problem hiding this comment.
any idea how we would get away from our reliance on java 8 and gradle 6.0.1?
p.s. https://tracker.ceph.com/issues/73678 was reported against rhel 10. do you think this same logic would work there?
There was a problem hiding this comment.
I think this is one opportunity: https://ceph-storage.slack.com/archives/C07AK2NR2BV/p1775163148230939 .
Let me see if I can test this sequence against rhel 10.
There was a problem hiding this comment.
I wasn't able to fully prove it would work but I got far enough such that it seems as long as other packages can be installed temurin java could be as well. My container image was locked down and I wasn't able to find the right subscription-manager invocations to allow access.
|
@cbodley So I added a listing of /usr/lib/jvm and here are the results (with the -l option). I think looking for an item that contains "java-8" would be sufficient. And then we can skip Rocky 10 java -> /etc/alternatives/java_sdk Ubuntu Jammy default-java -> java-1.11.0-openjdk-amd64 |
c8c1c78 to
0b45d3d
Compare
|
Here is the run filtered on zzz-s3tests-java: This run also used/needs ceph/ceph#68208 . |
Updates the bootstrap.sh script so it can install a version of Java 8. Signed-off-by: J. Eric Ivancich <[email protected]>
0b45d3d to
837ac8f
Compare
oops, this should have merged to ceph:master and been cherry-picked from there. i just pushed a cherry-pick to master |
|
@ivancich would you like me to cherry-pick for ceph-squid and ceph-tentacle also? |
Sorry, I didn't understand the protocol! |
Oh, sure. Again, I haven't internalized how all this works. I just assumed all versions ran from ceph-master. |
|
@cbodley My earlier tests running teuthology (before you added the commits to ceph-squid and ceph-tentacle) on tentacle and squid failed on centos 9 but worked on ubuntu. I don't think they needed this change, so maybe centos doesn't use /usr/lib/jvm? Currently looking into it. |
Updates the bootstrap.sh script so it can install a version of Java 8.
Note: this depends on ceph/ceph#68208 .
Fixes: https://tracker.ceph.com/issues/73678