Useful log output.
This commit is contained in:
parent
fe08f52d92
commit
751e268f0d
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ def _add_floating_ip_from_pool(module, nova, server):
|
|||
try:
|
||||
new_ip = nova.floating_ips.create(pool)
|
||||
except Exception, e:
|
||||
module.fail_json(msg = "Unable to create floating ip")
|
||||
module.fail_json(msg = "Unable to create floating ip: %s" % (e.message))
|
||||
pool_ips.append(new_ip.ip)
|
||||
# Add to the main list
|
||||
usable_floating_ips[pool] = pool_ips
|
||||
|
|
Loading…
Reference in a new issue