mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #42509 from clem-compilatio/fix-42417
Fix _assign_floating_ips in openstack.py
This commit is contained in:
commit
1bd5bbccc2
@ -907,9 +907,9 @@ def _assign_floating_ips(vm_, conn, kwargs):
|
||||
floating.append(idx)
|
||||
break
|
||||
if not floating:
|
||||
raise SaltCloudSystemExit(
|
||||
log.warning(
|
||||
'There are no more floating IP addresses '
|
||||
'available, please create some more'
|
||||
'available, please create some more if necessary'
|
||||
)
|
||||
except Exception as e:
|
||||
if str(e).startswith('404'):
|
||||
|
Loading…
Reference in New Issue
Block a user