Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-4792

Dev Spaces 3.7.1+0.1691548593.p failed to install on plugin-registry deployment step because of error "/usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.x86_64/lib/tzdb.dat (No such file or directory)"

XMLWordPrintable

    • False
    • None
    • False
    • Workaround Exists
    • Hide

      Workaround 1

      Install Dev Spaces with next property in 'devspaces' CheCluster:

        components:
          pluginRegistry:
            deployment:
              containers:
                - image: registry.redhat.io/devspaces/pluginregistry-rhel8@sha256:a95b61b3f5d44d14c1398b0674ad04fd61c07f75afad08e43c3a4d5513340176
      

      Workaround 2

      1. Downgrade pluginregistry image to registry.redhat.io/devspaces/pluginregistry-rhel8@sha256:a95b61b3f5d44d14c1398b0674ad04fd61c07f75afad08e43c3a4d5513340176 in devspacesoperator.v3.7.1-0.1691548593.p CSV

      2. Recreate 'devspaces' CheCluster to reinstall Dev Spaces instance

      Show
      Workaround 1 Install Dev Spaces with next property in 'devspaces' CheCluster: components: pluginRegistry: deployment: containers: - image: registry.redhat.io/devspaces/pluginregistry-rhel8@sha256:a95b61b3f5d44d14c1398b0674ad04fd61c07f75afad08e43c3a4d5513340176 Workaround 2 1. Downgrade pluginregistry image to registry.redhat.io/devspaces/pluginregistry-rhel8@sha256:a95b61b3f5d44d14c1398b0674ad04fd61c07f75afad08e43c3a4d5513340176 in devspacesoperator.v3.7.1-0.1691548593.p CSV 2. Recreate 'devspaces' CheCluster to reinstall Dev Spaces instance

      Description of problem:

      Workaround

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Install Dev Spaces 3.7.1+0.1691548593.p

      Actual results:

      Dev Spaces failed to install on plugin-registry deployment step:

      Waiting that openvsx is readyJVM_ARGS: '-DSPDXParser.OnlyUseLocalLicenses=true -Xmx2048m'
      ..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)
      	at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:261)
      	at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:251)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:251)
      	at java.base/sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:588)
      	at java.base/java.util.TimeZone.getTimeZone(TimeZone.java:577)
      	at java.base/java.util.TimeZone.setDefaultZone(TimeZone.java:682)
      	at java.base/java.util.TimeZone.getDefaultRef(TimeZone.java:653)
      	at java.base/java.util.TimeZone.getDefault(TimeZone.java:642)
      	at java.base/java.util.Calendar.defaultTimeZone(Calendar.java:1679)
      	at java.base/java.util.Calendar.getInstance(Calendar.java:1660)
      	at java.base/java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:676)
      	at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:620)
      	at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:599)
      	at ch.qos.logback.core.util.CachingDateFormatter.<init>(CachingDateFormatter.java:33)
      	at ch.qos.logback.classic.layout.TTLLLayout.<init>(TTLLLayout.java:25)
      	at ch.qos.logback.classic.BasicConfigurator.configure(BasicConfigurator.java:48)
      	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
      	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
      	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
      	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
      	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
      	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)
      	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
      	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)
      	at org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:179)
      	at org.eclipse.openvsx.RegistryApplication.main(RegistryApplication.java:43)
      Caused by: 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)
      	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)
      	... 28 more
      

      plugin-registry-778f86df5c-lvptr-plugin-registry.log

      Expected results:

      Dev Spaces has been installed succesfully.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      Definition of Done:

      Build Details:

      There is new registry.redhat.io/devspaces/pluginregistry-rhel8@sha256:ddcb4c2841733aeacddb5f72c1ecbf78cec3414712875764d64dc535befcde8d image in freshmaker respin Dev Spaces 3.7.1+0.1691548593.p

      DS 3.7.1.GA has another image: quay.io/devspaces/pluginregistry-rhel8?sha256:a95b61b3f5d44d14c1398b0674ad04fd61c07f75afad08e43c3a4d5513340176

      Additional info (Such as Logs, Screenshots, etc):*

      The problem has been reproduced on IBM Power as well:

      Database is ready
      /openvsx-server ~ /
      Waiting that openvsx is readyJVM_ARGS: '-DSPDXParser.OnlyUseLocalLicenses=true -Xmx2048m'
      ..Exception in thread "main" java.lang.Error: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.ppc64le/lib/tzdb.dat (No such file or directory)
      	at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:261)
      	at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:251)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/sun.util.calendar.ZoneInfoFile.<clinit>(ZoneInfoFile.java:251)
      	at java.base/sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:588)
      	at java.base/java.util.TimeZone.getTimeZone(TimeZone.java:577)
      	at java.base/java.util.TimeZone.setDefaultZone(TimeZone.java:682)
      	at java.base/java.util.TimeZone.getDefaultRef(TimeZone.java:653)
      	at java.base/java.util.TimeZone.getDefault(TimeZone.java:642)
      	at java.base/java.util.Calendar.defaultTimeZone(Calendar.java:1679)
      	at java.base/java.util.Calendar.getInstance(Calendar.java:1660)
      	at java.base/java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:676)
      	at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:620)
      	at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:599)
      	at ch.qos.logback.core.util.CachingDateFormatter.<init>(CachingDateFormatter.java:33)
      	at ch.qos.logback.classic.layout.TTLLLayout.<init>(TTLLLayout.java:25)
      	at ch.qos.logback.classic.BasicConfigurator.configure(BasicConfigurator.java:48)
      	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
      	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
      	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
      	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
      	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
      	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)
      	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
      	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:273)
      	at org.springframework.boot.SpringApplication.<clinit>(SpringApplication.java:179)
      	at org.eclipse.openvsx.RegistryApplication.main(RegistryApplication.java:43)
      Caused by: java.io.FileNotFoundException: /usr/lib/jvm/java-11-openjdk-11.0.20.0.8-2.el8.ppc64le/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)
      	... 28 more
      .........................................................................................................................................................................................................................................
      

       

       *

              ibuziuk@redhat.com Ilya Buziuk
              dnochevn Dmytro Nochevnov
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: