-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[frontend] ui can't retrieve pod logs when using argo-workflows 3.4+ (POD_NAMES
change)
#8935
Comments
Might be a duplicate of #8449 |
/assign @jlyaoyuli, FYI |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still a problem, bumping for bot. |
FWIW, I recently had to make a small change to this in Argo's own UI (see argoproj/argo-workflows#11766), and the code for pod names is limited to this single file. You can also set |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bumping for bot. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@zijianjoy @connor-mccarthy @chensun this is still very important, as while we can tell users to force the old pod naming with the There is a similar issue about how we can't retrieve task results in Argo Workflows 3.4+ |
@thesuperzapper this is resolved in #10568 via a workaround where we generate the name ourselves, and in future argo releases once this is merged, we can switch to retrieving it from here once again instead |
Currently, if you upgrade to argo-workflows 3.4+, the log-retrieval function of the
ml-pipeline-ui
will not work, and the following error will be thrown:Could not get main container logs: Error: Unable to retrieve workflow status: [object Object]
This is because argo-workflows 3.4 changed the default value of their
POD_NAMES
feature flag tov2
, which has changed the way pods in workflows get named.This means that the frontend will not know the correct name of the pod when it tries to retrieve logs because of our
workflowNameFromPodName()
function.pipelines/frontend/server/workflow-helper.ts
Lines 228 to 236 in 2c4b128
Some docs about
POD_NAMES
environment variable meaning:Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: