Hi, Takashi Thanks for a quick response!
This looks like a valid bug in openstacksdk and it may be helpful if you can report the bug in https://bugs.launchpad.net/openstacksdk .
I've reported it here https://bugs.launchpad.net/openstacksdk/+bug/2080859
I think the problem is not 'lack of ignore_missing=True' but 'lack of ignore_missing=False'.
Yep, the fix should contain "ignore_missing=False" indeed. I can confirm this fixes my issue. Using True in the provided example code was my copy-pasted mistake while describing the problem here.
If you are interested in proposing a fix then please feel free to do so or I (or anyone in the SDK team) can submit it on behalf of you.
Please submit this patch on behalf of me: diff --git a/openstack/cloud/_network_common.py b/openstack/cloud/_network_common.py index 43633d7cd..16fd7f35c 100644 --- a/openstack/cloud/_network_common.py +++ b/openstack/cloud/_network_common.py @@ -806,7 +806,7 @@ 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 " Regards, Alexander.