Merge pull request #42509 from clem-compilatio/fix-42417

Fix _assign_floating_ips in openstack.py
This commit is contained in:
Nicole Thomas 2017-07-24 11:14:12 -06:00 committed by GitHub
commit 1bd5bbccc2

View File

@ -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'):