diff options
authorFeng Pan <fpan@redhat.com>2018-04-19 15:22:27 -0400
committerFeng Pan <fpan@redhat.com>2018-05-29 23:56:24 -0400
commit3bc47174f547207ce20a36ccd612c8865d04443d (patch)
parent7f1cc97bcd6f267b11a251de3204edf0e8ec79c0 (diff)
Add workaround for nova vif plugging timeout errorstable/fraser
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 <fpan@redhat.com>
1 files changed, 6 insertions, 1 deletions
diff --git a/environments/neutron-ml2-vpp.yaml b/environments/neutron-ml2-vpp.yaml
index ade976d..66827a1 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
# 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"]