From 334d9a33404f4c8438d105f91bff1a9fd9236513 Mon Sep 17 00:00:00 2001 From: Assaf Muller Date: Thu, 25 Jun 2015 16:34:09 -0400 Subject: [PATCH] Log OVS agent configuration mismatch Change-Id: I55aef3bdc32dcee3436cb8b987fb796a4898b20e Closes-Bug: #1468893 --- neutron/plugins/openvswitch/agent/ovs_neutron_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py b/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py index 968fec88a..6d75dadc6 100644 --- a/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py +++ b/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py @@ -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() -- 2.45.2