From 97e6189098f90c09cf76adab25a3c2ef817d38b8 Mon Sep 17 00:00:00 2001 From: adrianreza Date: Sat, 7 Dec 2024 02:25:55 +0700 Subject: [PATCH 1/2] replace value of dnsmasq_dns_servers to 1.1.1.1 --- roles/neutron/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/neutron/vars/main.yml b/roles/neutron/vars/main.yml index db99e6eb0..c8b8f7010 100644 --- a/roles/neutron/vars/main.yml +++ b/roles/neutron/vars/main.yml @@ -60,7 +60,7 @@ __neutron_helm_values: service_provider: VPN:strongswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default dhcp_agent: DEFAULT: - dnsmasq_dns_servers: "{{ neutron_coredns_cluster_ip | default('10.96.0.20') }}" + dnsmasq_dns_servers: "{{ neutron_coredns_cluster_ip | default('1.1.1.1') }}" enable_isolated_metadata: true l3_agent: AGENT: From b12b7aa58dcb23bda2ce30699db2a68212d81986 Mon Sep 17 00:00:00 2001 From: adrianreza Date: Mon, 9 Dec 2024 13:22:33 +0700 Subject: [PATCH 2/2] add dnsmasq_dns_server to OVN part and add neutron_default_dns_servers variable to neutron conf for ML2/OVS --- roles/neutron/vars/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/roles/neutron/vars/main.yml b/roles/neutron/vars/main.yml index c8b8f7010..2e64a18a4 100644 --- a/roles/neutron/vars/main.yml +++ b/roles/neutron/vars/main.yml @@ -58,9 +58,10 @@ __neutron_helm_values: driver: noop service_providers: service_provider: VPN:strongswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default + neutron_default_dns_servers: 10.96.0.20 dhcp_agent: DEFAULT: - dnsmasq_dns_servers: "{{ neutron_coredns_cluster_ip | default('1.1.1.1') }}" + dnsmasq_dns_servers: "{{ neutron_coredns_cluster_ip | default('10.96.0.20') }}" enable_isolated_metadata: true l3_agent: AGENT: @@ -93,6 +94,10 @@ __neutron_ovn_helm_values: ovn_emit_need_to_frag: true service_providers: service_provider: VPN:strongswan:neutron_vpnaas.services.vpn.service_drivers.ovn_ipsec.IPsecOvnVPNDriver:default + dhcp_agent: + DEFAULT: + dnsmasq_dns_servers: "{{ neutron_coredns_cluster_ip | default('1.1.1.1') }}" + enable_isolated_metadata: true ovn_metadata_agent: DEFAULT: metadata_proxy_shared_secret: "{{ openstack_helm_endpoints['compute_metadata']['secret'] }}"