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

CRW 2.0.0 java-eap-maven workspace is not compatible with CRW 2.2.0

    XMLWordPrintable

Details

    Description

      CRW 2.0.0 java-eap-maven devfile is not compatible with CRW 2.2.0.RC1:

      warning

      This workspace is using old definition format which is not compatible anymore.
      Please follow the <a href="https://access.redhat.com/documentation/en-us/red_hat_codeready_workspaces/2.0/html-single/end-user_guide/index#converting-a-codeready-workspaces-1.2-workspace-to-a-codeready-workspaces-2.0-devfile" target="_blank">documentation
      to update the definition of the workspace and benefits from the latest capabilities.

      server log
      2020-06-18 07:40:23,924[ost-startStop-1]  [INFO ] [o.f.c.i.d.DbSupportFactory 44]       - Database: jdbc:postgresql://postgres:5432/dbche (PostgreSQL 9.6)
      2020-06-18 07:40:23,973[ost-startStop-1]  [INFO ] [o.f.c.i.util.VersionPrinter 44]      - Flyway 4.2.0 by Boxfuse
      2020-06-18 07:40:23,980[ost-startStop-1]  [INFO ] [o.f.c.i.d.DbSupportFactory 44]       - Database: jdbc:postgresql://postgres:5432/dbche (PostgreSQL 9.6)
      2020-06-18 07:40:24,028[ost-startStop-1]  [INFO ] [i.f.CustomSqlMigrationResolver 158]  - Searching for SQL scripts in locations [classpath:che-schema]
      2020-06-18 07:40:24,095[ost-startStop-1]  [INFO ] [o.f.c.i.command.DbValidate 44]       - Successfully validated 58 migrations (execution time 00:00.069s)
      2020-06-18 07:40:24,117[ost-startStop-1]  [INFO ] [o.f.c.i.command.DbMigrate 44]        - Current version of schema "public": 7.11.0.1
      2020-06-18 07:40:24,118[ost-startStop-1]  [INFO ] [o.f.c.i.command.DbMigrate 44]        - Schema "public" is up to date. No migration necessary.
      2020-06-18 07:40:25,603[ost-startStop-1]  [INFO ] [o.j.p.kubernetes.KUBE_PING 131]      - namespace crw-crwctl-tls-oauth set; clustering enabled
      -------------------------------------------------------------------
      GMS: address=codeready-78bcbd45f-s4dpg-48463, cluster=EclipseLinkCommandChannel, physical address=10.129.1.66:7803
      -------------------------------------------------------------------
      2020-06-18 07:40:28,634[ost-startStop-1]  [INFO ] [o.jgroups.protocols.pbcast.GMS 125]  - codeready-78bcbd45f-s4dpg-48463: no members discovered after 3025 ms: creating cluster as coordinator
      2020-06-18 07:40:28,720[ost-startStop-1]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 174]   - Configured factories for environments: '[openshift, kubernetes, no-environment]'
      2020-06-18 07:40:28,724[ost-startStop-1]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 175]   - Registered infrastructure 'openshift'
      2020-06-18 07:40:32,195[ost-startStop-1]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 661]   - Infrastructure is tracking 1 active runtimes
      2020-06-18 07:40:32,252[aceSharedPool-0]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 874]   - Recovering of runtimes is started.
      2020-06-18 07:40:32,255[aceSharedPool-0]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 880]   - Recovering runtime workspacepkoz8tgvopswvc3h
      2020-06-18 07:40:32,304[ost-startStop-1]  [INFO ] [o.e.c.a.c.u.ApiInfoLogInformer 36]   - Eclipse Che Api Core: Build info '7.14.3-SNAPSHOT' scmRevision '28c1f3a9c5934e0429a731b82dbca00b2f2e39c4' implementationVersion '7.14.3-SNAPSHOT'
      2020-06-18 07:40:32,306[aceSharedPool-0]  [ERROR] [o.e.c.a.w.s.WorkspaceRuntimes 886]   - An error occurred while attempting to recover runtime 'workspacepkoz8tgvopswvc3h' using infrastructure 'openshift'. Reason: 'null'
      java.lang.NullPointerException: null
      	at org.eclipse.che.api.workspace.server.model.impl.devfile.DevfileImpl.<init>(DevfileImpl.java:104)
      	at org.eclipse.che.api.workspace.server.devfile.convert.DevfileConverter.convert(DevfileConverter.java:79)
      	at org.eclipse.che.api.workspace.server.WorkspaceRuntimes.recoverOne(WorkspaceRuntimes.java:701)
      	at org.eclipse.che.api.workspace.server.WorkspaceRuntimes$RecoverRuntimesTask.run(WorkspaceRuntimes.java:881)
      	at org.eclipse.che.commons.lang.concurrent.CopyThreadLocalRunnable.run(CopyThreadLocalRunnable.java:38)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      2020-06-18 07:40:32,311[aceSharedPool-0]  [INFO ] [o.e.c.a.w.s.WorkspaceRuntimes 897]   - All runtimes have been recovered in 0 seconds.
      18-Jun-2020 07:40:32.542 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/jboss/codeready/tomcat/webapps/api.war] has finished in [25,433] ms
      18-Jun-2020 07:40:32.542 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/home/jboss/codeready/tomcat/webapps/swagger.war]
      18-Jun-2020 07:40:32.583 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/home/jboss/codeready/tomcat/webapps/swagger.war] has finished in [41] ms
      18-Jun-2020 07:40:32.584 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/jboss/codeready/tomcat/webapps/dashboard]
      18-Jun-2020 07:40:32.599 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
      18-Jun-2020 07:40:32.602 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/jboss/codeready/tomcat/webapps/dashboard] has finished in [18] ms
      18-Jun-2020 07:40:32.602 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/jboss/codeready/tomcat/webapps/workspace-loader]
      18-Jun-2020 07:40:32.615 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/home/jboss/codeready/tomcat/webapps/workspace-loader] has finished in [13] ms
      18-Jun-2020 07:40:32.619 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
      18-Jun-2020 07:40:32.629 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 27625 ms
      2020-06-18 07:41:32,347[ted-scheduler-1]  [WARN ] [a.w.a.WorkspaceActivityChecker 200]  - Activity record for workspace workspacepkoz8tgvopswvc3h was registering STOPPED status while the workspace was STARTING in reality. Rectifying the activity record to reflect the true state of the workspace.
      

      At the same time CRW 2.0.0 workspaces are compatible with CRW 2.1.1.

      Attachments

        Activity

          People

            ericwill@redhat.com Eric Williams
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: