question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to start a workspace when deployed Che with minishift addon installer

See original GitHub issue

Describe the bug

Can’t start a workspace in Minishift screenshot-che-che 192 168 99 118 nip io-2019 12

2019-12-02 14:08:08,958[nio-8080-exec-7]  [ERROR] [o.e.c.w.i.o.p.OpenShiftProject 178]  - Unable to create new OpenShift project due to lack of permissions.HINT: When using workspace project name placeholders, os-oauth or service account with more lenient permissions (cluster-admin) must be used.
--
  | 2019-12-02 14:08:08,961[nio-8080-exec-7]  [ERROR] [o.e.c.a.w.s.WorkspaceRuntimes 481]   - Failure executing: POST at: https://172.30.0.1/apis/project.openshift.io/v1/projectrequests . Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. projectrequests.project.openshift.io is forbidden: User "system:serviceaccount:che:che" cannot create projectrequests.project.openshift.io at the cluster scope: no RBAC policy matched. The error may be caused by an expired token or changed password. Update Che server deployment with a new token or password.
  | org.eclipse.che.workspace.infrastructure.kubernetes.KubernetesInfrastructureException: Failure executing: POST at: https://172.30.0.1/apis/project.openshift.io/v1/projectrequests . Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. projectrequests.project.openshift.io is forbidden: User "system:serviceaccount:che:che" cannot create projectrequests.project.openshift.io at the cluster scope: no RBAC policy matched. The error may be caused by an expired token or changed password. Update Che server deployment with a new token or password.
  | at org.eclipse.che.workspace.infrastructure.openshift.project.OpenShiftProject.create(OpenShiftProject.java:182)
  | at org.eclipse.che.workspace.infrastructure.openshift.project.OpenShiftProject.prepare(OpenShiftProject.java:112)

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. start Minishift minishift start --profile minishift --cpus 4 --memory 10240 --docker-opt userland-proxy=false
  2. Deploy Che via chectl chectl server:start -p minishift
  3. Try to create and start a workspace

Expected behavior

Runtime

  • minishift (v1.34.1+c2ff9cb)

Installation method

  • chectl (chectl/0.0.20191028-next.e762c88 linux-x64 node-v10.17.0)

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
sleshchenkocommented, Dec 12, 2019

It should be fixed by https://github.com/eclipse/che/issues/15380 but I did not test it yet. So, I believe that this issue can be closed when the PR is merged and newer chectl is tested.

0reactions
svorcommented, Dec 3, 2019

I used to use single user, with --installer=operator I have multiuser - but it isn’t a problem for me. So, workaround works for me. Thanks @skabashnyuk

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to bring up Eclipse che on Kubernetes - Stack Overflow
I got Kubernetes installed on Ubuntu and am trying to run chectl server:start but it is failing. What am doing wrong? Below is...
Read more >
Red Hat Container Development Kit 3.10 Release Notes and Known ...
official Joyent Node.js open source or commercial project. ... CHE ADD-ON FAILS TO CREATE WORKSPACES ON LINUX WITH KVM. CHAPTER 8. ISSUES ON...
Read more >
Installing Minishift - Getting Started - OKD Documentation
Manually · On the Windows operating system, due to issue #236, you need to execute the Minishift binary from your local C:\ drive....
Read more >
Configuring Minishift for use with Eclipse Che and Red Hat ...
Once minishift starts successfully, you're ready to deploy Che or CRW to the server. If minishift fails to come up, try killing and...
Read more >
Up and Running with Red Hat CodeReady Workspace IDE
Install and start the CDK: ... For some reason, I failed to deployed the CodeReady Workspace IDE using ... [4] https://www.okd.io/minishift/
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found