]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Log OVS agent configuration mismatch
authorAssaf Muller <amuller@redhat.com>
Thu, 25 Jun 2015 20:34:09 +0000 (16:34 -0400)
committerAssaf Muller <amuller@redhat.com>
Thu, 25 Jun 2015 20:34:09 +0000 (16:34 -0400)
Change-Id: I55aef3bdc32dcee3436cb8b987fb796a4898b20e
Closes-Bug: #1468893

neutron/plugins/openvswitch/agent/ovs_neutron_agent.py

index 968fec88a2654c7c3372ae337a7fa4f89dfc17dc..6d75dadc6e9c5300a4a6df50ce01f446a4f4752d 100644 (file)
@@ -1687,7 +1687,7 @@ def main(bridge_classes):
     prepare_xen_compute()
     try:
         agent = OVSNeutronAgent(bridge_classes, **agent_config)
-    except RuntimeError as e:
+    except (RuntimeError, ValueError) as e:
         LOG.error(_LE("%s Agent terminated!"), e)
         sys.exit(1)
     agent.daemon_loop()