-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
UI hangs when attempting to view Sensor logs if pod has more than one container #9459
Closed
3 tasks done
Comments
jsvk
added a commit
to jsvk/argo-workflows
that referenced
this issue
Aug 29, 2022
jsvk
added a commit
to jsvk/argo-workflows
that referenced
this issue
Aug 29, 2022
…roj#9459 Signed-off-by: jsvk <850037+jsvk@users.noreply.github.com>
jsvk
added a commit
to jsvk/argo-workflows
that referenced
this issue
Aug 29, 2022
…rgoproj#9459 Signed-off-by: jsvk <850037+jsvk@users.noreply.github.com>
alexec
pushed a commit
that referenced
this issue
Sep 5, 2022
juchaosong
pushed a commit
to juchaosong/argo-workflows
that referenced
this issue
Nov 3, 2022
…rgoproj#9438) Signed-off-by: jsvk <850037+jsvk@users.noreply.github.com> Signed-off-by: juchao <juchao@coscene.io>
Closed
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
Summary
What happened/what you expected to happen?
We're using a Kubernetes mutating webhook to inject a fluent-bit container into certain running pods for the purposes of collecting logs and sending them to Splunk. When attempting to view Sensor logs in the UI, the Argo Workflows API hangs and eventually returns a 504 - Gateway Timeout.
This seems to happen because the API encounters this message when attempting to query container logs:
The API does support parsing
podLogOptions.container
, and so by appendingpodLogOptions.container=main
to the API call, I confirmed the call returns instantly with the logs we expect, so this is a matter of updating this at the UI level.The container name of
main
can be seen here: https://github.com/argoproj/argo-events/blob/56196143ecbf8b451d5ecb02a0ca13835e20954c/controllers/sensor/resource.go#L267A potential fix to this is here: #9438
What version are you running?
Argo Workflows v3.3.8
Diagnostics
Paste the smallest workflow that reproduces the bug. We must be able to run the workflow.
This happens with any workflow so long as the Sensor pod has more than 1 container.
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: