-
Notifications
You must be signed in to change notification settings - Fork 216
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
Gitjob is not logging webhook payload anymore #2345
Comments
@manno I tried to test the webhook payload visibility on gitjob pod and still it is not appearing in logs, the fix should be in already but not sure if anything else is needed. Tested on versions:
Also there is some logger error/stacktrace in the logs (last line
|
@thehejik can you please double check if this is still the case? I am currently on fleet
|
I still don't the payload in the logs, I used Tested on local rancher 2.9-head with |
Payload still now appearing in rancher:v2.9-head with @rubhanazeem can we unblock this please? |
Got it ... problem is that the standalone Without them the payload is not visible, when I use them the payload is appearing in gitjob logs.
When I add ...
spec:
containers:
- args:
- fleetcontroller
- gitjob
- --gitjob-image
- rancher/fleet:v0.10.0-rc.14
- --debug
... So it looks we need either:
This is how the messages looks like in 2024-05-30T14:02:32Z INFO Starting Controller {"controller": "gitrepo", "controllerGroup": "fleet.cattle.io", "controllerKind": "GitRepo"}
2024-05-30T14:02:32Z INFO Starting workers {"controller": "gitrepo", "controllerGroup": "fleet.cattle.io", "controllerKind": "GitRepo", "worker count": 1}
2024-05-30T14:03:32Z DEBUG webhook Webhook payload {"payload": {"ref":"refs/heads/main",... |
Is there an existing issue for this?
Current Behavior
In
rancher:v2.9-head-c9be13b
with preinstalledfleet:104.0.0+up0.10.0-rc.11
there are no logs entries for webhook payload anymore.I was testing with private azure https gitrepo with created secret.
The webhook payload messages are not appearing even when
--debug
is specified in gitjob deployment.Reproducer:
spec.pollingInterval: 24h
to disable polling intofleet-local
namespaceTest
button in azure webhook settings)kubectl logs -n cattle-fleet-system -lapp=gitjob -f
output. There wont be anything appearing but the resources will be updated by fleet.The text was updated successfully, but these errors were encountered: