File tree Expand file tree Collapse file tree 4 files changed +31
-6
lines changed
etc/kayobe/environments/ci-multinode
inventory/group_vars/controllers Expand file tree Collapse file tree 4 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ controller_bootstrap_user: "{{ os_distribution if os_distribution == 'ubuntu' el
55controller_lvm_groups :
66 - " {{ stackhpc_lvm_group_rootvg }}"
77
8-
98# ##############################################################################
109# Controller node firewalld configuration.
1110
@@ -28,3 +27,7 @@ controller_firewalld_default_zone: trusted
2827# - permanent: true
2928# - state: enabled
3029controller_firewalld_rules : " {{ stackhpc_firewalld_rules }}"
30+
31+ # List of extra networks to which controller nodes are attached.
32+ controller_extra_network_interfaces :
33+ - octavia
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ public_routes:
1616 - cidr: "{{ external_cidr }}"
1717 gateway: "{{ public_net_name | net_ip( groups['seed'][0] ) }}"
1818
19+ octavia_interface: "{{ vxlan_interfaces[0].device}}.{{ octavia_vlan }}"
20+
1921###############################################################################
2022# Dummy variable to allow Ansible to accept this file.
2123workaround_ansible_issue_8743: yes
Original file line number Diff line number Diff line change @@ -47,11 +47,6 @@ neutron_dns_domain: "{{ root_domain }}."
4747# OpenSearch memory tuning
4848opensearch_heap_size : 1g
4949
50- # Octavia load balancer configuration
51- octavia_auto_configure : " no"
52- octavia_provider_drivers : " ovn:OVN provider"
53- octavia_provider_agents : " ovn"
54-
5550# Manila CephFS configuration
5651manila_cephfs_filesystem_name : manila-cephfs
5752
@@ -67,3 +62,21 @@ designate_forwarders_addresses: "1.1.1.1; 8.8.8.8"
6762# Open up ports in firewalld for services on the public API network.
6863enable_external_api_firewalld : true
6964external_api_firewalld_zone : " {{ public_net_name | net_zone }}"
65+
66+ # Octavia load balancer configuration
67+ octavia_network_interface : " {{ hostvars[groups['controllers'] | first].octavia_interface }}"
68+
69+ octavia_amp_network :
70+ name : lb-mgmt-net
71+ provider_network_type : vlan
72+ provider_physical_network : " physnet1"
73+ provider_segmentation_id : 999
74+ external : false
75+ shared : false
76+ subnet :
77+ name : lb-mgmt-subnet
78+ cidr : " 192.168.34.0/24"
79+ allocation_pool_start : " 192.168.34.10"
80+ allocation_pool_end : " 192.168.34.254"
81+ no_gateway_ip : yes
82+ enable_dhcp : yes
Original file line number Diff line number Diff line change @@ -131,6 +131,13 @@ provision_oc_allocation_pool_end: 192.168.33.254
131131provision_oc_vlan : 107
132132provision_oc_zone : " provision_oc"
133133
134+ octavia_cidr : 192.168.34.0/24
135+ octavia_vlan : 999
136+ octavia_allocation_pool_start : 192.168.34.3
137+ octavia_allocation_pool_end : 192.168.34.9
138+ octaiva_mtu : " {{ ansible_facts.default_ipv4.mtu - 50 }}"
139+ octavia_zone : octavia
140+
134141# ##############################################################################
135142# Network virtual patch link configuration.
136143
You can’t perform that action at this time.
0 commit comments