Misplaced log statement in NSX plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Salvatore Orlando |
Bug Description
In the create_port method for the NSX plugin, successful creation in NSX is logged even before the DB transaction is committed.
This should be fixed with a simple patch.
diff --git a/neutron/
index fc39bec..9f9f7ac 100644
--- a/neutron/
+++ b/neutron/
@@ -1169,10 +1169,6 @@ class NsxPluginV2(
elif mac_ext.
-
- LOG.debug(
- "%(tenant_id)s: (%(id)s)"), port_data)
-
@@ -1183,6 +1179,8 @@ class NsxPluginV2(
+ LOG.debug(_("port created on NSX backend for tenant "
+ "%(tenant_id)s: (%(id)s)"), port_data)
except n_exc.NotFound:
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | juno-1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/86188
Review: https:/