Failed to start a workspace when deployed Che with minishift addon installer
See original GitHub issueDescribe the bug
Can’t start a workspace in Minishift
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
- start Minishift
minishift start --profile minishift --cpus 4 --memory 10240 --docker-opt userland-proxy=false
- Deploy Che via chectl
chectl server:start -p minishift
- 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:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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