more debug
This commit is contained in:
parent
f5bc310283
commit
923901f86f
|
@ -114,9 +114,11 @@ def cluster_with():
|
|||
available_nodes = []
|
||||
num_tries = 0
|
||||
for r_id in (utils.relation_ids('cluster') or []):
|
||||
utils.juju_log('INFO', 'Units are: %s' % str(utils.relation_list(r_id)))
|
||||
for unit in (utils.relation_list(r_id) or []):
|
||||
address = utils.relation_get('private_address',
|
||||
rid=r_id, unit=unit)
|
||||
utils.juju_log('INFO', 'private is: %s' % str(address))
|
||||
if address is not None:
|
||||
node = get_hostname(address, fqdn=False)
|
||||
if current_host != node:
|
||||
|
|
Loading…
Reference in New Issue