hashicorp / nomad-driver-podman

A nomad task driver plugin for sandboxing workloads in podman containers
https://developer.hashicorp.com/nomad/plugins/drivers/podman
Mozilla Public License 2.0
226 stars 62 forks source link

Jobs using larger images can't start #219

Closed inflatador closed 1 year ago

inflatador commented 1 year ago
nomad: v1.5.0
nomad-driver-podman: 0.4.1

As of the last week or so, I haven't been able to start jobs with larger images.

For example, this job always fails when set to a larger image (such as debian) but succeeds with a smaller image (such as docker.io/nginx). My hunch is that it's related to this nomad bug .

Thanks for looking and please let me know if you need more info.

lgfa29 commented 1 year ago

Hi @inflatador 👋

Would you mind expanding on what problems you are seeing? Any log messages, task events, or screenshots would be helpful.

inflatador commented 1 year ago

@lgfa29 Upon further review, I can't seem to reproduce this. I'll close this out for now. Apologies for wasting your time and thank you for your offer to help!

courtland commented 1 year ago

FWIW, my hunch is it's related to this issue: https://github.com/hashicorp/nomad-driver-podman/issues/207

I had a similar experience where larger image pulls would timeout and fail the job, particularly in a dev situation where the available Internet bandwidth is a lot less than in a cloud provider. There would be an image pull error in the logs in this case.