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

Starting the Quarkus project based on devfile v2 fails

XMLWordPrintable

    • False
    • False
    • Hide

      Env.: OCP 4.8, 4.6, cluster-bot

      Preconditions: 

      Launch the OCP 4.8 or 4.6 with enabled workspace-engine properly mirroring and install CRW using  crwctl command. For example:

      ./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 created and launched
      Actual result: Workspace quarkus failed to startContainer vscode-java has state ImagePullBackOff
      Additional info:
      Events:

      LAST SEEN   TYPE     REASON                   OBJECT                                            MESSAGE
      13m         Normal   WaitForFirstConsumer     persistentvolumeclaim/claim-devworkspace          waiting for first consumer to be created before binding
      13m         Normal   ProvisioningSucceeded    persistentvolumeclaim/claim-devworkspace          Successfully provisioned volume pvc-da0b5a7e-ea8e-4d4b-813c-49ebbd957178 using kubernetes.io/gce-pd
      14m         Normal   CreatedSCCRanges         namespace/codeready-codeready                     created SCC ranges
      13m         Normal   Scheduled                pod/workspace6580840eecc44d90-688df96495-sff6l    Successfully assigned codeready-codeready/workspace6580840eecc44d90-688df96495-sff6l to ci-ln-85970mk-f76d1-g5dwf-worker-a-s6ht6
      12m         Normal   SuccessfulAttachVolume   pod/workspace6580840eecc44d90-688df96495-sff6l    AttachVolume.Attach succeeded for volume "pvc-da0b5a7e-ea8e-4d4b-813c-49ebbd957178"
      12m         Normal   AddedInterface           pod/workspace6580840eecc44d90-688df96495-sff6l    Add eth0 [10.131.0.32/23] from openshift-sdn
      12m         Normal   Pulling                  pod/workspace6580840eecc44d90-688df96495-sff6l    Pulling image "registry.redhat.io/codeready-workspaces/theia-endpoint-rhel8@sha256:cda289285594c87d1acfb77543aae109973cd1b84953bde061a27889423979c5"
      12m         Normal   Pulled                   pod/workspace6580840eecc44d90-688df96495-sff6l    Successfully pulled image "registry.redhat.io/codeready-workspaces/theia-endpoint-rhel8@sha256:cda289285594c87d1acfb77543aae109973cd1b84953bde061a27889423979c5" in 10.848787446s
      12m         Normal   Created                  pod/workspace6580840eecc44d90-688df96495-sff6l    Created container remote-runtime-injector
      12m         Normal   Started                  pod/workspace6580840eecc44d90-688df96495-sff6l    Started container remote-runtime-injector
      12m         Normal   Pulling                  pod/workspace6580840eecc44d90-688df96495-sff6l    Pulling image "quay.io/eclipse/che-theia-vsix-installer:next"
      12m         Normal   Pulled                   pod/workspace6580840eecc44d90-688df96495-sff6l    Successfully pulled image "quay.io/eclipse/che-theia-vsix-installer:next" in 2.396993496s
      12m         Normal   Created                  pod/workspace6580840eecc44d90-688df96495-sff6l    Created container vsix-installer
      12m         Normal   Started                  pod/workspace6580840eecc44d90-688df96495-sff6l    Started container vsix-installer
      12m         Normal   Pulling                  pod/workspace6580840eecc44d90-688df96495-sff6l    Pulling image "quay.io/devfile/project-clone:next"
      12m         Normal   Pulled                   pod/workspace6580840eecc44d90-688df96495-sff6l    Successfully pulled image "quay.io/devfile/project-clone:next" in 7.419767818s
      12m         Normal   Created                  pod/workspace6580840eecc44d90-688df96495-sff6l    Created container project-clone
      12m         Normal   Started                  pod/workspace6580840eecc44d90-688df96495-sff6l    Started container project-clone
      12m         Normal   Pulling                  pod/workspace6580840eecc44d90-688df96495-sff6l    Pulling image "registry.redhat.io/codeready-workspaces/theia-rhel8@sha256:be279f90a9aeeb885fcedca4749396ce16825eb66947900b549cfdf16f97dfeb"
      11m         Normal   Pulled                   pod/workspace6580840eecc44d90-688df96495-sff6l    Successfully pulled image "registry.redhat.io/codeready-workspaces/theia-rhel8@sha256:be279f90a9aeeb885fcedca4749396ce16825eb66947900b549cfdf16f97dfeb" in 38.083655953s
      11m         Normal   Created                  pod/workspace6580840eecc44d90-688df96495-sff6l    Created container theia-ide
      11m         Normal   Started                  pod/workspace6580840eecc44d90-688df96495-sff6l    Started container theia-ide
      11m         Normal   Pulling                  pod/workspace6580840eecc44d90-688df96495-sff6l    Pulling image "registry.redhat.io/codeready-workspaces/machineexec-rhel8@sha256:bfdd8cf61a6fad757f1e8334aa84dbf44baddf897ff8def7496bf6dbc066679d"
      11m         Normal   Pulled                   pod/workspace6580840eecc44d90-688df96495-sff6l    Successfully pulled image "registry.redhat.io/codeready-workspaces/machineexec-rhel8@sha256:bfdd8cf61a6fad757f1e8334aa84dbf44baddf897ff8def7496bf6dbc066679d" in 7.202189333s
      11m         Normal   Created                  pod/workspace6580840eecc44d90-688df96495-sff6l    Created container che-machine-exec
      11m         Normal   Started                  pod/workspace6580840eecc44d90-688df96495-sff6l    Started container che-machine-exec
      11m         Normal   Pulling                  pod/workspace6580840eecc44d90-688df96495-sff6l    Pulling image "registry.access.redhat.com/ubi8/openjdk-11"
      11m         Normal   Pulled                   pod/workspace6580840eecc44d90-688df96495-sff6l    Successfully pulled image "registry.access.redhat.com/ubi8/openjdk-11" in 18.251321733s
      11m         Normal   Created                  pod/workspace6580840eecc44d90-688df96495-sff6l    Created container tools
      11m         Normal   Started                  pod/workspace6580840eecc44d90-688df96495-sff6l    Started container tools
      11m         Normal   Pulling                  pod/workspace6580840eecc44d90-688df96495-sff6l    Pulling image "registry.access.redhat.com/ubi8/ubi-minimal"
      2m46s       Normal   BackOff                  pod/workspace6580840eecc44d90-688df96495-sff6l    Back-off pulling image "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.11"
      13m         Normal   SuccessfulCreate         replicaset/workspace6580840eecc44d90-688df96495   Created pod: workspace6580840eecc44d90-688df96495-sff6l
      13m         Normal   ScalingReplicaSet        deployment/workspace6580840eecc44d90              Scaled up replica set workspace6580840eecc44d90-688df96495 to 1
      
      Show
      Env.: OCP 4.8, 4.6, cluster-bot Preconditions:   Launch the OCP 4.8 or 4.6 with enabled workspace-engine properly mirroring and install CRW using  crwctl command. For example: ./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 created and launched Actual result: Workspace quarkus failed to startContainer vscode-java has state ImagePullBackOff Additional info: Events: LAST SEEN TYPE REASON OBJECT MESSAGE 13m Normal WaitForFirstConsumer persistentvolumeclaim/claim-devworkspace waiting for first consumer to be created before binding 13m Normal ProvisioningSucceeded persistentvolumeclaim/claim-devworkspace Successfully provisioned volume pvc-da0b5a7e-ea8e-4d4b-813c-49ebbd957178 using kubernetes.io/gce-pd 14m Normal CreatedSCCRanges namespace/codeready-codeready created SCC ranges 13m Normal Scheduled pod/workspace6580840eecc44d90-688df96495-sff6l Successfully assigned codeready-codeready/workspace6580840eecc44d90-688df96495-sff6l to ci-ln-85970mk-f76d1-g5dwf-worker-a-s6ht6 12m Normal SuccessfulAttachVolume pod/workspace6580840eecc44d90-688df96495-sff6l AttachVolume.Attach succeeded for volume "pvc-da0b5a7e-ea8e-4d4b-813c-49ebbd957178" 12m Normal AddedInterface pod/workspace6580840eecc44d90-688df96495-sff6l Add eth0 [10.131.0.32/23] from openshift-sdn 12m Normal Pulling pod/workspace6580840eecc44d90-688df96495-sff6l Pulling image "registry.redhat.io/codeready-workspaces/theia-endpoint-rhel8@sha256:cda289285594c87d1acfb77543aae109973cd1b84953bde061a27889423979c5" 12m Normal Pulled pod/workspace6580840eecc44d90-688df96495-sff6l Successfully pulled image "registry.redhat.io/codeready-workspaces/theia-endpoint-rhel8@sha256:cda289285594c87d1acfb77543aae109973cd1b84953bde061a27889423979c5" in 10.848787446s 12m Normal Created pod/workspace6580840eecc44d90-688df96495-sff6l Created container remote-runtime-injector 12m Normal Started pod/workspace6580840eecc44d90-688df96495-sff6l Started container remote-runtime-injector 12m Normal Pulling pod/workspace6580840eecc44d90-688df96495-sff6l Pulling image "quay.io/eclipse/che-theia-vsix-installer:next" 12m Normal Pulled pod/workspace6580840eecc44d90-688df96495-sff6l Successfully pulled image "quay.io/eclipse/che-theia-vsix-installer:next" in 2.396993496s 12m Normal Created pod/workspace6580840eecc44d90-688df96495-sff6l Created container vsix-installer 12m Normal Started pod/workspace6580840eecc44d90-688df96495-sff6l Started container vsix-installer 12m Normal Pulling pod/workspace6580840eecc44d90-688df96495-sff6l Pulling image "quay.io/devfile/project-clone:next" 12m Normal Pulled pod/workspace6580840eecc44d90-688df96495-sff6l Successfully pulled image "quay.io/devfile/project-clone:next" in 7.419767818s 12m Normal Created pod/workspace6580840eecc44d90-688df96495-sff6l Created container project-clone 12m Normal Started pod/workspace6580840eecc44d90-688df96495-sff6l Started container project-clone 12m Normal Pulling pod/workspace6580840eecc44d90-688df96495-sff6l Pulling image "registry.redhat.io/codeready-workspaces/theia-rhel8@sha256:be279f90a9aeeb885fcedca4749396ce16825eb66947900b549cfdf16f97dfeb" 11m Normal Pulled pod/workspace6580840eecc44d90-688df96495-sff6l Successfully pulled image "registry.redhat.io/codeready-workspaces/theia-rhel8@sha256:be279f90a9aeeb885fcedca4749396ce16825eb66947900b549cfdf16f97dfeb" in 38.083655953s 11m Normal Created pod/workspace6580840eecc44d90-688df96495-sff6l Created container theia-ide 11m Normal Started pod/workspace6580840eecc44d90-688df96495-sff6l Started container theia-ide 11m Normal Pulling pod/workspace6580840eecc44d90-688df96495-sff6l Pulling image "registry.redhat.io/codeready-workspaces/machineexec-rhel8@sha256:bfdd8cf61a6fad757f1e8334aa84dbf44baddf897ff8def7496bf6dbc066679d" 11m Normal Pulled pod/workspace6580840eecc44d90-688df96495-sff6l Successfully pulled image "registry.redhat.io/codeready-workspaces/machineexec-rhel8@sha256:bfdd8cf61a6fad757f1e8334aa84dbf44baddf897ff8def7496bf6dbc066679d" in 7.202189333s 11m Normal Created pod/workspace6580840eecc44d90-688df96495-sff6l Created container che-machine-exec 11m Normal Started pod/workspace6580840eecc44d90-688df96495-sff6l Started container che-machine-exec 11m Normal Pulling pod/workspace6580840eecc44d90-688df96495-sff6l Pulling image "registry.access.redhat.com/ubi8/openjdk-11" 11m Normal Pulled pod/workspace6580840eecc44d90-688df96495-sff6l Successfully pulled image "registry.access.redhat.com/ubi8/openjdk-11" in 18.251321733s 11m Normal Created pod/workspace6580840eecc44d90-688df96495-sff6l Created container tools 11m Normal Started pod/workspace6580840eecc44d90-688df96495-sff6l Started container tools 11m Normal Pulling pod/workspace6580840eecc44d90-688df96495-sff6l Pulling image "registry.access.redhat.com/ubi8/ubi-minimal" 2m46s Normal BackOff pod/workspace6580840eecc44d90-688df96495-sff6l Back-off pulling image "registry.redhat.io/codeready-workspaces/plugin-java11-rhel8:2.11" 13m Normal SuccessfulCreate replicaset/workspace6580840eecc44d90-688df96495 Created pod: workspace6580840eecc44d90-688df96495-sff6l 13m Normal ScalingReplicaSet deployment/workspace6580840eecc44d90 Scaled up replica set workspace6580840eecc44d90-688df96495 to 1

      When we start the Quarkus sample we get the ImagePullBackOff err for the vscode-java container

        1. DevWs.yaml
          8 kB
        2. patch.yaml
          0.4 kB
        3. Pod.yaml
          57 kB
        4. Selection_040.png
          Selection_040.png
          35 kB

              vsvydenk Valerii Svydenko
              mmusiien Maksym Musienko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: