Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

.NET workspace will not start #412

Closed
1 of 5 tasks
rhopp opened this issue Nov 7, 2017 · 8 comments
Closed
1 of 5 tasks

.NET workspace will not start #412

rhopp opened this issue Nov 7, 2017 · 8 comments

Comments

@rhopp
Copy link
Collaborator

rhopp commented Nov 7, 2017

Issue problem:
.NET workspace will not start.
Log:

017-11-07 09:07:05,608[aceSharedPool-3]  [ERROR] [.a.a.s.l.AbstractAgentLauncher 158]  - An error occurs while starting 'Exec' agent in 'workspacetfui8kwly8tut818' workspace in 'machinercectb0htzx0255m' machine on 'localhost' node. Detailed log:
--
  | [STDOUT] Exec Agent binary is downloaded remotely
  | [STDERR] chown: changing ownership of ‘/projects’: Operation not permitted
  | [STDERR]
  | [STDERR] gzip: stdin: unexpected end of file
  | [STDERR] tar: Child returned status 1
  | [STDERR] tar: Error is not recoverable: exiting now
  | [STDERR] /bin/sh: line 226: /home/user/che/exec-agent/che-exec-agent: No such file or directory

Red Hat Che version:
Che : 2.0.46
version: (help/about menu)

  • I can reproduce it on latest official image

Reproduction Steps:

Start .NET stack workspace from Che dashboard.

Runtime:

runtime used:

  • minishift (include output of minishift version)
  • OpenShift.io
  • Openshift Container Platform (include output of oc version)
  • k8s (include output of kubectl version)
@ghost
Copy link

ghost commented Nov 17, 2017

@rhopp are you talking about eclipse/dotnet_core image?

@rhopp
Copy link
Collaborator Author

rhopp commented Nov 20, 2017

@ghost
Copy link

ghost commented Nov 20, 2017

Is this still an issue?

@rhopp
Copy link
Collaborator Author

rhopp commented Nov 20, 2017

Yep. Tried it today on prod OSIO and the workspace failed to start with exactly the same error.

@ghost
Copy link

ghost commented Nov 20, 2017

You need to make sure that this image does something like this: https://github.com/redhat-developer/che-dockerfiles/blob/master/recipes/ubuntu_jdk8/Dockerfile#L38

It should have been done here though https://github.com/eclipse/che-dockerfiles/blob/master/recipes/stack-base/centos/Dockerfile

I'd make sure that the base image is built from the right recipe.

@l0rd
Copy link
Contributor

l0rd commented Jan 22, 2018

@eivantsov does eclipse-che/che-dockerfiles#159 fix this?

@ghost
Copy link

ghost commented Jan 22, 2018

Not really, but since the base image has been rebuilt some time ago, a new build of dotnet image should be ok. At least I can confirm now that an arbitrary user can create dirs in home directory and /projects

@rhopp
Copy link
Collaborator Author

rhopp commented Jan 22, 2018

Closing as duplicate of #513

@rhopp rhopp closed this as completed Jan 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants