Open MaheshChandrra opened 1 year ago
@MaheshChandrra Can you provide the workflow controller
logs and pod logs
?
I am experiencing the same thing, were you able to find a solution ? @MaheshChandrra is this even supported ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
Experiencing this, would be good to have this supported
you
Hi Amit
There is a workaround, instead of script use:
command : ["python","-c"]
args : |
import pandas
.
exit()
and write source code under the tag. It should work.
Thanks Mahesh
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is a mentoring request, please provide an update here. Thank you for your contributions.
I'm experiencing this as well.
is this even supported ?
No this shouldn't be supported or possible; I'm actually surprised it attempts to execute this.
script
and container
are mutually exclusive as they are two different template types. All children of a containerSet
are container
s.
The workaround above to rewrite with command
and args
is the correct way to handle this. script
is more or less short-hand for that as well.
Version
= 3.1.0
I would hope this would fail validation in a newer version, but if it doesn't, we should fix that.
Pre-requisites
:latest
What happened/what you expected to happen?
Hi Team
I would like to execute a python script using script tag inside a container of container set template. But when I do it, while running, the values of image, args and command are read as empty strings as all the values are defined in script tag.
Can you please let me know how to use script tag along with containers in container set template.
Below is the error:
Thanks Mahesh
Version
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