From 3bc47174f547207ce20a36ccd612c8865d04443d Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Thu, 19 Apr 2018 15:22:27 -0400 Subject: Add workaround for nova vif plugging timeout error Disable nova timeout error on waiting for vif plugging successfull notification from neutron. The proper fix is to make sure neutron sends the notification after nova starts waiting. Also increase db sync timeout to 1800 seconds to avoid db_sync errors on slower hardware. JIRA: FDS-156 Change-Id: I14af87378b8ac7a5d10d31d2652a65d535e2ec0c Signed-off-by: Feng Pan --- environments/neutron-ml2-vpp.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/environments/neutron-ml2-vpp.yaml b/environments/neutron-ml2-vpp.yaml index ade976d9..66827a16 100644 --- a/environments/neutron-ml2-vpp.yaml +++ b/environments/neutron-ml2-vpp.yaml @@ -18,9 +18,14 @@ parameter_defaults: NeutronServicePlugins: vpp-router NeutronTypeDrivers: vlan,flat NeutronFlatNetworks: external + DatabaseSyncTimeout: 1800 ExtraConfig: # Use Linux Bridge driver for DHCP agent. neutron::agents::dhcp::interface_driver: "neutron.agent.linux.interface.BridgeInterfaceDriver" + # Workaround for https://jira.opnfv.org/browse/FDS-156 + # Ignore vif plugging error for now. + nova::network::neutron::vif_plugging_is_fatal: false + nova::network::neutron::vif_plugging_timeout: 0 + ControllerExtraConfig: # Create VPP tap0 interface and connect it to br-ex linux bridge for external connectivity. fdio::vpp_exec_commands: ["create tap host-if-name vpp_ext_tap host-bridge br-ex rx-ring-size 1024 tx-ring-size 1024", "set interface state tap0 up"] - -- cgit 1.2.3-korg