XMLWordPrintable

    • False
    • False
    • Hide
      = Quarkus Sample for Devfile 2.0 is not starting

      Quarkus Sample for Devfile 2.0 is not starting. {prod-short} displays the following error message:
      +
      ----
      Workspace quarkus-quickstart failed to start.
      ----
      Show
      = Quarkus Sample for Devfile 2.0 is not starting Quarkus Sample for Devfile 2.0 is not starting. {prod-short} displays the following error message: + ---- Workspace quarkus-quickstart failed to start. ----
    • Hide

      Preconditions: 

      Launch the OCP v. 4.6 with properly mirroring and install CRW using  crwctl command. For exaple:

      ./crwctl server:deploy --no-olm-suggested-namespace --catalog-source-name=osbs-catalog-source --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=latest -n crw-dev-ws --che-operator-cr-patch-yaml=/tmp/che-cr-patch.yaml --workspace-engine=dev-workspace
      
      
      • After installing go to the CRW dashboard and try to launch the Quarkus sample.

      Expected result: The Workspace should be crated and launched
      Ectula resul: Danger label with the mess.: Workspace quarkus-quickstart failed to start

      Additional info: We got message in the logs: 'Error provisioning storage: Could not rewrite container volume mounts: container 'vscode-java' references undefined volume 'gradle'
      If we look at the DW file (openshift conole link: [your_host]/k8s/ns/[your_namespace_with_DW]/workspace.devfile.io~v1alpha2~DevWorkspace/quarkus-quickstart/yaml )
      has volume mount for gradle. But looks like this devfile invalid because I did not find this section in the dedicated project for devfile: https://github.com/crw-samples/quarkus-quickstarts/blob/devfilev2/devfile.yaml

      Show
      Preconditions:   Launch the OCP v. 4.6 with properly mirroring and install CRW using  crwctl command. For exaple: ./crwctl server:deploy --no-olm-suggested-namespace --catalog-source-name=osbs-catalog-source --catalog-source-namespace=openshift-marketplace --package-manifest-name=codeready-workspaces --olm-channel=latest -n crw-dev-ws --che-operator-cr-patch-yaml=/tmp/che-cr-patch.yaml --workspace-engine=dev-workspace After installing go to the CRW dashboard and try to launch the Quarkus sample. Expected result: The Workspace should be crated and launched Ectula resul: Danger label with the mess.: Workspace quarkus-quickstart failed to start Additional info: We got message in the logs: 'Error provisioning storage: Could not rewrite container volume mounts: container 'vscode-java' references undefined volume 'gradle' If we look at the DW file ( openshift conole link : [your_host] /k8s/ns/ [your_namespace_with_DW] /workspace.devfile.io~v1alpha2~DevWorkspace/quarkus-quickstart/yaml ) has volume mount for gradle. But looks like this devfile invalid because I did not find this section in the dedicated project for devfile: https://github.com/crw-samples/quarkus-quickstarts/blob/devfilev2/devfile.yaml

      When we install CRW with enabled DW the base quarkus sample failed to start

            fbenoit@redhat.com Florent Benoit
            mmusiien Maksym Musienko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: