Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P8109
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Gehel
on Feb 20 2019, 4:06 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F28251872:
Feb 20 2019, 4:06 PM
2019-02-20 16:06:50 (UTC+0)
Subscribers
None
>>> 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': [<spicerack.elasticsearch_cluster.ElasticsearchCluster object at 0x7f65de97def0>],
'name': 'elastic1049',
'oldest_start_time': 1542225829887,
'row': 'B'}]
Event Timeline
Gehel
created this paste.
Feb 20 2019, 4:06 PM
2019-02-20 16:06:50 (UTC+0)
Log In to Comment