XMLWordPrintable

    • True
    • This new feature for version not work correctly
    • False
    • Release Notes
    • Hide
      = Fixed workspace startup with Git repositories hosted by Microsoft Azure
       
      Before this update, for Git repositories that are hosted by Microsoft Azure DevOps, new workspaces might fail to start due to a *Workspace does not exist* error. With this update, the issue is resolved.
      Show
      = Fixed workspace startup with Git repositories hosted by Microsoft Azure   Before this update, for Git repositories that are hosted by Microsoft Azure DevOps, new workspaces might fail to start due to a *Workspace does not exist* error. With this update, the issue is resolved.
    • Bug Fix
    • Done

      Description of problem:

      The problem is the integration about Azure Devops. Add all steps include in eclise che documentation. 

      https://www.eclipse.org/che/docs/stable/administration-guide/configuring-oauth-2-for-microsoft-azure-devops-services/

      But, when open project from repository by Azure devops repo open Visualcode IDE and respond with error.

      Check project error and the error is next

      bash: cd: project-clone-errors.log: Not a directory
      projects $ cat project-clone-errors.log 
      2023/06/06 09:01:51 Read DevWorkspace at /devworkspace-metadata/flattened.devworkspace.yaml
      2023/06/06 09:01:51 Processing project prueba
      2023/06/06 09:01:51 Cloning project prueba to /projects/project-clone-2183814237/prueba
      2023/06/06 09:01:51 Encountered error while setting up project prueba: failed to clone project: failed to git clone from https://dev.azure.com/sliphup/_git/_git/Prueba: exit status 128

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

       

      RedHat Demo Platform: Deploy 

      Red Hat OpenShift Container Platform 4.13 Workshop 4.13.0

      DevSpace Operator:

      Red Hat OpenShift Dev Spaces 3.6.0+0.1685322634.p provided by Red Hat

       

       

       

      Steps to Reproduce

      First, create in Azure Devops one application with repository.

      Second, create application priviliges for DevSapce. All steps include in the next url:

       https://www.eclipse.org/che/docs/stable/administration-guide/configuring-oauth-2-for-microsoft-azure-devops-services/

      Third, Install operator DevSpace 

      Fourth, create secret in the same namespace. All configuration include in the next url:

      https://www.eclipse.org/che/docs/stable/administration-guide/configuring-oauth-2-for-microsoft-azure-devops-services/

      Fifth, create new Red Hat OpenShift Dev Spaces instance Specification.

      Sixth, when finish deploy DevSpace, open workspace with git url repo from Azure DevOps Repo.

      Finish, return impossible open and error in project

      Error:

      bash: cd: project-clone-errors.log: Not a directory
      projects $ cat project-clone-errors.log 
      2023/06/06 09:01:51 Read DevWorkspace at /devworkspace-metadata/flattened.devworkspace.yaml
      2023/06/06 09:01:51 Processing project prueba
      2023/06/06 09:01:51 Cloning project prueba to /projects/project-clone-2183814237/prueba
      2023/06/06 09:01:51 Encountered error while setting up project prueba: failed to clone project: failed to git clone from https://dev.azure.com/sliphup/_git/_git/Prueba: exit status 128

       

      Actual results:

      Not open repository and send errors

      Expected results:

      Open project correctly

       

        1. image-2023-06-06-11-39-03-627.png
          160 kB
          Alejandro De la Hoz Martin
        2. image-2023-06-06-11-40-42-033.png
          67 kB
          Alejandro De la Hoz Martin
        3. image-2023-06-06-11-43-58-853.png
          157 kB
          Alejandro De la Hoz Martin
        4. image-2023-06-06-11-45-29-424.png
          201 kB
          Alejandro De la Hoz Martin
        5. image-2023-06-06-11-46-35-858.png
          111 kB
          Alejandro De la Hoz Martin
        6. image-2023-06-06-11-47-38-009.png
          113 kB
          Alejandro De la Hoz Martin
        7. image-2023-06-06-11-50-05-161.png
          152 kB
          Alejandro De la Hoz Martin
        8. image-2023-06-06-11-51-04-917.png
          116 kB
          Alejandro De la Hoz Martin
        9. image-2023-06-06-11-51-43-495.png
          128 kB
          Alejandro De la Hoz Martin
        10. image-2023-06-08-10-58-27-954.png
          81 kB
          Alejandro De la Hoz Martin
        11. screenshot-1.png
          55 kB
          Ilya Buziuk

              abazko Anatolii Bazko
              adelahoz@redhat.com Alejandro De la Hoz Martin
              Mario Loriedo Mario Loriedo
              Jana Vrbkova Jana Vrbkova
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: