Merge "Handle no more IP addresses available during a network sync"

This commit is contained in:
Zuul 2023-05-29 19:23:03 +00:00 committed by Gerrit Code Review
commit 167f4e4ab8
1 changed files with 4 additions and 0 deletions

View File

@ -1037,6 +1037,10 @@ class OvnNbSynchronizer(OvnDbSynchronizer):
except RuntimeError:
LOG.warning("Create network in OVN NB failed for "
"network %s", network['id'])
except n_exc.IpAddressGenerationFailure:
LOG.warning("No more IP addresses available during "
"implicit port creation while creating "
"network %s", network['id'])
self._sync_metadata_ports(ctx, db_ports)