-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker_image: 'NoneType' object is not iterable #94
Comments
If you upgrade to Ansible 2.10.6, you will find that this has been fixed (#73, ansible-collections/community.general#1678). Alternatively, you can upgrade your ancient version of Docker SDK for Python to a newer one, that will also fix the issue :) |
thanks for the hint, it worked! However I received the following expected message:
then I decided to move to the python36-docker.noarch package (I'm trying on CentOS) and I noticed that the task does not report it as Changed when it does its job..do I need to report it somewhere? |
@asarubbo it should only report |
It' doesn't here.. |
Are you sure that the image (not the image's tag!) wasn't there before? This behavior is covered by a test in CI, so I'm pretty sure it works. |
It was there before, but before run the playbook I'm removing the image with docker image rm $IMAGE |
If the image has multiple tags, |
@asarubbo is this issue resolved from your point of view? |
yes, thank you =) |
SUMMARY
After the update from 2.10.4 to 2.10.5 we got 'NoneType' object is not iterable from docker_image module with an historical playbook that didn't got changes since years.
ISSUE TYPE
COMPONENT NAME
docker_image
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Gentoo x86_64
STEPS TO REPRODUCE
EXPECTED RESULTS
Do not get errors
ACTUAL RESULTS
In any case, the strangeness is that the image is load as per what "docker images" reports.
The text was updated successfully, but these errors were encountered: