>>> next_nodes = search_eqiad.get_next_clusters_nodes(datetime.utcnow(), 1) DEBUG:urllib3.util.retry:Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0) DEBUG:urllib3.connectionpool:https://search.svc.eqiad.wmnet:9643 "GET /_nodes HTTP/1.1" 200 187250 DEBUG:urllib3.util.retry:Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0) DEBUG:urllib3.connectionpool:https://search.svc.eqiad.wmnet:9243 "GET /_nodes HTTP/1.1" 200 386351 DEBUG:urllib3.util.retry:Converted retries value: False -> Retry(total=False, connect=None, read=None, redirect=0) DEBUG:urllib3.connectionpool:https://search.svc.eqiad.wmnet:9443 "GET /_nodes HTTP/1.1" 200 198549 DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): puppetdb2001.codfw.wmnet DEBUG:requests.packages.urllib3.connectionpool:https://puppetdb2001.codfw.wmnet:443 "POST /pdb/query/v4/nodes HTTP/1.1" 200 283 DEBUG:cumin.backends.puppetdb.PuppetDBQuery:Queried puppetdb for '["or", ["~", "certname", "^elastic1049.*$"]]', got '1' results. >>> pprint.pprint(next_nodes._nodes) [{'clusters': ['production'], 'clusters_instances': [], 'name': 'elastic1049', 'oldest_start_time': 1542225829887, 'row': 'B'}]