Disable octavia_management_net_dhcp by default

config_drive is always enabled for amphora VMs [1], so DHCP is not
required for cloud-init to configure octavia network interface.
To avoid confusion, this patch disables DHCP for octavia network by default.

[1] eff69261f4/octavia/compute/drivers/nova_driver.py (L146)

Change-Id: Iabb1afac5dcea64251813404d924da9a648ca2e9
This commit is contained in:
Damian Dabrowski 2024-09-25 16:57:54 +02:00
parent c091f3d2dd
commit 59a0e0f448
2 changed files with 7 additions and 1 deletions

View File

@ -411,7 +411,7 @@ octavia_management_net_subnet_cidr: 172.29.232.0/22
# octavia_management_net_subnet_allocation_pools: "172.29.232.10-172.29.235.200" # octavia_management_net_subnet_allocation_pools: "172.29.232.10-172.29.235.200"
octavia_management_net_subnet_allocation_pools: "" octavia_management_net_subnet_allocation_pools: ""
# Do we require the Neutron DHCP server # Do we require the Neutron DHCP server
octavia_management_net_dhcp: "True" octavia_management_net_dhcp: "False"
# Should Octavia set up the network and subnet? # Should Octavia set up the network and subnet?
octavia_service_net_setup: True octavia_service_net_setup: True
# This should match net_name from provider_networks structure in openstack_user_config # This should match net_name from provider_networks structure in openstack_user_config

View File

@ -0,0 +1,6 @@
---
other:
- |
Default value for ``octavia_management_net_dhcp`` was set to False.
It means that Octavia management network will not have DHCP enabled by
default if os_octavia role is responsible for managaing it.