add hack fix for "no suitable peers" error

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-14 17:21:57 +02:00
parent 1e6f181335
commit 1e5a8d8e0e
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,8 @@
tags: origin-cert
- role: infra-role-geth
tags: geth
- role: geth-peer-fix
tags: geth-peer-fix
- role: faucet
tags: faucet

View File

@ -0,0 +1,5 @@
# Description
This tiny role simply adds a cronjob to restart the geth container on faucet master host daily to avoid the `no suitable peers available` error which keeps messing with the faucet API.
For more details read: https://github.com/status-im/infra-faucet/issues/1

View File

@ -0,0 +1,7 @@
---
# This an UGLY way of "fixing" the `no suitable peers available` error
- name: Add cronjob to restart geth container
cron:
name: 'HACK: Restart {{ geth_cont_name }} to avoid peers errors'
job: 'docker restart {{ geth_cont_name }}'
special_time: 'daily'