Add workaround for nova vif plugging timeout error 47/58047/2 stable/fraser
authorFeng Pan <fpan@redhat.com>
Thu, 19 Apr 2018 19:22:27 +0000 (15:22 -0400)
committerFeng Pan <fpan@redhat.com>
Wed, 30 May 2018 03:56:24 +0000 (23:56 -0400)
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>
environments/neutron-ml2-vpp.yaml

index ade976d..66827a1 100644 (file)
@@ -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"]
-