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

Bad link to gitlab.com in documentation (starting workspace fails if copy/paste)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 3.1.0.GA
    • 3.0.0.GA
    • docs
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Required
    • Hide
      1. Install Dev Spaces 3.0 on OCP 4.10
      2. Add an application in my Gitlab profile as mentioned in the documenation
      3. Create a gitlab-oauth secret in dev spaces namespace as mentioned in the documentation
      4. Try to start a workspace using the URL https://<devspaces-hostname>/#https://gitlab.com/mario.loriedo/java-examples-for-tilt.git (private) or https://<devspaces-hostname>/#https://gitlab.com/mario.loriedo/microservices-demo-frontend.git (public)
      Show
      Install Dev Spaces 3.0 on OCP 4.10 Add an application in my Gitlab profile as mentioned in the documenation Create a gitlab-oauth secret in dev spaces namespace as mentioned in the documentation Try to start a workspace using the URL https://<devspaces-hostname>/# https://gitlab.com/mario.loriedo/java-examples-for-tilt.git (private) or https://<devspaces-hostname>/# https://gitlab.com/mario.loriedo/microservices-demo-frontend.git (public)

      Trying to start a workspace from a gitlab.com private repository fails with the following error message:

      Failed to resolve a devfile. Failed to request factory resolver: Cannot build factory with any of the provided parameters. Please check parameters correctness, and resend query.

      Trying to start a workspace from a gitlab.com public repository fails with the following error message:

      Failed to resolve a devfile. Failed to request factory resolver: Error occurred during creation a workspace from devfile located at `https://gitlab.com/mario.loriedo/microservices-demo-frontend.git`. Cause: Neither of `apiVersion` or `schemaVersion` found. This is not a valid devfile.

      Nothing is logged in Dev Spaces server log when the error occurs but there are 2 RUNNING server pods:

      oc get pods
      NAME                                   READY   STATUS    RESTARTS         AGE
      che-gateway-6c5cdcf585-nshkd           4/4     Running   0                4h57m
      devfile-registry-79b75476c-22t7c       1/1     Running   0                5h
      devspaces-78546979bc-kxvjd             0/1     Running   21 (4m37s ago)   165m
      devspaces-dashboard-55cc4c6c64-w8zp4   1/1     Running   0                4h58m
      devspaces-fb6cb8d46-28wt8              1/1     Running   0                174m
      plugin-registry-7d848985c8-5gsz6       1/1     Running   0                4h59m
      postgres-79db9db4cf-qs8gw              1/1     Running   0                5h1m
      

        1. weird-char-hex.png
          51 kB
          Mario Loriedo
        2. weird char.png
          32 kB
          Mario Loriedo
        3. screencast-nimbus-capture-2022.07.12-13_26_57.webm
          25.69 MB
          Ihor Vinokur
        4. devspaces-server-gitlab-error.log
          175 kB
          Mario Loriedo

              mloriedo Mario Loriedo
              mloriedo Mario Loriedo
              Max Leonov Max Leonov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: