kolla-ansible/kolla_ansible
Mark Goddard 35966c9186 Fix service_mapped_to_host filter
The service_mapped_to_host filter is used to check if a service is
mapped to a host, based on the group for the service or its
host_in_groups attribute if one exists. We check if the service's group
is in the 'groups' list. However, to get the list of groups to which a
host belongs, we should use the 'group_names' list.

This filter is currently only used in neutron IPv6 module loading, so
the effects are minimal.

Change-Id: I37409ca8d273b0426df0a648db222dc5432e738a
Closes-Bug: #1868285
2020-03-20 17:03:14 +00:00
..
cmd Merge "Remove kolla-ceph" 2020-02-13 10:09:24 +00:00
tests Fix service_mapped_to_host filter 2020-03-20 17:03:14 +00:00
__init__.py Rename kolla namespace to kolla_ansible 2017-02-15 16:34:51 +08:00
exception.py Add custom filters for checking services 2019-09-16 12:48:52 +00:00
filters.py Fix service_mapped_to_host filter 2020-03-20 17:03:14 +00:00
kolla_address.py Implement IPv6 support in the control plane 2019-10-16 10:24:35 +02:00
nova_filters.py Add unit tests for Nova Cells filters 2019-10-18 13:13:32 +00:00
put_address_in_context.py Implement IPv6 support in the control plane 2019-10-16 10:24:35 +02:00
version.py Rename kolla namespace to kolla_ansible 2017-02-15 16:34:51 +08:00