Changeset 13916 in genesis for tools


Ignore:
Timestamp:
Jun 13, 2017, 8:52:37 PM (8 years ago)
Author:
rick
Message:

Avoid query of system with broken upstream DNS

Since serviceid is removed when node is not connected to the internet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r13912 r13916  
    10741074    hostdump = get_yaml(host)
    10751075    if hostdump['status'] == 'up' and (hostdump['service_proxy_ileiden'] or hostdump['service_proxy_normal']):
    1076       nameservers_cache.append((hostdump['masterip'], hostdump['nodename']))
     1076      nameservers_cache.append((hostdump['serviceid'], hostdump['nodename']))
    10771077
    10781078  return nameservers_cache[0:max_servers]
Note: See TracChangeset for help on using the changeset viewer.