Merge "Fix internal error when floating ip network is not found by name"

This commit is contained in:
Zuul 2024-09-17 10:41:21 +00:00 committed by Gerrit Code Review
commit f48271880f

View File

@ -806,7 +806,9 @@ class NetworkCommonCloudMixin(openstackcloud._OpenStackCloudMixin):
if not network_id:
if network_name_or_id:
try:
network = self.network.find_network(network_name_or_id)
network = self.network.find_network(
network_name_or_id, ignore_missing=False
)
except exceptions.NotFoundException:
raise exceptions.NotFoundException(
"unable to find network for floating ips with ID "