NSX|P: Fail network creation of mdproxy creation fails
Change-Id: I1c806c44697cb00093125dbb0c5b65ab0b13e9d7
This commit is contained in:
parent
4a749bc35e
commit
8364a82f30
@ -758,8 +758,10 @@ class NsxPolicyPlugin(nsx_plugin_common.NsxPluginV3Base):
|
||||
self._create_net_mdproxy_port(
|
||||
context, created_net, az, nsx_net_id)
|
||||
except Exception as e:
|
||||
LOG.error("Failed to create mdproxy port for network %s: %s",
|
||||
net_id, e)
|
||||
LOG.exception("Failed to create mdproxy port for network %s: "
|
||||
"%s", net_id, e)
|
||||
with excutils.save_and_reraise_exception():
|
||||
self.delete_network(context, net_id)
|
||||
|
||||
# Update the QoS policy (will affect only future compute ports)
|
||||
qos_com_utils.set_qos_policy_on_new_net(
|
||||
|
Loading…
x
Reference in New Issue
Block a user