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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example "user_container.py" doesn't work #973

Open
3 of 6 tasks
abschm opened this issue Feb 21, 2024 · 0 comments
Open
3 of 6 tasks

Example "user_container.py" doesn't work #973

abschm opened this issue Feb 21, 2024 · 0 comments

Comments

@abschm
Copy link
Contributor

abschm commented Feb 21, 2024

Pre-bug-report checklist

1. This bug can be reproduced using pure Argo YAML

If yes, it is more likely to be an Argo bug unrelated to Hera. Please double check before submitting an issue to Hera.

2. This bug occurs in Hera when...

  • exporting to YAML
  • submitting to Argo
  • running on Argo with the Hera runner
  • other:

Bug report

Describe the bug
A clear and concise description of what the bug is:
The example "user_container.py" and the corresponding "user-container.yaml" fails in Argo with error "task 'sidecar-volume-mount-8dbjt.foo' errored: volume 'something' not found in workflow spec".
Manually using w.to_file() on the code in "user_container.py" and then submitting that also fails with the same message.

To Reproduce
Full Hera code to reproduce the bug:
https://github.com/argoproj-labs/hera/blob/main/examples/workflows/user_container.py
https://github.com/argoproj-labs/hera/blob/main/examples/workflows/user-container.yaml

Expected behavior
A clear and concise description of what you expected to happen:
The example code should not fail.

Environment

  • Hera Version: 5.14.0
  • Python Version: 3.10.12
  • Argo Version: 3.4.16

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant