diff --git a/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py b/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py index a01289d731..f1a41fced9 100755 --- a/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py +++ b/quantum/plugins/openvswitch/agent/ovs_quantum_agent.py @@ -640,6 +640,14 @@ class OVSQuantumTunnelAgent(object): old_vif_ports = new_vif_ports old_local_bindings = new_local_bindings + try: + db.commit() + except Exception as e: + LOG.info("Unable to commit to database! Exception: %s" % e) + db.rollback() + old_local_bindings = {} + old_vif_ports = {} + time.sleep(self.polling_interval)