-
Notifications
You must be signed in to change notification settings - Fork 724
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
ES status health reported by the operator not updated due to a reconciliation error #5330
Comments
The right thing to do seems to be to update the status even when there are errors in the reconcile loop. And that's what we already do. The problem here is that we depend on the bad secret to get the cluster health. We fail to reconcile the certificates required to create the ES observer required to get the cluster health required to update the status. Precisely here, we don't really need the certificates for the transport layer to get cluster health but the certificates for HTTP and transport are reconciled together. cloud-on-k8s/pkg/controller/elasticsearch/driver/driver.go Lines 143 to 189 in 4650e61
I see few things to improve that:
|
Is this bug still present given that we have made significant changes to how the status is calculated? |
Indeed, this bug is fixed by #5349. |
The ES health reported by the operator in the ES resource status may never be updated if the operator encounters an error during the reconciliation loop.
Steps to reproduce
Uncomment
transport.tls.certificate.secretName
and reapply.The text was updated successfully, but these errors were encountered: