-
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
UI: Containerset nodes receive the wrong podname #13038
Comments
Hmm this seems like a duplicate of #10157; @isubasinghe I thought you tested that this was working? |
@agilgur5 I did test if the live logs were showing, this sounds like a different issue. |
The issue here is that the initial pod name is being incorrectly calculated, which gives the user empty logs when pressing the 'logs' button. If the user then manually selects the pod for their container they do indeed see the logs. |
Right that makes sense, thanks. I think I was selecting the containers individually when I tested #10157 so never noticed this issue. Thanks, will have a look into your PR. |
To be clear; logs are not currently shown when selecting containers individually. You can show them by manually selecting the pod for the selected container in the WorkflowLogsViewer. |
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened/what did you expect to happen?
When trying to get the logs for a (any) containerset container in the UI, the user is faced with a blank page.
This is due to the podname being incorrectly calculated for these nodes, which makes the request to the backend return an empty response.
Expected behavior would be to be able to view the logs in similar fashion as for pod nodes.
Version
latest
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container
The text was updated successfully, but these errors were encountered: