From 019ac88aee7e25bc4a414bf9fa6772ba18869784 Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Tue, 9 Jun 2015 04:26:13 -0700 Subject: [PATCH] NSXv: fix bad log message The log message is missing a parameter. This is when there is an exception with add_member_to_security_group. Change-Id: I3415cf91ac4071e89e2b9ac70f953db07a2dcece --- vmware_nsx/neutron/plugins/vmware/plugins/nsx_v.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vmware_nsx/neutron/plugins/vmware/plugins/nsx_v.py b/vmware_nsx/neutron/plugins/vmware/plugins/nsx_v.py index 6d4899a910..49e6cf3fa8 100644 --- a/vmware_nsx/neutron/plugins/vmware/plugins/nsx_v.py +++ b/vmware_nsx/neutron/plugins/vmware/plugins/nsx_v.py @@ -463,8 +463,7 @@ class NsxVPluginV2(agents_db.AgentDbMixin, {'sg_id': sg_id, 'vnic_id': vnic_id}) except Exception as e: LOG.debug("NSX security group %(sg_id)s member add " - "failed %(vnic_id)s - attempt %(attempt)d. " - "Exception: %(exc)s", + "failed %(vnic_id)s. Exception: %(exc)s", {'sg_id': sg_id, 'vnic_id': vnic_id, 'exc': e})