-
Notifications
You must be signed in to change notification settings - Fork 392
Handle image not found #469
Comments
Here's the actual error reported by the user:
|
It turns out, after reviewing this with @j00bar, that the intention is for AC to not pull images. So I think the work here is:
|
@chouseknecht What about for the base image of the conductor? Will Ansible Container automatically pull that, or is it the user's responsibility to pull the image first? |
UPD: Ok, for those interested, it most likely issue in ansible-container logic, but workaround is to docker pull service base image BEFORE ansible-container build command. But would be cool to validate image existance in advance, and provide better user guidance. ============================================ I also experience the same issue. Demo case: I build alpine php-enabled user:
builds and works like a charm, but when I try
I get the error:
Any ideas how to deal right ? |
I'm also affected by this. |
I had just received this error as well. Indeed @Voronenko if we pull the images before we run the build command then it gets past this error. |
Thanks for your feedback on this issue. I'm curious what version of Ansible Container you're running. I thought we addressed this issue in PR #645 To get that update you would need to be running from source. |
@chouseknetch , if you believe it is fixed, make sure you closed issue here as well, once you release pypi version. |
Agreed. Was hoping to get you or another commenter on this issue to test and confirm that we're pulling images as expected. We probably also need to update docs. |
ISSUE TYPE
container.yml
SUMMARY
See the discussion at https://groups.google.com/forum/#!topic/ansible-container/ItpBPMVFKQY
When the
from
image for a service does not match the conductor base image, it fails topull
thefrom
image.Specifically, right after line 624 of container/core.py, we fail to handle the possibility that the image may be None.
The text was updated successfully, but these errors were encountered: