-
Notifications
You must be signed in to change notification settings - Fork 4
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
Che APB installation fails on minishift with default configuration #19
Comments
@ibuziuk can you please verify if you are able to deploy any APB? |
yeah, sure I will |
@l0rd |
@l0rd after some attempts I was finally able to start che via apb and start a workspace: Not sure though what did the trick. I will do installation setup from scratch again and update docs if needed. Funny thing that
|
@l0rd so far I was able to run the che via apb only after granting cluster-admin role to developer:
this does not sound like to be smth. expected, right ? |
not related to this issue but also send a PR with typo fix in README - #20 |
@ibuziuk granting If installing Che using the service catalog UI, the role of you user doesn't matter. It would be useful if you could provide the provisioning logs (if any) as requested in the comment above. |
@l0rd I was able to retrieve only ASB logs [1]. provisioning namespace / pod were not created |
@eivantsov what do you mean? Here the problem is that @ibuziuk is not able to successfully provision Che using Che APB. And he cannot get any log about why the APB is failing to start (except Regarding the admin privileges:
|
@l0rd I mean don't we want to have a limited number of users (admins only) to deploy Che? For me it works now only after I granted OpenShift user with cluster-admin privileges. So I had to:
Not one or the other, but both. So, different issues. Since the installation will require admin privileges anyway (for stacks and editing configmap - sandbox role to admin), I don't see any issues with requiring a user to be a cluster admin. Maybe not for upstream though. Currently, I do not see any relevant logs related to User doesn't have permissions. |
I agree. We have been discussing it on the corresponding issue #18
Upstream doesn't need to build and create imagestreams for stacks right? |
@l0rd yes, keep provisioning on failure and then manually create sa and rolebinding. Looks ok. But i am still puzzled with the original problem - why only an admin OpenShift user can provision Che? |
I don't know. And I cannot test it myself right now. Maybe ASB log have some hint? |
@l0rd I can only see what is obvious. 403 is the response to PUT call:
I have also found this https://trello.com/c/KO5c6Ixp/345-13-37-approach-to-user-impersonation-service-account-privileges-for-apbs-and-the-broker |
And it's not just Che APB that behaves like that but all of them? I think we miss some important info. |
Have created an issue in |
I talked to @ruromero and he seems to have an identical setup but can provision APB as a normal user. |
@eivantsov hmmm.. but for you it is still failing without cluster admin right ? |
Yes, still fails for normal users |
Steps to reproduce:
My Project
Provisioned Service for Che would have the following error:minishift version - v1.20.0+53c500a
[1] https://github.com/ansibleplaybookbundle/eclipse-che-apb#requirements
The text was updated successfully, but these errors were encountered: