Skip to content
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

Workflows UI: Cannot read properties of undefined (reading 'template') #8102

Closed
vermaxik opened this issue Mar 8, 2022 · 9 comments
Closed

Comments

@vermaxik
Copy link

vermaxik commented Mar 8, 2022

Summary

I submitted DAG workflow with inline template. The workflow is successfully run, but when I click on any task task for details/logs I got the error Cannot read properties of undefined (reading 'template').

With DAG yaml and separate template approach like in multiroot example it works, but not with inline.

agro-workflow-issue

What happened/what you expected to happen?
I expect to see sidebar menu with logs when I click on a task.

Diagnostics

Paste the smallest workflow that reproduces the bug. We must be able to run the workflow.

---
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: workflow-3-
spec:
  entrypoint: root
  templates:
    - dag:
        tasks:
          - arguments:
              parameters:
                - name: message
                  value: Hello from B
            depends: A
            inline:
              container:
                command:
                  - echo
                  - '{{inputs.parameters.message}}'
                image: alpine:3.7
              inputs:
                parameters:
                  - name: message
            name: B
          - arguments:
              parameters:
                - name: message
                  value: Hello from A
            inline:
              container:
                command:
                  - echo
                  - '{{inputs.parameters.message}}'
                image: alpine:3.7
              inputs:
                parameters:
                  - name: message
            name: A
      name: root

I use the argo 3.2.9 and tried to downgrade to 3.2.6 got the same issue.

Thank you for your help 🙏


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

@alexec
Copy link
Contributor

alexec commented Mar 9, 2022

9324665

@alexec alexec added area/ui and removed triage labels Mar 10, 2022
@dpadhiar dpadhiar removed their assignment Mar 15, 2022
@dpadhiar
Copy link
Member

@JPZ13

@alexec
Copy link
Contributor

alexec commented Apr 7, 2022

Can you please try in v3.3?

@stale
Copy link

stale bot commented Apr 16, 2022

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.

@stale stale bot added the problem/stale This has not had a response in some time label Apr 16, 2022
@jmeridth
Copy link
Member

I've confirmed in our setup this is fixed in v3.3.2. Thank you.

@stale stale bot removed the problem/stale This has not had a response in some time label Apr 26, 2022
@alexec alexec closed this as completed Apr 26, 2022
@skhurana333
Copy link

Getting same error with version 3.4.12

➜ argoprc argo submit artifacts-multistep.yaml --watch
Name: artifact-passing-q2hwh
Namespace: argo
ServiceAccount: unset (will run with the default ServiceAccount)
Status: Pending
Created: Sat Oct 21 23:49:29 +0530 (now)
Progress:
FATA[2023-10-21T23:49:29.661Z] rpc error: code = NotFound desc = workflows.argoproj.io "artifact-passing-q2hwh" not found
➜ argoprc argo version
argo: v3.4.12
BuildDate: 2023-10-20T12:39:48Z
GitCommit: 38f5b26
GitTreeState: clean
GitTag: v3.4.12
GoVersion: go1.20.10
Compiler: gc
Platform: darwin/amd64

The UI also showing same error as original post

@tooptoop4
Copy link
Contributor

@skhurana333 screenshot?

@jiangshanw
Copy link

@tooptoop4
image

@tooptoop4
Copy link
Contributor

@jiangshanw you have blurred the line numbers/variable names!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants