warn-and-continue if no v6 addr provided on storage-rel

This commit is contained in:
Edward Hope-Morley 2015-10-30 10:16:32 +00:00
parent f680015a89
commit da30b03608
1 changed files with 2 additions and 3 deletions

View File

@ -208,10 +208,9 @@ def storage_changed():
host_ip = format_ipv6_addr(addr)
if not host_ip:
msg = ("Did not get IPv6 address from storage relation "
"(got=%s) - ignoring storage relation until remote unit is "
"ready" % (addr))
"(got=%s)" % (addr))
log(msg, level=WARNING)
return
host_ip = addr
else:
host_ip = openstack.get_host_ip(addr)