Project

General

Profile

Actions

Bug #73679

closed
AR JI

yum install java-17-openjdk -y returned Error: Unable to find a match: java-17-openjdk

Bug #73679: yum install java-17-openjdk -y returned Error: Unable to find a match: java-17-openjdk

Added by Anuchaithra Rao about 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Urgent
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
rgw
Pull request ID:
Tags (freeform):
rocky10
Fixed In:
v20.3.0-5745-gd5e63bc7d1
Released In:
v21.2.0~1126
Upkeep Timestamp:
2026-10-24T02:04:22+00:00

Description

s3 tests are failing with
---------------------------------------------------
git clone https://github.com/ceph/ceph.git
yum install java-17-openjdk -y

ERROR - yum install java-17-openjdk -y returned Error: Unable to find a match: java-17-openjdk
and code 1 on 10.0.65.114
Traceback (most recent call last):
File "/Users/anuchaithra./clone/jan10ci/cephci/run.py", line 889, in run
rc = test_mod.run(
^^^^^^^^^^^
File "/Users/anuchaithra./clone/jan10ci/cephci/tests/rgw/java_s3tests.py", line 59, in run
exit_status = maven_setup(cluster, config, port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/anuchaithra./clone/jan10ci/cephci/tests/rgw/java_s3tests.py", line 326, in maven_setup
return install_req(node=client_node, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/anuchaithra./clone/jan10ci/cephci/tests/rgw/java_s3tests.py", line 333, in install_req
node.exec_command(cmd="yum install java-17-openjdk -y", sudo=True)
File "/Users/anuchaithra./clone/jan10ci/cephci/ceph/ceph.py", line 1739, in exec_command
raise CommandFailed(
ceph.ceph.CommandFailed: yum install java-17-openjdk -y returned Error: Unable to find a match: java-17-openjdk

http://magna002.ceph.redhat.com/cephci-jenkins/Anuchaithra/cephci-run-MW7OOS/execute_Java_Maven_test_suite_0.log


Related issues 2 (0 open — 2 closed)

Related to rgw - Bug #73678: rgw/tests: Unable to find a match: java-1.8.0-openjdk java-1.8.0-openjdk-develResolvedJ. Eric Ivancich

Actions
Copied to rgw - Backport #75692: tentacle: yum install java-17-openjdk -y returned Error: Unable to find a match: java-17-openjdkResolvedJ. Eric Ivancich

Actions

AR Updated by Anuchaithra Rao about 1 year ago Actions #1

  • Priority changed from Normal to Urgent

JI Updated by J. Eric Ivancich about 1 year ago Actions #2

Please run two commands on the machine where this error was generated and share the output:

$ cat /etc/os-release

$ yum search java-17-openjdk

Thanks,

Eric

MK Updated by Mark Kogan about 1 year ago Actions #3

encountered the following possibly relevant mesg on F41 when updating:

[ 37/436] Upgrading java-17-openjdk-headless-1:17.0.17.0.10-1.fc41.x86_64                                                                                 100% | 185.8 MiB/s | 181.4 MiB |  00m01s
>>> Running %post scriptlet: java-17-openjdk-headless-1:17.0.17.0.10-1.fc41.x86_64                                                                                                                
>>> Finished %post scriptlet: java-17-openjdk-headless-1:17.0.17.0.10-1.fc41.x86_64                                                                                                               
>>> Scriptlet output:                                                                                                                                                                             
...
>>> The java-17-openjdk package is deprecated and may no longer receive updates. Since f42 install adoptium-temurin-java-repository and install temurin-17-jre                                    
                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> https://fedoraproject.org/wiki/Changes/ThirdPartyLegacyJdks#adoptium-temurin-java-repository                                                                                                  
>>> It currently lacks rpm-based debuginfo, fastdebugs and slowdebugs and headless subpackage. It also lacks offline javadocs and jdk duplicates jre     

MK Updated by Mark Kogan about 1 year ago · Edited Actions #4

flow to install java17 on RHEL10:

(pre-req EPEL repo)

❯ sudo dnf install adoptium-temurin-java-repository  # ← from EPEL

❯ sudo dnf config-manager --set-enabled adoptium-temurin-java-repository

❯ sudo dnf search temurin
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:07 ago on Wed 19 Nov 2025 08:14:46 AM UTC.
================================================================================ Name & Summary Matched: temurin temurin-11-jdk.x86_64 : Eclipse Temurin 11 JDK
temurin-11-jre.x86_64 : Eclipse Temurin 11 JRE
temurin-17-jdk.x86_64 : Eclipse Temurin 17 JDK
temurin-17-jre.x86_64 : Eclipse Temurin 17 JRE
temurin-21-jdk.x86_64 : Eclipse Temurin 21 JDK
temurin-21-jre.x86_64 : Eclipse Temurin 21 JRE
temurin-24-jdk.x86_64 : Eclipse Temurin 24 JDK
temurin-24-jre.x86_64 : Eclipse Temurin 24 JRE
temurin-25-jdk.x86_64 : Eclipse Temurin 25 JDK
temurin-25-jre.x86_64 : Eclipse Temurin 25 JRE
temurin-8-jdk.x86_64 : Eclipse Temurin 8 JDK
temurin-8-jre.x86_64 : Eclipse Temurin 8 JRE
===================================================================================== Name Matched: temurin 
adoptium-temurin-java-repository.noarch : Fedora package repository files for yum and dnf along with gpg public keys

❯ sudo dnf install "temurin-8*" -y
❯ sudo dnf install "temurin-17*" -y

❯ ls -l /usr/lib/jvm/
total 0
...
lrwxrwxrwx. 1 root root  32 Nov 19 08:17 temurin-17-jdk -> /usr/lib/jvm/java-17-temurin-jdk
lrwxrwxrwx. 1 root root  32 Nov 19 08:17 temurin-17-jre -> /usr/lib/jvm/java-17-temurin-jre
lrwxrwxrwx. 1 root root  31 Nov 19 08:20 temurin-8-jdk -> /usr/lib/jvm/java-8-temurin-jdk
lrwxrwxrwx. 1 root root  31 Nov 19 08:20 temurin-8-jre -> /usr/lib/jvm/java-8-temurin-jre

❯ export JAVA_HOME=/usr/lib/jvm/temurin-17-jdk

JI Updated by J. Eric Ivancich about 1 year ago Actions #5

  • Assignee set to J. Eric Ivancich

JI Updated by J. Eric Ivancich about 1 year ago Actions #6

  • Related to Bug #73678: rgw/tests: Unable to find a match: java-1.8.0-openjdk java-1.8.0-openjdk-devel added

JI Updated by J. Eric Ivancich 12 months ago Actions #7

  • Status changed from New to In Progress

JI Updated by J. Eric Ivancich 10 months ago Actions #8

  • Tags (freeform) set to rocky10

JI Updated by J. Eric Ivancich 9 months ago Actions #9

  • Pull request ID set to 67578

JI Updated by J. Eric Ivancich 9 months ago Actions #10

  • Status changed from In Progress to Fix Under Review

JI Updated by J. Eric Ivancich 9 months ago Actions #11

  • Status changed from Fix Under Review to Resolved

UB Updated by Upkeep Bot 9 months ago Actions #12

  • Merge Commit set to d5e63bc7d1e32c58f308d7135da7063a076b3159
  • Fixed In set to v20.3.0-5745-gd5e63bc7d1
  • Upkeep Timestamp set to 2026-03-02T16:32:41+00:00

JI Updated by J. Eric Ivancich 8 months ago Actions #13

  • Backport set to tentacle

JI Updated by J. Eric Ivancich 8 months ago Actions #14

  • Status changed from Resolved to Pending Backport

JI Updated by J. Eric Ivancich 8 months ago Actions #15

  • Copied to Backport #75692: tentacle: yum install java-17-openjdk -y returned Error: Unable to find a match: java-17-openjdk added

JI Updated by J. Eric Ivancich 8 months ago Actions #16

  • Tags (freeform) changed from rocky10 to rocky10 backport_processed

UB Updated by Upkeep Bot 5 months ago Actions #17

  • Status changed from Pending Backport to Resolved
  • Upkeep Timestamp changed from 2026-03-02T16:32:41+00:00 to 2026-07-10T13:27:07+00:00

UB Updated by Upkeep Bot 3 months ago Actions #18

  • Tags (freeform) changed from rocky10 backport_processed to rocky10
  • Upkeep Timestamp changed from 2026-07-10T13:27:07+00:00 to 2026-08-28T01:51:23+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #19

  • Released In set to v21.2.0~1126
  • Upkeep Timestamp changed from 2026-08-28T01:51:23+00:00 to 2026-10-24T02:04:22+00:00
Actions

Also available in: PDF Atom