commit 8f566781051ee7b227e018d51296f24589384786
Author: Mark Goddard <email address hidden>
Date: Fri Mar 20 17:03:14 2020 +0000
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
(cherry picked from commit 35966c9186d868948a037bae7c58ac6e6279a4f0)
Reviewed: https:/ /review. opendev. org/714250 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=8f566781051 ee7b227e018d512 96f24589384786
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 8f566781051ee7b 227e018d51296f2 4589384786
Author: Mark Goddard <email address hidden>
Date: Fri Mar 20 17:03:14 2020 +0000
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: I37409ca8d273b0 426df0a648db222 dc5432e738a 48a037bae7c58ac 6e6279a4f0)
Closes-Bug: #1868285
(cherry picked from commit 35966c9186d8689