Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse Che Java Workspace is not available #127

Open
mikeintoch opened this issue Jul 2, 2019 · 4 comments
Open

Eclipse Che Java Workspace is not available #127

mikeintoch opened this issue Jul 2, 2019 · 4 comments

Comments

@mikeintoch
Copy link

Java Workspace on Eclipse Che is not available

@ChrystianDuarte
Copy link

hi @mikeintoch , I have the same issue. :( Can you resolve? in my case the java workspace never start.

@mikeintoch
Copy link
Author

@andresmmujica
Copy link

andresmmujica commented Jan 25, 2020

I've found this piece in the logs

`+ oc process -f https://raw.githubusercontent.com/minishift/minishift/master/addons/che/templates/che-workspace-service-account.yaml --param SERVICE_ACCOUNT_NAMESPACE=cicd-aro --param=SERVICE_ACCOUNT_NAME=che-workspace

  | + oc create -f -
  | serviceaccount "che-workspace" created
  | role.authorization.openshift.io "exec" created
  | role.authorization.openshift.io "workspace-view" created
  | rolebinding.authorization.openshift.io "che-workspace-exec" created
  | rolebinding.authorization.openshift.io "che-workspace-view" created
  | + oc process -f https://raw.githubusercontent.com/minishift/minishift/master/addons/che/templates/che-server-template.yaml --param ROUTING_SUFFIX=apps.ff9d9c18031e4eafa5b1.eastus2.azmosa.io --param CHE_MULTIUSER=false --param CHE_VERSION=6.19.0 --param CHE_INFRA_OPENSHIFT_PROJECT=cicd-aro --param CHE_INFRA_KUBERNETES_SERVICE__ACCOUNT__NAME=che-workspace
  | + oc create -f -
  | error: unknown parameter name "CHE_INFRA_OPENSHIFT_PROJECT"
  | error: no objects passed to create
  | + oc set resources dc/che --limits=cpu=1,memory=2Gi --requests=cpu=200m,memory=512Mi
  | Error from server (NotFound): deploymentconfigs.apps.openshift.io "che" not found`

the --param CHE_INFRA_OPENSHIFT_PROJECT=cicd-aro is failing, but I'm not sure how to proceed to solve it.

@andresmmujica
Copy link

I was able to solve it changing --param CHE_INFRA_OPENSHIFT_PROJECT=$CICD_NAMESPACE \

with this.

            --param CHE_INFRA_KUBERNETES_NAMESPACE_DEFAULT=$CICD_NAMESPACE \

https://github.com/nichochen/openshift-cd-demo/pull/2/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants