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

Provide decent error message when the operator is missing cluster permissions #15345

Closed
davidfestal opened this issue Nov 27, 2019 · 3 comments
Closed
Assignees
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@davidfestal
Copy link
Contributor

davidfestal commented Nov 27, 2019

Is your enhancement related to a problem? Please describe.

The problem is that, in some tricky use-cases, a deployed Che operator might miss the cluster role bindings that are required for Openshift OAuth integration to work correctly.

In such a case, the operator simply does nothng and doesn't react correctly to custom resources, but without issuing any error message either in the logs or on the CheCluster custom resource.

Describe the solution you'd like

Such abnormal situations hsould be detected by the operator when reconciling a custom resource, and an appropriate error message + possible link to troubleshooting docs should be added in the custom resource status.

Additional context

https://issues.jboss.org/browse/CRW-505?focusedCommentId=13816159&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13816159

@davidfestal davidfestal added the kind/enhancement A feature request - must adhere to the feature request template. label Nov 27, 2019
@ibuziuk ibuziuk added this to the 7.6.0 milestone Nov 27, 2019
@davidfestal davidfestal added the area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator label Nov 27, 2019
@tolusha
Copy link
Contributor

tolusha commented Dec 12, 2019

@davidfestal
Is it in progress?

@davidfestal
Copy link
Contributor Author

@davidfestal
Is it in progress?

No, we did not have time to start working on it until now.

@AndrienkoAleksandr
Copy link
Contributor

AndrienkoAleksandr commented Mar 25, 2020

Merged eclipse-che/che-operator#208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator kind/enhancement A feature request - must adhere to the feature request template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants