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
os_router: Fixes subnet and network scope through filters #62799
Conversation
…terfaces * When checking for external_fixed_ips, the search for the subnet was scoped with the project for an external (shared) subnet. * For interfaces defined for the router, the search for the network wasn't scoped to the project, which leads to "Multiple matches found for network" error if their were multiple network with the same name.
The test
The test
The test
The test
The test
The test
The test
The test
The test
The test
|
Build failed (third-party-check pipeline) integration testing with
|
Thanks for submitting patch for Openstack Ansible modules! |
@racciari Thanks for the contribution. Closing as per above. |
SUMMARY
When checking for external_fixed_ips, the search for the subnet was scoped with
the project for an external (shared) subnet. This only works for the project who one the external network.
For each interface defined for the router, the search for the network wasn't scoped
to the project, which leads to "Multiple matches found for network" error if their
were multiple network with the same name.
ISSUE TYPE
COMPONENT NAME
os_router
ADDITIONAL INFORMATION
ansible 2.8.5 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/racciari/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /home/racciari/venv/ansible-test/lib/python2.7/site-packages/ansible executable location = /home/racciari/venv/ansible-test/bin/ansible python version = 2.7.5 (default, Oct 30 2018, 23:45:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]
1- Create 2 projects
2- Create a network in each project using the same name
3 - Create a router with the network name