Description of problem:
**
If we add a project with a git repository in a devfile of workspaces and start it, the project is not correctly cloned, and a "project-clone-error.log" appears in the "projects" folder. This is the content: 2022/11/08 15:07:40 Read DevWorkspace at /devworkspace-metadata/flattened.devworkspace.yaml 2022/11/08 15:07:40 Processing project python-hello-world 2022/11/08 15:07:40 Project 'python-hello-world' is already configured 2022/11/08 15:07:40 Processing project example-name 2022/11/08 15:07:40 Cloning project example-name to /projects/project-clone-1120711879/example-name 2022/11/08 15:07:40 Encountered error while setting up project example-name: failed to clone project: failed to git clone from http://10.20.30.40:7990/scm/cfolder/example-name.git: exit status 128 What is the It is possible to clone this repository and add the folder to the workspace manually as a workaround. |
Prerequisites (if any, like setup, operators/versions):
**
NAMESPACE NAME CSV APPROVAL APPROVED openshift-operators install-4w5zd devworkspace-operator.v0.16.0-0.1666668361.p Manual false openshift-operators install-jlq2h devworkspace-operator.v0.16.0 Manual false openshift-operators install-tqst9 devspacesoperator.v3.2.0-0.1667785989.p Manual false openshift-operators install-vgbw5 devworkspace-operator.v0.16.0-0.1666668361.p Manual false
Steps to Reproduce
Not able to reproduce in my environment now. Creating this ticket in advance if there is an error during the starting process when a workspace is created.
Actual results:
A repository is not cloned correctly during the creation of the workspace.
Expected results:
A repository must be cloned correctly during the creation of a workspace.