You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When troubleshooting an issue with haproxy logging, I discovered that haproxy process was restarting every five minutes.
It appears that the controller whas restarting haproxy with the following message : INFO instance/configuration.go:17 [transactionID=xxxxxxxxx] restart required : Global config updated:
variable updated is not used, so always empty => info message is incomplete.
there is definitely an issue because global config is not updated every five minutes on my cluster :)
The code was modified by commit c01d3b3 "MAJOR: crd: add v1 crd and deprecate alpha2" that to me, removed the output that would help here diagnose what the issue is by using a new variable "diff" instead of "updated".
HOW TO REPRODUCE
I get this issue on two different ingressController installed, both having a custom "cr-global" entry.
I was not able to reproduce the issue.
I notice that you use apiVersion: core.haproxy.org/v1alpha2 that is now deprecated.
Could you please try to use apiVersion: ingress.v1.haproxy.org/v1 for your CR and let us know if this is still happening ?
Thanks
I've updated apiVersion and it seeems controller does not restart anymore \o/
info message is still incomplete though, please review PR #653 :
INFO instance/configuration.go:17 [transactionID=8dcb2eb8-6b80-4983-bff7-2c041067b8dc] restart required : Global config updated:
INFO instance/configuration.go:17 [transactionID=8dcb2eb8-6b80-4983-bff7-2c041067b8dc] restart required : Global log targets updated:
When troubleshooting an issue with haproxy logging, I discovered that haproxy process was restarting every five minutes.
It appears that the controller whas restarting haproxy with the following message :
INFO instance/configuration.go:17 [transactionID=xxxxxxxxx] restart required : Global config updated:
The afferent code is here : https://github.com/haproxytech/kubernetes-ingress/blob/master/pkg/controller/global.go#L94
Two issues here :
The code was modified by commit c01d3b3 "MAJOR: crd: add v1 crd and deprecate alpha2" that to me, removed the output that would help here diagnose what the issue is by using a new variable "diff" instead of "updated".
HOW TO REPRODUCE
I get this issue on two different ingressController installed, both having a custom "cr-global" entry.
The cr looks like this :
I'll make a pull request in a few minutes to at least fix the message, that will help troubleshoot this issue.
The text was updated successfully, but these errors were encountered: