From: Sukhdev Date: Fri, 16 Jan 2015 20:12:12 +0000 (-0800) Subject: Fixing a log message in Arista L3 Service Plugin X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fa50fb7238e5957e550106c6f5637b4b46d20ed2;p=openstack-build%2Fneutron-build.git Fixing a log message in Arista L3 Service Plugin In a previous patch see here - https://review.openstack.org/123886, couple of messages were wrong. This patch is to fix the log message. Change-Id: I645396cbc2f6d2d862a9f4784eeb59475f321346 Closes-bug: 1373652 --- diff --git a/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py b/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py index f41aed279..98dfe7445 100644 --- a/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py +++ b/neutron/plugins/ml2/drivers/arista/arista_l3_driver.py @@ -273,7 +273,7 @@ class AristaL3Driver(object): if self.mlag_configured and not mlag_peer_failed: mlag_peer_failed = True else: - msg = (_('Failed to create router %s on EOS') % + msg = (_LE('Failed to delete router %s from EOS') % router_name) LOG.exception(msg) raise arista_exc.AristaServicePluginRpcError(msg=msg) @@ -347,8 +347,8 @@ class AristaL3Driver(object): if self.mlag_configured and not mlag_peer_failed: mlag_peer_failed = True else: - msg = (_('Failed to add interface to router ' - '%s on EOS') % router_name) + msg = (_LE('Failed to remove interface from router ' + '%s on EOS') % router_name) LOG.exception(msg) raise arista_exc.AristaServicePluginRpcError(msg=msg)