Decrease log level of leftover ports message
No need to log full traceback when we still have leftover ports on a
network we're attempting to delete. This commit decreases the log level
of that message to warning in order to skip traceback.
@@ -102,7 +102,7 @@ class NamespacePodSubnetDriver(default_subnet.DefaultPodSubnetDriver):
try:
os_net.delete_network(net_id)
except os_exc.ConflictException:
- LOG.exception("One or more ports in use on the network %s. "
+ LOG.warning("One or more ports in use on the network %s. "
"Deleting leftovers ports before retrying", net_id)
leftover_ports = os_net.ports(network_id=net_id)
for leftover_port in leftover_ports:
