Skip to content

feat: add amphora load balancers to ci-multinode #1517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: stackhpc/2024.1
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion etc/kayobe/environments/ci-multinode/controllers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ controller_bootstrap_user: "{{ os_distribution if os_distribution == 'ubuntu' el
controller_lvm_groups:
- "{{ stackhpc_lvm_group_rootvg }}"


###############################################################################
# Controller node firewalld configuration.

Expand All @@ -28,3 +27,7 @@ controller_firewalld_default_zone: trusted
# - permanent: true
# - state: enabled
controller_firewalld_rules: "{{ stackhpc_firewalld_rules }}"

# List of extra networks to which controller nodes are attached.
controller_extra_network_interfaces:
- octavia
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public_routes:
- cidr: "{{ external_cidr }}"
gateway: "{{ public_net_name | net_ip( groups['seed'][0] ) }}"

octavia_interface: "{{ vxlan_interfaces[0].device}}.{{ octavia_vlan }}"

###############################################################################
# Dummy variable to allow Ansible to accept this file.
workaround_ansible_issue_8743: yes
23 changes: 18 additions & 5 deletions etc/kayobe/environments/ci-multinode/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@ neutron_dns_domain: "{{ root_domain }}."
# OpenSearch memory tuning
opensearch_heap_size: 1g

# Octavia load balancer configuration
octavia_auto_configure: "no"
octavia_provider_drivers: "ovn:OVN provider"
octavia_provider_agents: "ovn"

# Manila CephFS configuration
manila_cephfs_filesystem_name: manila-cephfs

Expand All @@ -67,3 +62,21 @@ designate_forwarders_addresses: "1.1.1.1; 8.8.8.8"
# Open up ports in firewalld for services on the public API network.
enable_external_api_firewalld: true
external_api_firewalld_zone: "{{ public_net_name | net_zone }}"

# Octavia load balancer configuration
octavia_network_interface: "{{ hostvars[groups['controllers'] | first].octavia_interface }}"

octavia_amp_network:
name: lb-mgmt-net
provider_network_type: vlan
provider_physical_network: "physnet1"
provider_segmentation_id: 999
external: false
shared: false
subnet:
name: lb-mgmt-subnet
cidr: "192.168.34.0/24"
allocation_pool_start: "192.168.34.10"
allocation_pool_end: "192.168.34.254"
no_gateway_ip: yes
enable_dhcp: yes
7 changes: 7 additions & 0 deletions etc/kayobe/environments/ci-multinode/networks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,13 @@ provision_oc_allocation_pool_end: 192.168.33.254
provision_oc_vlan: 107
provision_oc_zone: "provision_oc"

octavia_cidr: 192.168.34.0/24
octavia_vlan: 999
octavia_allocation_pool_start: 192.168.34.3
octavia_allocation_pool_end: 192.168.34.9
octavia_mtu: "{{ ansible_facts.default_ipv4.mtu - 50 }}"
octavia_zone: octavia

###############################################################################
# Network virtual patch link configuration.

Expand Down
3 changes: 3 additions & 0 deletions etc/kayobe/environments/ci-multinode/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ stackhpc_docker_registry: "{{ stackhpc_repo_mirror_url | regex_replace('^https?:

stackhpc_docker_registry_username: "{{ stackhpc_repo_mirror_username }}"
stackhpc_docker_registry_password: "{{ stackhpc_repo_mirror_password }}"

stackhpc_release_pulp_username: "{{ stackhpc_repo_mirror_username }}"
stackhpc_release_pulp_password: "{{ stackhpc_repo_mirror_password }}"
Loading