nrdg / cloudknot

A python library to run your existing code on AWS Batch
https://nrdg.github.io/cloudknot/
Other
70 stars 17 forks source link

OCI runtime create failed #309

Open arokem opened 3 months ago

arokem commented 3 months ago

@zikaste reports that:

"... since I upgraded cloudknot I keep getting this error message when running my code on AWS: "CannotStartContainerError: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/home/cloudknot-user/dhcppyafqpipeline.py": permission denied: unknown". "

arokem commented 3 months ago

Also, the code worked on https://github.com/nrdg/cloudknot/pull/306, so it's a bit mysterious where this is coming from.

maouw commented 3 months ago

Looking around a little, I think it's from here, and it didn't show up in tests because the test scripts were marked executable:

https://github.com/nrdg/cloudknot/blame/7c8b442308f32a8c21d681ea53d317fe29524624/cloudknot/templates/Dockerfile.template#L29C53-L29C53

Will try to fix that and test ASAP.

arokem commented 3 months ago

Just to I understand - that's in the last line of the template, right? That makes sense.

maouw commented 3 months ago

Just to I understand - that's in the last line of the template, right? That makes sense.

Yes.