Default python script failing to run on 1.344.3
Everything described relates to freshly installed Windmill 1.344.3 in Kubernetes environment. Steps to reproduce
1. Open interface.
2. Click "+ Script"
3. In popover click Python
4. Click on a script window
5. Click on "Test >" button
6. Observe log with an error.
Expected script sucessfully executed, since it is provided and expected to be tested.
5 Replies
Hi @mou , I would suspect you have setup a specific volume for the cache or similar
but I can confirm to you 1.344.3 work well on all our dedicated EE instances which are all on kubernetes using our official helm charts
Thank you, @rubenf for quick reply. Most likely. I just followed helm chart setup. Should I add an
emptyDir
volume for cache and mount it in expected location?If you used the stock helm chart without modification, then it must be your kube flavor which doesn't grant write permission by default or similar
you can try with minikube for instance, it will work fine
we are ourselves on EKS
Indeed. Looks like container is intended to be run as root. But i found my values has a non-root security context
DId not know why i set up it this way or from where i copy pasted this security context
@rubenf removing
securityContext
solved my issue. Sorry for bothering.no worries, we're here for that