-
Notifications
You must be signed in to change notification settings - Fork 401
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
OpenShift 3.11 Projects with Grafana Operator and related CRs get stuck in "Terminating" state??? #79
Comments
Contunuing with the troubleshooting, I see that Dashboards and DataSources objects both have finalizers, while Grafana does not...and I think the root cause...
|
Actually If I try to delete a dashboard of a data source, sth like this |
@jtudelag Yes, that is a common problem with finalizers: the operator gets deleted before it has a chance to service the finalizers on the other resources. Kubernetes won't delete resources until all finalizers are removed and this propagates upwards so that the namespace can't be deleted because of the stuck resources. One solution to this are ownerReferences that block the owner deletion. But we decided to get rid of finalizers alltogether. This work is currently ongoing in the development branch: https://github.com/integr8ly/grafana-operator/tree/development It will be included in the next release (mid next week) along with other improvements. |
@jtudelag Can you please give the new release (https://github.com/integr8ly/grafana-operator/releases/tag/v3.0.0) a try? It does no longer use finalizers and should solve your problem. It should soon also be available on Operatorhub. |
* Initial docsy hugo setup - Add contribution instructions for hugo. - Adapt docs to work with hugo - Setup docsy hugo page - Create CI/CD solution to deploy homepage * Update blogs to support hugo * Add helm installation path * Add crd api docs * Move documentation away from README in to hugo. * Add examples to hugo
* Initial docsy hugo setup - Add contribution instructions for hugo. - Adapt docs to work with hugo - Setup docsy hugo page - Create CI/CD solution to deploy homepage * Update blogs to support hugo * Add helm installation path * Add crd api docs * Move documentation away from README in to hugo. * Add examples to hugo
Hi,
First of all, thanks for this awesome operator, is very useful!!!
I'm seeing this behaviour consistently. I haven't gone into more details,
but when I have the Grafana Operator deployed on a project, along with Grafana, GrafanaDashboards and GrafanDataSources CRs, and I delete the Project, the project gets stuck in "Terminating" state.
I guess it has to be realated with the k8s finalizers and the order in which resources are deleted....
The text was updated successfully, but these errors were encountered: