codewind
codewind copied to clipboard
[odo] SVT: projects failed to build in my cluster - (Build Failed - Creating image for build failed)
Codewind version: 0.5.0 OS: RHEL
Che version: 7.2 IDE extension version: 0.5.0 IDE version: Theia - 7.1 Kubernetes cluster: OKD
Storage - GlusterFS
Other services which are running on my cluster.
oc get projects
NAME DISPLAY NAME STATUS
app-storage Active
appsody-project Active
che Active
default Active
eclipse-che Active
internal-registry Active
istio-system Active
kabanero Active
knative-eventing Active
knative-serving Active
kube-public Active
kube-service-catalog Active
kube-system Active
management-infra Active
myproject Active
olm Active
openshift Active
openshift-ansible-service-broker Active
openshift-console Active
openshift-infra Active
openshift-logging Active
openshift-metrics-server Active
openshift-monitoring Active
openshift-node Active
openshift-sdn Active
openshift-template-service-broker Active
openshift-web-console Active
operators Active
tekton-pipelines Active
Description: When I try to create project from my OKD cluster i get into following issue. Here is the log. I am able to deploy the application outside of codewind from ODO client which is installed on my master node.
Creating, building and deploying odo application
Step 1 of 4:
- Creating odo component: cw-odopythoncw05svt
Warning: python is not fully supported by odo, and it is not guaranteed to work.
• Validating component ...
✓ Validating component [4ms]
Please use `odo push` command to create the component with source deployed
- Successfully created odo component: cw-odopythoncw05svt
Step 2 of 4:
- Building and deploying odo component: cw-odopythoncw05svt
Validation
• Checking component ...
✓ Checking component [6ms]
Configuration changes
✓ Initializing component
• Creating component ...
✓ Creating component [80ms]
Pushing to component cw-odopythoncw05svt of type local
• Checking files for pushing ...
✓ Checking files for pushing [231ms]
• Waiting for component to start ...
✓ Waiting for component to start [1m]
• Syncing files to the component ...
E1023 18:37:01.732145 31613 occlient.go:2708] Command 'tar xf - -C /tmp/src --strip 1' in container failed.
E1023 18:37:01.732167 31613 occlient.go:2709] stdout:
E1023 18:37:01.732178 31613 occlient.go:2710] stderr: tar: /tmp/src: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
E1023 18:37:01.732184 31613 occlient.go:2711] err: error while streaming command: command terminated with exit code 2
✗ Syncing files to the component [185ms]
✗ command terminated with exit code 2
- Failed to build and deploy odo component: cw-odopythoncw05svt
Steps to reproduce:
Workaround:
Investigate this with this issue: https://github.com/eclipse/codewind/issues/710 together, both issues are from Jag's cluster only.