Commit Graph

135 Commits

Author SHA1 Message Date
Jakub Sokołowski 08d2f1fd87
ropsten: switch to new snap sync mode added in 1.10.1
Ropsten light is notorious for lack of peers.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-19 12:43:55 +01:00
Jakub Sokołowski eebeadd4fa
restart Ropsten Geth instance using new revival bootnodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-06 20:34:16 +01:00
Jakub Sokołowski e09c233d99
Re-arrange memory usage, give half to Goerli
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:55:26 +01:00
Jakub Sokołowski 65c2e04fb1
ansible/terraform.py: drop deprecated encoding argument
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-04 22:29:46 +01:00
Jakub Sokołowski 4a35e9a79f
add websocket port, adjust other ports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-25 21:39:42 +01:00
Jakub Sokołowski 05c1b21639
disable websocket api, not necessary
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 17:14:56 +01:00
Jakub Sokołowski bfd2c506d8
use our own fork of Nginx role to fix permissions
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-07 19:49:46 +02:00
Jakub Sokołowski 15a66f2dd3
faucet-master: lower SWAP size to 1GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-24 21:02:52 +02:00
Jakub Sokołowski 44d46a30e1
use new memory variables for geth role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 18:09:16 +01:00
Jakub Sokołowski 41aa7e315b
reduce swap size to 2GB
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 09:34:04 +01:00
Jakub Sokołowski 56d6ba18a6
add tags to playbook
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 13:58:20 +01:00
Jakub Sokołowski ab71feac05
adjust memory limits, add 4GB swap file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-19 21:18:29 +01:00
Jakub Sokołowski 0f7af9e2d4
update origin-certs role arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-12 23:43:52 +01:00
Jakub Sokołowski 57b5dd293e
update consul faucet check name to be different
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 02:15:21 -04:00
Jakub Sokołowski 49e6a9d33c
lower cache ratio to 0.15
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 01:39:13 -04:00
Jakub Sokołowski 54feca95f3
fix memory relations, cache lower than cont mem limit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:55:47 -04:00
Jakub Sokołowski a6d0b26a08
explicit conversion to string
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:55:03 -04:00
Jakub Sokołowski 37c19cc51a
restart only on geth failure
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 14:56:31 -04:00
Jakub Sokołowski 0804df48b4
fix order in emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-02 18:48:19 -04:00
Jakub Sokołowski 10219307b6
upgrade ansible inventory script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-02 18:48:10 -04:00
Jakub Sokołowski bdb2b1b636
change consul id, not name, it has to be geth-exporter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:47:16 -04:00
Jakub Sokołowski 325f4b8761
keep only one env: prod
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:39:39 -04:00
Jakub Sokołowski a3e837297d
run all faucets on just one host
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 22:39:34 -04:00
Jakub Sokołowski b39720f7b1
remove finkeby miners from emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-23 11:21:17 -04:00
Jakub Sokołowski e7675e742f
use ratios that set cache lower than container mem limit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-19 10:45:38 -04:00
Jakub Sokołowski e658ba648c
remove ropsten miners for now
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-11 14:48:09 -04:00
Jakub Sokołowski c6dc49f7ed
adjust geth cache based on host memory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-28 15:56:39 -04:00
Jakub Sokołowski 4b70c11e88
use full sync for goerli network
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-06-28 15:21:31 -04:00
Jakub Sokołowski 56f3d3b435
use the default latest tag for geth_exporter
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-31 14:42:57 -04:00
Jakub Sokołowski aa57e277d7
update goerli emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-30 07:22:49 -04:00
Jakub Sokołowski d5d8456dce
update master in emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-28 08:20:53 -04:00
Jakub Sokołowski e79a602d12
rename faucet to faucet-api role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-28 08:20:37 -04:00
Jakub Sokołowski a691ea1f2b
switch to latest image tag for faucet api
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-28 08:19:53 -04:00
Jakub Sokołowski 6fc60fa3b7
add faucet.goerli fleet
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-27 11:01:30 -04:00
Jakub Sokołowski c1dd806cbb
add geth exporter setup
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-17 00:59:19 +02:00
Jakub Sokołowski 1e5a8d8e0e
add hack fix for "no suitable peers" error
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 17:21:57 +02:00
Jakub Sokołowski 1eca0d7db0
switch back to light sync mode for master nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-12 16:23:17 +02:00
Jakub Sokołowski 1f7cca1d0d
fix missing faucet_account_pass
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-08 14:20:41 +02:00
Jakub Sokołowski 439cea540c
fix geth alias for faucet api
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-08 13:11:30 +02:00
Jakub Sokołowski 3919962e77
remove creation of keystore files in faucet role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-08 13:02:11 +02:00
Jakub Sokołowski ec47a55b03
remove creating geth attach wrapper from faucet role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-08 12:57:18 +02:00
Jakub Sokołowski 3e59f8e846
replace geth-miner role with infra-role-geth
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 15:04:47 +02:00
Jakub Sokołowski 7212fef1ee
switch sync mode for master geth to full
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 12:06:22 +02:00
Jakub Sokołowski d417dfa01b
increase max-peers for master geth
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 10:53:53 +02:00
Jakub Sokołowski 1d7a23f5b7
use the new infra-role-geth for faucet API
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 15:40:02 +02:00
Jakub Sokołowski e13fb819c0
go back to using light sync mode on master
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-17 13:10:31 +02:00
Jakub Sokołowski dc27740e40
add formatting with jq
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 20:22:56 +02:00
Jakub Sokołowski 345b09c592
fix return code on failure for geth sync check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 17:28:37 +02:00
Jakub Sokołowski e0767722f3
switch log level to info
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 17:05:11 +02:00
Jakub Sokołowski 52ce8af64d
parametrize geth sync mode, switch to fast
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 17:02:24 +02:00
Jakub Sokołowski 5d535f405d
add geth verbosity setting
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 16:49:14 +02:00
Jakub Sokołowski 7ba41237bf
upgrade geth: 1.8.23 > 1.8.26
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 16:16:27 +02:00
Jakub Sokołowski 3533f925e6
add a geth canary
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 12:12:34 +02:00
Jakub Sokołowski 4773df2f1d
add CORS rules for allowing *.status.im domain calls
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-22 12:42:33 +01:00
Jakub Sokołowski 10d79744c7
change how network is selected
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-22 08:53:28 +01:00
Jakub Sokołowski 7eaed1a71f
remove debug messages
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 13:05:52 +01:00
Jakub Sokołowski ba0769c12e
add bootnodes for ropsten
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 13:05:40 +01:00
Jakub Sokołowski d0b9e21609
add more bootnodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 13:04:49 +01:00
Jakub Sokołowski 68400cd347
add explicit bootnodes for rinkeby
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 13:03:37 +01:00
Jakub Sokołowski e498a9d103
add explicit bootnode for rinkeby
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-21 12:42:31 +01:00
Jakub Sokołowski aebb724874
fix alias changes for geth
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-20 14:43:55 +01:00
Jakub Sokołowski d0bb1d50bb
drop -it options for call with --exec
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-20 10:07:52 +01:00
Jakub Sokołowski aa98b2ef8b
update readme files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-20 09:59:59 +01:00
Jakub Sokołowski bf6c9b76f0
add ageth wrapper for managing geth
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-20 09:59:51 +01:00
Jakub Sokołowski a98ea99095
add keystore to faucet geth to manage account
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-20 09:59:45 +01:00
Jakub Sokołowski 45ee58d675
add localhost to available geth aliases
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-20 09:03:25 +01:00
Jakub Sokołowski 0b50c05885
add emergency inventory for ropsten
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 23:12:02 +01:00
Jakub Sokołowski 80559598b9
fix miner listeing port
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 23:11:47 +01:00
Jakub Sokołowski ad1cc0dd2b
enable 30303 for geth on master
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 20:26:12 +01:00
Jakub Sokołowski a479245234
tell geth what vhost to expect from clients
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 20:08:59 +01:00
Jakub Sokołowski 19e8027f7c
add unused for now veriy step
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 17:28:13 +01:00
Jakub Sokołowski 8fc95fd208
fix faucet consul config, add container auto updates
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 17:27:49 +01:00
Jakub Sokołowski b317719f65
make geth miner use existing account
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 13:16:25 +01:00
Jakub Sokołowski f75d82bc19
re-enable faucet-master playbook
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 12:08:43 +01:00
Jakub Sokołowski 7c8a33eb1b
add initial faucet role
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 12:08:13 +01:00
Jakub Sokołowski 3a7ab8d923
improve account vcreation for miners
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 11:53:21 +01:00
Jakub Sokołowski 5b124d1aa7
update inventory after host being replaces
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-19 11:53:12 +01:00
Jakub Sokołowski 24ba5a59da
upgrade to v1.8.23
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 22:25:02 +01:00
Jakub Sokołowski 8209227cd3
drop deprecated --etherbase argument, use new one
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 22:23:48 +01:00
Jakub Sokołowski 2793e934bc
add emergency inventory
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 22:21:02 +01:00
Jakub Sokołowski 348df7d675
fix miner configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 22:20:32 +01:00
Jakub Sokołowski 0aa31c9c1b
add basic geth-miner role for miners
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 17:13:26 +01:00
Jakub Sokołowski 690b4d899f
add initial groupvars
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 17:13:20 +01:00
Jakub Sokołowski 8fc5149369
add first playbooks
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 16:44:43 +01:00
Jakub Sokołowski 731d4a1b2c
add terraform.py, and requirements.yml
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-18 16:31:46 +01:00