Fix the neutron-lbaas agent config
This patch should fix the functional gate. The issue is that devstack switch to stevedore aliases for interface_driver configuration [1], but lbaas doesn't use aliases. This patch fixed the broken config. This patch should be considered as a temporary workaround. We need to investigate why devstack doesn't populate the correct config at the first place. [1] https://review.openstack.org/#/c/237519/ Closes-Bug: #1512933 Change-Id: I73b9e146ad4cc253e6a04bcadc07f124a7c96df5
This commit is contained in:
parent
798c7e35ef
commit
4115c9ae8d
|
@ -37,6 +37,11 @@ if is_service_enabled m-api m-cond; then
|
|||
create_magnum_accounts
|
||||
fi
|
||||
|
||||
# Note(hongbin): This is a temprorary fix. We should investigate why
|
||||
# devstack doesn't populate this config file correctly.
|
||||
LBAAS_AGENT_CONF=/etc/neutron/services/loadbalancer/haproxy/lbaas_agent.ini
|
||||
iniset $LBAAS_AGENT_CONF DEFAULT interface_driver "neutron.agent.linux.interface.OVSInterfaceDriver"
|
||||
|
||||
elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
|
||||
# Initialize magnum
|
||||
init_magnum
|
||||
|
|
Loading…
Reference in New Issue