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

Adjust logs? #203

Closed
pavolloffay opened this issue Feb 8, 2019 · 4 comments
Closed

Adjust logs? #203

pavolloffay opened this issue Feb 8, 2019 · 4 comments
Labels
openshift This item is related to OpenShift

Comments

@pavolloffay
Copy link
Member

The operator creates a lot of logs. it seems that every time it runs in a loop it logs this message. The message does not contain any useful information.

INFO[0784] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0785] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0785] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0786] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0787] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0787] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0788] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0788] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0789] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0789] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0790] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0791] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0791] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0792] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0793] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0793] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0794] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0794] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0795] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0795] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0796] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0797] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0797] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0798] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0799] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0799] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0800] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0800] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0801] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0802] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0802] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0803] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0803] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0804] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0805] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0805] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0806] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0806] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0807] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0807] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0808] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0809] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0809] Reconciling Jaeger                            name=simple-prod namespace=bar
INFO[0810] Reconciling Jaeger                            name=simple-prod namespace=bar

@jpkrohling
Copy link
Contributor

Logging in general needs some love.

@jpkrohling
Copy link
Contributor

Is this happening only in OpenShift?

@jpkrohling jpkrohling added the openshift This item is related to OpenShift label Feb 26, 2019
@pavolloffay
Copy link
Member Author

I am also seeing this logs after some time

INFO[0256] Configured Jaeger instance                    instance=simple-prod namespace=myproject
ERROR: logging before flag.Parse: W0227 14:58:01.398901     958 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: watch of *v1.ConfigMap ended with: too old resource version: 18671 (18841)
ERROR: logging before flag.Parse: W0227 15:03:00.670613     958 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: watch of *v1.Route ended with: The resourceVersion for the provided watch is too old.
ERROR: logging before flag.Parse: W0227 15:04:56.410146     958 reflector.go:270] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: watch of *v1.ConfigMap ended with: too old resource version: 19131 (21255)

@jpkrohling
Copy link
Contributor

The original reported issue is caused by #231. The last ones (watch of *v1.ConfigMap ended with: too old resource version: 18671 (18841)) is something I've seen before but doesn't seem to be something in our code, but rather, in the SDK itself.

@gbaufake was having similar issues on an operator he's working with. IIRC, it's about the reconciliation loop not finishing cleanly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openshift This item is related to OpenShift
Projects
None yet
Development

No branches or pull requests

2 participants