Skip to content

Commit 6e7c41f

Browse files
authored
Merge pull request #811 from stackhpc/upstream/2025.1-2025-11-03
Synchronise 2025.1 with upstream
2 parents 7fce3cc + 78c1077 commit 6e7c41f

File tree

15 files changed

+32
-185
lines changed

15 files changed

+32
-185
lines changed

ansible/group_vars/all.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,9 +314,7 @@ dpdk_tunnel_interface_address: "{{ 'dpdk_tunnel' | kolla_address }}"
314314
ironic_http_interface_address: "{{ 'ironic_http' | kolla_address }}"
315315
ironic_tftp_interface_address: "{{ 'ironic_tftp' | kolla_address }}"
316316

317-
# Valid options are [ openvswitch, ovn, linuxbridge, vmware_nsxv, vmware_nsxv3, vmware_nsxp, vmware_dvs ]
318-
# Do note linuxbridge is *EXPERIMENTAL* in Neutron since Zed and it requires extra tweaks to config to be usable.
319-
# For details, see: https://docs.openstack.org/neutron/latest/admin/config-experimental-framework.html
317+
# Valid options are [ openvswitch, ovn, vmware_nsxv, vmware_nsxv3, vmware_nsxp, vmware_dvs ]
320318
neutron_plugin_agent: "openvswitch"
321319

322320
# Valid options are [ internal, infoblox ]
@@ -921,7 +919,7 @@ enable_nova_ssh: "yes"
921919
enable_octavia: "no"
922920
enable_octavia_driver_agent: "{{ enable_octavia | bool and neutron_plugin_agent == 'ovn' }}"
923921
enable_octavia_jobboard: "{{ enable_octavia | bool and 'amphora' in octavia_provider_drivers }}"
924-
enable_openvswitch: "{{ enable_neutron | bool and neutron_plugin_agent != 'linuxbridge' }}"
922+
enable_openvswitch: "{{ enable_neutron | bool }}"
925923
enable_ovn: "{{ enable_neutron | bool and neutron_plugin_agent == 'ovn' }}"
926924
enable_ovn_sb_db_relay: "{{ enable_ovn | bool }}"
927925
enable_ovs_dpdk: "no"

ansible/roles/manila/templates/manila-share.conf.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ memcached_servers = {% for host in groups['memcached'] %}{{ 'api' | kolla_addres
7474
share_driver = manila.share.drivers.generic.GenericShareDriver
7575
{% if neutron_plugin_agent == "openvswitch" %}
7676
interface_driver = manila.network.linux.interface.OVSInterfaceDriver
77-
{% elif neutron_plugin_agent == "linuxbridge" %}
78-
interface_driver = manila.network.linux.interface.BridgeInterfaceDriver
7977
{% endif %}
8078

8179
driver_handles_share_servers = true

ansible/roles/neutron/defaults/main.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -51,24 +51,6 @@ neutron_services:
5151
volumes: "{{ neutron_openvswitch_agent_default_volumes + neutron_openvswitch_agent_extra_volumes }}"
5252
dimensions: "{{ neutron_openvswitch_agent_dimensions }}"
5353
healthcheck: "{{ neutron_openvswitch_agent_healthcheck }}"
54-
neutron-linuxbridge-agent:
55-
container_name: "neutron_linuxbridge_agent"
56-
image: "{{ neutron_linuxbridge_agent_image_full }}"
57-
privileged: True
58-
enabled: "{{ neutron_plugin_agent == 'linuxbridge' }}"
59-
environment:
60-
KOLLA_LEGACY_IPTABLES: "{{ neutron_legacy_iptables | bool | lower }}"
61-
host_in_groups: >-
62-
{{
63-
inventory_hostname in groups['compute']
64-
or (enable_manila | bool and inventory_hostname in groups['manila-share'])
65-
or inventory_hostname in groups['neutron-dhcp-agent']
66-
or inventory_hostname in groups['neutron-l3-agent']
67-
or inventory_hostname in groups['neutron-metadata-agent']
68-
}}
69-
volumes: "{{ neutron_linuxbridge_agent_default_volumes + neutron_linuxbridge_agent_extra_volumes }}"
70-
dimensions: "{{ neutron_linuxbridge_agent_dimensions }}"
71-
healthcheck: "{{ neutron_linuxbridge_agent_healthcheck }}"
7254
neutron-dhcp-agent:
7355
cgroupns_mode: "{{ 'host' if neutron_agents_wrappers | bool else 'private' }}"
7456
container_name: "neutron_dhcp_agent"
@@ -249,8 +231,6 @@ neutron_config_validation:
249231
config: "/etc/neutron/l3_agent.ini"
250232
- generator: "/neutron/etc/oslo-config-generator/dhcp_agent.ini"
251233
config: "/etc/neutron/dhcp_agent.ini"
252-
- generator: "/neutron/etc/oslo-config-generator/linuxbridge_agent.ini"
253-
config: "/etc/neutron/plugins/ml2/linuxbridge_agent.ini"
254234

255235
####################
256236
# Database
@@ -299,10 +279,6 @@ neutron_eswitchd_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{
299279
neutron_eswitchd_tag: "{{ neutron_mlnx_agent_tag }}"
300280
neutron_eswitchd_image_full: "{{ neutron_eswitchd_image }}:{{ neutron_eswitchd_tag }}"
301281

302-
neutron_linuxbridge_agent_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ docker_image_name_prefix }}neutron-linuxbridge-agent"
303-
neutron_linuxbridge_agent_tag: "{{ neutron_tag }}"
304-
neutron_linuxbridge_agent_image_full: "{{ neutron_linuxbridge_agent_image }}:{{ neutron_linuxbridge_agent_tag }}"
305-
306282
neutron_metadata_agent_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/{{ docker_image_name_prefix }}neutron-metadata-agent"
307283
neutron_metadata_agent_tag: "{{ neutron_tag }}"
308284
neutron_metadata_agent_image_full: "{{ neutron_metadata_agent_image }}:{{ neutron_metadata_agent_tag }}"
@@ -350,7 +326,6 @@ neutron_l3_agent_dimensions: "{{ neutron_agent_dimensions }}"
350326
neutron_sriov_agent_dimensions: "{{ neutron_agent_dimensions }}"
351327
neutron_mlnx_agent_dimensions: "{{ neutron_agent_dimensions }}"
352328
neutron_eswitchd_dimensions: "{{ neutron_agent_dimensions }}"
353-
neutron_linuxbridge_agent_dimensions: "{{ neutron_agent_dimensions }}"
354329
neutron_metadata_agent_dimensions: "{{ neutron_agent_dimensions }}"
355330
neutron_ovn_metadata_agent_dimensions: "{{ neutron_agent_dimensions }}"
356331
neutron_openvswitch_agent_dimensions: "{{ neutron_agent_dimensions }}"
@@ -388,19 +363,6 @@ neutron_l3_agent_healthcheck:
388363
test: "{% if neutron_l3_agent_enable_healthchecks | bool %}{{ neutron_l3_agent_healthcheck_test }}{% else %}NONE{% endif %}"
389364
timeout: "{{ neutron_l3_agent_healthcheck_timeout }}"
390365

391-
neutron_linuxbridge_agent_enable_healthchecks: "{{ enable_container_healthchecks }}"
392-
neutron_linuxbridge_agent_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
393-
neutron_linuxbridge_agent_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
394-
neutron_linuxbridge_agent_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
395-
neutron_linuxbridge_agent_healthcheck_test: ["CMD-SHELL", "healthcheck_port neutron-linuxbridge-agent {{ om_rpc_port }}"]
396-
neutron_linuxbridge_agent_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
397-
neutron_linuxbridge_agent_healthcheck:
398-
interval: "{{ neutron_linuxbridge_agent_healthcheck_interval }}"
399-
retries: "{{ neutron_linuxbridge_agent_healthcheck_retries }}"
400-
start_period: "{{ neutron_linuxbridge_agent_healthcheck_start_period }}"
401-
test: "{% if neutron_linuxbridge_agent_enable_healthchecks | bool %}{{ neutron_linuxbridge_agent_healthcheck_test }}{% else %}NONE{% endif %}"
402-
timeout: "{{ neutron_linuxbridge_agent_healthcheck_timeout }}"
403-
404366
neutron_metadata_agent_enable_healthchecks: "no"
405367
neutron_metadata_agent_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
406368
neutron_metadata_agent_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
@@ -565,14 +527,6 @@ neutron_eswitchd_default_volumes:
565527
- "kolla_logs:/var/log/kolla/"
566528
- "{{ '/dev/shm:/dev/shm' }}"
567529
- "{{ kolla_dev_repos_directory ~ '/neutron:/dev-mode/neutron' if neutron_dev_mode | bool else '' }}"
568-
neutron_linuxbridge_agent_default_volumes:
569-
- "{{ node_config_directory }}/neutron-linuxbridge-agent/:{{ container_config_directory }}/:ro"
570-
- "/etc/localtime:/etc/localtime:ro"
571-
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
572-
- "/lib/modules:/lib/modules:ro"
573-
- "kolla_logs:/var/log/kolla/"
574-
- "{{ '/dev/shm:/dev/shm' }}"
575-
- "{{ kolla_dev_repos_directory ~ '/neutron:/dev-mode/neutron' if neutron_dev_mode | bool else '' }}"
576530
neutron_metadata_agent_default_volumes:
577531
- "{{ node_config_directory }}/neutron-metadata-agent/:{{ container_config_directory }}/:ro"
578532
- "/etc/localtime:/etc/localtime:ro"
@@ -650,7 +604,6 @@ neutron_l3_agent_extra_volumes: "{{ neutron_extra_volumes }}"
650604
neutron_sriov_agent_extra_volumes: "{{ neutron_extra_volumes }}"
651605
neutron_mlnx_agent_extra_volumes: "{{ neutron_extra_volumes }}"
652606
neutron_eswitchd_extra_volumes: "{{ neutron_extra_volumes }}"
653-
neutron_linuxbridge_agent_extra_volumes: "{{ neutron_extra_volumes }}"
654607
neutron_metadata_agent_extra_volumes: "{{ neutron_extra_volumes }}"
655608
neutron_ovn_metadata_agent_extra_volumes: "{{ neutron_extra_volumes }}"
656609
neutron_openvswitch_agent_extra_volumes: "{{ neutron_extra_volumes }}"
@@ -713,8 +666,6 @@ neutron_subprojects:
713666
# Mechanism drivers
714667
####################
715668
mechanism_drivers:
716-
- name: "linuxbridge"
717-
enabled: "{{ neutron_plugin_agent == 'linuxbridge' }}"
718669
- name: "openvswitch"
719670
enabled: "{{ neutron_plugin_agent == 'openvswitch' }}"
720671
- name: "mlnx_infiniband"

ansible/roles/neutron/handlers/main.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,6 @@
4646
healthcheck: "{{ service.healthcheck | default(omit) }}"
4747
with_sequence: "start=1 end={{ num_nova_fake_per_node }}"
4848

49-
- name: Restart neutron-linuxbridge-agent container
50-
vars:
51-
service_name: "neutron-linuxbridge-agent"
52-
service: "{{ neutron_services[service_name] }}"
53-
become: true
54-
kolla_container:
55-
action: "recreate_or_restart_container"
56-
common_options: "{{ docker_common_options }}"
57-
name: "{{ service.container_name }}"
58-
image: "{{ service.image }}"
59-
environment: "{{ service.environment }}"
60-
volumes: "{{ service.volumes | reject('equalto', '') | list }}"
61-
dimensions: "{{ service.dimensions }}"
62-
privileged: "{{ service.privileged | default(False) }}"
63-
healthcheck: "{{ service.healthcheck | default(omit) }}"
64-
6549
- name: Restart neutron-dhcp-agent container
6650
vars:
6751
service_name: "neutron-dhcp-agent"

ansible/roles/neutron/tasks/config-host.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
neutron_services |
99
select_services_enabled_and_mapped_to_host |
1010
list |
11-
intersect(["neutron-l3-agent", "neutron-linuxbridge-agent", "neutron-openvswitch-agent"]) |
11+
intersect(["neutron-l3-agent", "neutron-openvswitch-agent"]) |
1212
list |
1313
length > 0
1414

ansible/roles/neutron/tasks/config.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
- "ironic-neutron-agent"
7979
- "neutron-dhcp-agent"
8080
- "neutron-l3-agent"
81-
- "neutron-linuxbridge-agent"
8281
- "neutron-metadata-agent"
8382
- "neutron-ovn-metadata-agent"
8483
- "neutron-metering-agent"
@@ -150,20 +149,6 @@
150149
- item.key in services_need_ml2_conf_ini
151150
with_dict: "{{ neutron_services | select_services_enabled_and_mapped_to_host }}"
152151

153-
- name: Copying over linuxbridge_agent.ini
154-
become: true
155-
vars:
156-
service_name: "neutron-linuxbridge-agent"
157-
service: "{{ neutron_services[service_name] }}"
158-
merge_configs:
159-
sources:
160-
- "{{ role_path }}/templates/linuxbridge_agent.ini.j2"
161-
- "{{ node_custom_config }}/neutron/linuxbridge_agent.ini"
162-
- "{{ node_custom_config }}/neutron/{{ inventory_hostname }}/linuxbridge_agent.ini"
163-
dest: "{{ node_config_directory }}/{{ service_name }}/linuxbridge_agent.ini"
164-
mode: "0660"
165-
when: service | service_enabled_and_mapped_to_host
166-
167152
- name: Copying over openvswitch_agent.ini
168153
become: true
169154
vars:
@@ -394,7 +379,6 @@
394379
vars:
395380
service_name: "{{ item.0 }}"
396381
services_need_ml2_conf_ini:
397-
- "neutron-linuxbridge-agent"
398382
- "neutron-openvswitch-agent"
399383
- "neutron-server"
400384
template:

ansible/roles/neutron/templates/linuxbridge_agent.ini.j2

Lines changed: 0 additions & 24 deletions
This file was deleted.

ansible/roles/neutron/templates/neutron-linuxbridge-agent.json.j2

Lines changed: 0 additions & 44 deletions
This file was deleted.

ansible/roles/neutron/templates/neutron-server.json.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"command": "neutron-server --config-file /etc/neutron/neutron.conf{% if neutron_plugin_agent in ['openvswitch', 'linuxbridge', 'ovn'] %} --config-file /etc/neutron/plugins/ml2/ml2_conf.ini{% if enable_neutron_vpnaas | bool %} --config-file /etc/neutron/neutron_vpnaas.conf{% endif %}{% elif neutron_plugin_agent in ['vmware_nsxv', 'vmware_nsxv3', 'vmware_nsxp', 'vmware_dvs'] %} --config-file /etc/neutron/plugins/vmware/nsx.ini {% endif %}{% if enable_neutron_fwaas | bool %} --config-file /etc/neutron/fwaas_driver.ini{% endif %}",
2+
"command": "neutron-server --config-file /etc/neutron/neutron.conf{% if neutron_plugin_agent in ['openvswitch', 'ovn'] %} --config-file /etc/neutron/plugins/ml2/ml2_conf.ini{% if enable_neutron_vpnaas | bool %} --config-file /etc/neutron/neutron_vpnaas.conf{% endif %}{% elif neutron_plugin_agent in ['vmware_nsxv', 'vmware_nsxv3', 'vmware_nsxp', 'vmware_dvs'] %} --config-file /etc/neutron/plugins/vmware/nsx.ini {% endif %}{% if enable_neutron_fwaas | bool %} --config-file /etc/neutron/fwaas_driver.ini{% endif %}",
33
"config_files": [
44
{
55
"source": "{{ container_config_directory }}/neutron.conf",

ansible/roles/neutron/templates/neutron.conf.j2

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ state_path = /var/lib/neutron/kolla
2525

2626
{% if neutron_plugin_agent == "openvswitch" or (neutron_plugin_agent == "ovn" and neutron_ovn_dhcp_agent | bool) %}
2727
interface_driver = openvswitch
28-
{% elif neutron_plugin_agent == "linuxbridge" %}
29-
interface_driver = linuxbridge
3028
{% endif %}
3129

3230
{% if enable_nova_fake | bool %}

0 commit comments

Comments
 (0)