-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
bug: cannot get artifact log with state "pod termination" (502 Bad Gateway) #2824
Comments
We should never see panics. This will cause the container to restart. I’ll investigate. |
Can you please share your artifact configuration? |
I don't have a problem with other workflows. I have more than 1000 finished workflows or I had no problem.
apiVersion: v1
data:
config: |
instanceID: argo-ID
containerRuntimeExecutor: docker
artifactRepository:
archiveLogs: true
s3:
accessKeySecret:
key: accesskey
name: argo-s3
secretKeySecret:
key: secretkey
name: argo-s3
bucket: argo-s3-example
endpoint: s3.amazonaws.com
insecure: false
... |
The reason you get a 502 is the controller panics due to a nil deref. This crashes it and is a bug. But it is coincident - it is not why you do not have any logs - but it will hide the reason. So we need to fix it. Are you able to use |
Unfortunately I don't have the crash pod logs.... I feel like it's been deleted. |
Checklist:
What happened:
In argo UI I want to see an artifact (from the log download link) but I have a 502 (502 Bad Gateway) error.
workflow > logs > Still waiting for data or an error? Try getting logs from the artifacts.
What you expected to happen:
I'm expecting to get my workflow logs.
How to reproduce it (as minimally and precisely as possible):
I don't know
Anything else we need to know?:
After the bug, I looked at the server logs.
I wanted to see my pod logs with the status "pod termination".
Environment:
Message from the maintainers:
If you are impacted by this bug please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: