Skip to content

Commit 76e5006

Browse files
committed
Fix POD to POD networking with ML2/OVN
In ML2/OVN POD to POD networking does not work due to different result of using network CIDRs in allowed_address_pairs. The situation is explained in the bug and mailing list thread [1]. [1]: http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019442.html Related-Bug: #https://bugs.launchpad.net/neutron/+bug/1908382 Closes-Bug: #1908382 Change-Id: I659285048c4acb01eaa9d0e5e78e87269ab197b0
1 parent a5bb90a commit 76e5006

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

magnum/drivers/k8s_fedora_coreos_v1/templates/kubecluster.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,6 +1127,25 @@ resources:
11271127
port_range_max: 65535
11281128
security_group: {get_resource: secgroup_kube_minion}
11291129
remote_group: {get_resource: secgroup_kube_minion}
1130+
# allow traffic between PODs for ML2/OVN
1131+
secgroup_rule_tcp_kube_minion_pods_cidr:
1132+
condition: create_cluster_resources
1133+
type: OS::Neutron::SecurityGroupRule
1134+
properties:
1135+
protocol: tcp
1136+
port_range_min: 1
1137+
port_range_max: 65535
1138+
remote_ip_prefix: {get_param: pods_network_cidr}
1139+
security_group: {get_resource: secgroup_kube_minion}
1140+
secgroup_rule_udp_kube_minion_pods_cidr:
1141+
condition: create_cluster_resources
1142+
type: OS::Neutron::SecurityGroupRule
1143+
properties:
1144+
protocol: udp
1145+
port_range_min: 1
1146+
port_range_max: 65535
1147+
remote_ip_prefix: {get_param: pods_network_cidr}
1148+
security_group: {get_resource: secgroup_kube_minion}
11301149

11311150
######################################################################
11321151
#

0 commit comments

Comments
 (0)