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_network: fix multiple subnet (of same IP version) idempotence #65839
docker_network: fix multiple subnet (of same IP version) idempotence #65839
Conversation
… has been removed.
ready_for_review |
… valid value for aux_addresses.
@WojciechowskiPiotr could you also take a look at this one, and #65854? Thanks :) |
Are you sure the new integration tests are correct and executed on Shippable? I think some looks skipped due to conditional reasons. Like test number 112. But it may be just a case of Fedora tests not working correctly. |
They are executed, but only in the VMs, i.e. rhel/7.6 and rhel/8.1 (https://app.shippable.com/github/ansible/ansible/runs/153788/104/console, https://app.shippable.com/github/ansible/ansible/runs/153788/105/console). |
ok :) |
shipit |
bot_status |
Componentschangelogs/fragments/65839-docker_network-idempotence.yml lib/ansible/modules/cloud/docker/docker_network.py test/integration/targets/docker_network/tasks/tests/ipam.yml test/units/modules/cloud/docker/test_docker_network.py Metadatawaiting_on: maintainer |
@WojciechowskiPiotr thanks a lot for reviewing this! |
…nsible#65839) * Fix multiple subnet (of same IP version) idempotence for docker_network. * Add changelog. * Unit tests no longer make sense, since the part of the code they test has been removed. * Re-add CIDR validation. Move it to better position (module setup instead of idempotence check). * Update changelog. * Only run new tests on VM test images. * Actually do what is documented. Especially since an empty object is a valid value for aux_addresses. (cherry picked from commit 17ef253)
…nsible#65839) * Fix multiple subnet (of same IP version) idempotence for docker_network. * Add changelog. * Unit tests no longer make sense, since the part of the code they test has been removed. * Re-add CIDR validation. Move it to better position (module setup instead of idempotence check). * Update changelog. * Only run new tests on VM test images. * Actually do what is documented. Especially since an empty object is a valid value for aux_addresses. (cherry picked from commit 17ef253)
…nsible#65839) * Fix multiple subnet (of same IP version) idempotence for docker_network. * Add changelog. * Unit tests no longer make sense, since the part of the code they test has been removed. * Re-add CIDR validation. Move it to better position (module setup instead of idempotence check). * Update changelog. * Only run new tests on VM test images. * Actually do what is documented. Especially since an empty object is a valid value for aux_addresses.
…65839) * Fix multiple subnet (of same IP version) idempotence for docker_network. * Add changelog. * Unit tests no longer make sense, since the part of the code they test has been removed. * Re-add CIDR validation. Move it to better position (module setup instead of idempotence check). * Update changelog. * Only run new tests on VM test images. * Actually do what is documented. Especially since an empty object is a valid value for aux_addresses. (cherry picked from commit 17ef253)
…65839) * Fix multiple subnet (of same IP version) idempotence for docker_network. * Add changelog. * Unit tests no longer make sense, since the part of the code they test has been removed. * Re-add CIDR validation. Move it to better position (module setup instead of idempotence check). * Update changelog. * Only run new tests on VM test images. * Actually do what is documented. Especially since an empty object is a valid value for aux_addresses. (cherry picked from commit 17ef253)
SUMMARY
Fixes #65815.
ISSUE TYPE
COMPONENT NAME
docker_network