Commit Graph

70 Commits

Author SHA1 Message Date
Jakub Sokołowski 5fa11e1538
update: do not build if branch is stable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-23 12:38:32 +02:00
Jakub Sokołowski 5e0990851b
consul: add consul interval, timeout, disabled vars
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-23 12:37:57 +02:00
Alexis Pentori a15ca75072
update: add download binary method to update the BN
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-03-28 11:13:16 +01:00
Jakub Sokołowski 0b41cfe3b1
monitor: service for updating consul metadata
Part of effort to create a fleets dashboard:
https://github.com/status-im/infra-nimbus/issues/174

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-12 16:55:53 +01:00
Jakub Sokołowski 314a9d7d21
service: allow skipping service restart
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-08 15:37:02 +01:00
Jakub Sokołowski 3642b4b5ca
service: drop obsolete --slashing-db-kind flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-28 23:38:43 +02:00
Jakub Sokołowski c28a059026
update list of valid network names, add holesky
https://github.com/status-im/infra-nimbus/issues/152

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-09-15 08:17:44 +02:00
Jakub Sokołowski 6aa5e402d3
consul: support for failures_before settings
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-08-07 14:51:50 +02:00
Jakub Sokołowski fdce443116
service: use new --validator-monitor-details flag
Replaced `--validator-monitor-totals` in:
https://github.com/status-im/nimbus-eth2/pull/4468

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-07 18:08:52 +02:00
Etan Kissling 03511966a3
service: allow configuring --rest-allow-origin
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-05 12:41:57 +02:00
Etan Kissling 345744a653
service: update `beacon_node_rest_max_headers_size` default
The default changed to 128 in `status-im/nimbus-eth2` #4556

Signed-off-by: Etan Kissling <etan@status.im>
2023-06-04 15:03:24 +02:00
Jakub Sokołowski edba943d03
set default history retention to prune
To match the new default in the upcoming beacon node release.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-23 18:31:19 +02:00
Jakub Sokołowski 52d6f37dec
service: add missing beacon_node_sync_light_client
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-05 20:13:09 +02:00
Jakub Sokołowski 99a445d1ee
service: use new --el flag instead of --web3-url
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-15 11:33:12 +01:00
Jakub Sokołowski 339998be51
service: add beacon_node_history_retention
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-31 15:53:11 +01:00
Jakub Sokołowski 84dc61fcc3
service: drop deprecated RPC flags
https://github.com/status-im/infra-nimbus/issues/130

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-25 12:13:38 +02:00
Jakub Sokołowski 57c90766a2
beacon-node: default to automatic number of threads
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-03 12:09:13 +02:00
Jakub Sokołowski f04d6a4664
service: specify reset max body and max headers size
Necessary due to large size of headers whenn validator-client
has a large number of validators attached.

https://github.com/status-im/infra-nimbus/issues/122

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-23 13:42:11 +02:00
Jakub Sokołowski 3e8e553f1d
configure secrets and validators paths explicitly
Necessary to later provide `/var/empty` as path for both in order to use
validator client service instead of loading validators directly.

https://github.com/status-im/infra-nimbus/issues/122

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-12 15:50:33 +02:00
Jakub Sokołowski 6ea8d84ddc
service: doppelganger exit code is 129
Has been changed in:
https://github.com/status-im/nimbus-eth2/pull/3977/
Because systemd ignores values higher thn 255.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-07 10:28:40 +02:00
Jakub Sokołowski 2a7aca744a
service: use --era-dir flag explicitly
Using symlinks is too implicit and cryptic.
https://github.com/status-im/infra-nimbus/issues/98

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-29 12:30:43 +02:00
Jakub Sokołowski 89a6a9a30a
resync: add a day of random delay
To not trigger for multiple nodes at the same time.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-22 10:53:31 +02:00
Jakub Sokołowski 8b0a4d477f
rsync: run as root to stop and start the service
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-18 10:25:37 +02:00
Jakub Sokołowski 14c956037d
add support for --suggested-fee-recipient flag
https://nimbus.guide/suggested-fee-recipient.html

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-17 17:32:50 +02:00
Jakub Sokołowski 58fab0c4b2
add resync timer and script, disabled by default
https://github.com/status-im/infra-nimbus/issues/98

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-11 18:43:21 +02:00
Jakub Sokołowski aaa9c09a72
service: lower nofile limit to 16384, add comment
We could try to calculate it, but it would be extremely painful.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-08 13:22:59 +02:00
Jakub Sokołowski 1e7e441a06
service: bump NOFILE limit to 65536
Otherwise some nodes can get errors like this at startup:
```json
{
  "lvl": "ERR",
  "ts": "2022-08-08 09:23:42.290+00:00",
  "msg": "Failed to read passphrase file",
  "error_msg": "Too many open files",
  "path": "/data/beacon-node-ropsten-unstable-01/data/secrets/0x876138af9ba2a7e0ff0ebf1f40f31365ddc1611f15f64934dbe145c82faaec00569840a53865ccaa43667c02a610a5f7"
}
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-08 11:26:22 +02:00
Etan Kissling 8da4d67444
update LC data defaults (#13)
Syncs LC data defaults with `nimbus-eth2` -> `beacon_chain/conf.nim`.

Signed-off-by: Etan Kissling <etan@status.im>
2022-07-29 20:53:56 +02:00
Jakub Sokołowski 9ae76b4927
config: support symlinking ERA files directory
https://github.com/status-im/infra-nimbus/issues/98

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-20 16:21:41 +02:00
Jakub Sokołowski f46cb5e974
drop unused secrets and validators vars
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-20 14:06:29 +02:00
Artur Marud 251a4c0cd5
add `beacon_node_payload_builder_enabled` flag (#12)
Signed-off-by: Artur Marud <artur@status.im>
2022-07-18 18:44:06 +02:00
Artur Marud 3841d94018
add support for `payload_builder` option (#11)
Refers: https://github.com/status-im/nimbus-eth2/pull/3883

Signed-off-by: Artur Marud <artur@status.im>
2022-07-18 16:38:55 +02:00
Jakub Sokołowski f4259bdfe7
drop pointless shared_ subfolder from data path
It was something compied from `nimbus-eth2` repo that has no purpose on
server hosts, and makes Ansible rolles more confusing with extra variables.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-18 09:52:45 +02:00
Jakub Sokołowski 34d59ad6b2
add support for specifying shared JWT secret token
Necessary to work with `nimbus-eth1` as it uses JWT tokens by default.
https://github.com/status-im/infra-nimbus/issues/111

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-07 20:05:55 +02:00
Jakub Sokołowski ba0b67fab1
drop -d:testnet_servers_image from build flags
No longer has any effect.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-29 08:32:04 +02:00
Etan Kissling a0dc74bba7
add beacon_node_light_client_data_max_periods (#10)
Allows overriding `--light-client-data-max-periods` as introduced in
https://github.com/status-im/nimbus-eth2/pull/3799

Signed-off-by: Etan Kissling <etan@status.im>
2022-06-27 17:24:33 +02:00
Artur Marud 775ada4823
Added "sepolia" as valid network name
Signed-off-by: Artur Marud <artur@status.im>
2022-06-17 11:04:37 +02:00
Etan Kissling 27243637e5
renamed BN light client data options (#8)
Adjusts for the new names of BN light client data config options
* `--serve-light-client-data` --> `--light-client-data-serve`
* `--import-light-client-data` --> `--light-client-data-import-mode`

Signed-off-by: Etan Kissling <etan@status.im>
2022-06-14 11:15:22 +02:00
Jakub Sokołowski a573ab89f2
add beacon_node_extra_flags variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-02 18:03:46 +02:00
Artur Marud 53a8258d98
Added "ropsten" as valid network name
Signed-off-by: Artur Marud <artur@status.im>
2022-05-25 12:53:27 +02:00
Jakub Sokołowski 907ee4b66a
drop redundant --proposer-boosting-debug flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-04-12 19:57:06 +02:00
Etan Kissling 15b7b7eec6 add beacon_node_light_client_data_* variables
To control the `--serve-light-client-data` and
`--import-light-client-data` flags.

Signed-off-by: Etan Kissling <etan@status.im>
2022-03-25 16:57:04 +01:00
Jakub Sokołowski eb618e976f
disable JSON-RPC API port by default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-22 18:58:01 +01:00
Jakub Sokołowski 15446b6199
config: add sync.sh wrapper script
For easier initiation of sync from another node.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-22 18:51:19 +01:00
Jakub Sokołowski 79839d307d
checks: add kiln to valid networks
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-11 13:27:50 +01:00
Jakub Sokołowski 0dc85839fa
add beacon_node_proposer_boosting_debug variable
To control the `--proposer-boosting-debug` flag.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-07 12:26:24 +01:00
Jakub Sokołowski 558b4069d4
restart.sh: restarting without missing an action
Watches metrics endpoint for `next_action_wait` metrics and compares
against the required number of seconds to perform restart.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-18 10:53:07 +01:00
Jakub Sokołowski d4781ba010
add beacon_node_build_restarts_service var
The prod fleet needs a way to avoid automatic restarts.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-18 10:15:37 +01:00
Zahary Karadjov 871b4d5c20 Allow using a custom Nim version when building the beacon node 2022-02-17 10:41:24 +01:00
Jakub Sokołowski 5f50a97c07
add support for --validator-monitor-pubkey flags
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-01-27 20:44:40 +01:00