View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003895 | Rocky-Linux-9 | java-11-openjdk | public | 2023-07-25 06:44 | 2023-07-26 09:25 |
Reporter | Israel Fruchter | Assigned To | Louis Abel | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | needinfo | Resolution | open | ||
Summary | 0003895: openjdk-11.0.20.0.8-2 is missing `tzdb.dat` | ||||
Description | using rock9 GCP official images https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/images/rocky-linux-9-v20230711 we start getting this failure on our tests: ``` Command: '/home/scylla-test/scylladb/share/cassandra/bin/nodetool status ' Exit code: 1 Stdout: Stderr: at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at org.apache.cassandra.utils.FBUtilities.<clinit>(FBUtilities.java:72) at org.apache.cassandra.tools.NodeTool.<clinit>(NodeTool.java:52) Caused by: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el9.x86_64/lib/tzdb.dat (No such file or directory) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:255) ``` this is started happening a day or two ago, and doesn't happen on any other distros (centos7, centos8) it happened both on rock8 and rocky9 | ||||
Steps To Reproduce | using google image: https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/images/rocky-linux-9-v20230711 and run cassandra nodetool command (installed from cassandra or from scylladb) | ||||
Tags | No tags attached. | ||||
This is likely not a bug. Please ensure you have tzdata-java installed. Setting to needinfo. |
|
previous known working version java-11-openjdk-headless-1:11.0.19.0.7-4.el9.x86_6 ``` < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > Installing: < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > java-11-openjdk-headless x86_64 1:11.0.19.0.7-4.el9 appstream 40 M < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > Installing dependencies: < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > alsa-lib x86_64 1.2.8-3.el9 appstream 498 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > avahi-libs x86_64 0.8-12.el9_2.1 baseos 66 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > copy-jdk-configs noarch 4.0-3.el9 appstream 27 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > cups-libs x86_64 1:2.3.3op2-16.el9 baseos 264 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > javapackages-filesystem noarch 6.0.0-4.el9 appstream 11 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > lksctp-tools x86_64 1.0.19-2.el9 baseos 90 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > lua x86_64 5.4.4-3.el9 appstream 187 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > lua-posix x86_64 35.0-8.el9 appstream 131 k < t:2023-07-22 05:32:34,731 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > tzdata-java noarch 2023c-1.el9 appstream 149 k ``` |
|
Failing version: ``` < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > ================================================================================ < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > Package Arch Version Repository Size < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > ================================================================================ < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > Installing: < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > java-11-openjdk-headless x86_64 1:11.0.20.0.8-2.el9 appstream 40 M < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > Installing dependencies: < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > alsa-lib x86_64 1.2.8-3.el9 appstream 498 k < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > avahi-libs x86_64 0.8-12.el9_2.1 baseos 66 k < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > copy-jdk-configs noarch 4.0-3.el9 appstream 27 k < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > cups-libs x86_64 1:2.3.3op2-16.el9 baseos 264 k < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > javapackages-filesystem noarch 6.0.0-4.el9 appstream 11 k < t:2023-07-24 18:31:44,566 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > lksctp-tools x86_64 1.0.19-2.el9 baseos 90 k < t:2023-07-24 18:31:44,567 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > lua x86_64 5.4.4-3.el9 appstream 187 k < t:2023-07-24 18:31:44,567 f:base.py l:228 c:RemoteLibSSH2CmdRunner p:DEBUG > lua-posix x86_64 35.0-8.el9 appstream 131 k ``` the dependency on tzdata-java is gone, why ? |
|
Hi, I actually encountered the same issue, when upgraded from: $ java --version openjdk 11.0.19 2023-04-18 LTS OpenJDK Runtime Environment (Red_Hat-11.0.19.0.7-2) (build 11.0.19+7-LTS) OpenJDK 64-Bit Server VM (Red_Hat-11.0.19.0.7-2) (build 11.0.19+7-LTS, mixed mode, sharing) to: $ java --version openjdk 11.0.20 2023-07-18 LTS OpenJDK Runtime Environment (Red_Hat-11.0.20.0.8-1) (build 11.0.20+8-LTS) OpenJDK 64-Bit Server VM (Red_Hat-11.0.20.0.8-1) (build 11.0.20+8-LTS, mixed mode, sharing) $ pwd /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib lrwxrwxrwx. 1 root root 30 Jul 20 20:41 tzdb.dat -> /usr/share/javazi-1.8/tzdb.dat but /usr/share/javazi-1.8/tzdb.dat doesn't exist. It causes: Exception in thread "main" java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory) Separately installing 'tzdata-java' solves the issue, but why was it changed in the first place? Regards |
|
It is likely this was not done on purpose and was a result of tzdata changes made within the rpm spec itself. You can see the diff here: https://git.rockylinux.org/staging/rpms/java-11-openjdk/-/commit/4c504bd6f8a23ceaf9579b31bf546cc220497465 The following bugzillas are likely related. https://bugzilla.redhat.com/show_bug.cgi?id=2224420 https://bugzilla.redhat.com/show_bug.cgi?id=2224411 https://bugzilla.redhat.com/show_bug.cgi?id=2224428 https://bugzilla.redhat.com/show_bug.cgi?id=2224427 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-07-25 06:44 | Israel Fruchter | New Issue | |
2023-07-25 06:45 | Louis Abel | Assigned To | => Louis Abel |
2023-07-25 06:45 | Louis Abel | Status | new => needinfo |
2023-07-25 06:45 | Louis Abel | Note Added: 0004192 | |
2023-07-25 06:52 | Israel Fruchter | Note Added: 0004193 | |
2023-07-25 06:53 | Israel Fruchter | Note Added: 0004194 | |
2023-07-25 10:16 | Fabian Bogusławski | Note Added: 0004195 | |
2023-07-25 10:16 | Fabian Bogusławski | File Added: image.png | |
2023-07-25 10:16 | Fabian Bogusławski | File Added: image-2.png | |
2023-07-25 10:16 | Fabian Bogusławski | File Added: image-3.png | |
2023-07-26 09:25 | Louis Abel | Note Added: 0004225 |