Commit Graph

22 Commits

Author SHA1 Message Date
markoburcul 9e6a5a1784
firewall: remove the firewall creation
This is now done with infra-role-open-ports from the infra-nimbus
repository and playbook related to fluffy.

Signed-off-by: markoburcul <marko@status.im>
2024-10-15 16:41:56 +02:00
Jakub Sokołowski 164cd9b1f8
consul: fix healtcheck ID to be unique
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-12 09:34:24 +02:00
kdeme 5337a3b285
service: default to mainnet network
Portal testnet0 got renamed to mainnet.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-22 17:25:55 +02:00
Jakub Sokołowski 8dfeba41ee
consul: add container name to metadata fields
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-03 11:32:42 +02:00
kdeme 354204e7ca
service: add storage-capacity, use instead of static radius
Static radius will cause the database to grow as the total
content on the network grows. This was fine in the beginning
to ensure enough nodes had the content but becomes impossible to
maintain now that the network is growing substancially.
Instead we now set it to a fixed max storage capacity.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-02 10:51:59 +02:00
Jakub Sokołowski c231a4320d
meta: use full names of Ansible roles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-10 13:39:24 +01:00
kdeme cedddac737
Lower fluffy nodes their radius from 253 to 252 2023-11-17 14:11:43 +01:00
Jakub Sokołowski aea77c52db
consul: add ability to disable healthchecks
They are too flaky currently.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-02 12:49:02 +01:00
kdeme 775ba48ed6
service: set testnet0 as default network
Since that's the network that includes our own nodes as bootstrap nodes.
2023-06-29 18:20:21 +02:00
Jakub Sokołowski 8040eec9a1
service: add support for --network flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-28 18:42:26 +02:00
Jakub Sokołowski bb41fcf6ee
build: create repo folder before cloning
Otherwise it fails with:
```
fatal: could not create leading directories of '/data/nimbus-fluffy/repo': Permission denied
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-26 22:50:04 +02:00
Jakub Sokołowski f4c304dcca
consul: add more variables for healcheck parameters
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-12 19:26:39 +02:00
Jakub Sokołowski fc0493b57a
consul: fix extracting ENR record from RPC response
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-04-12 16:23:41 +02:00
Jakub Sokołowski d8f04d0a37
sudo: allow disabling and masking services too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-27 22:39:31 +02:00
Kim De Mey 0e75161807
Set radii for nodes explicitly as a static radius (#1)
The radius option in Fluffy was expanded to allow for a static or
a dynamic radius. The old option where just the number was
provided was kept as working to keep backwards compatiblity. Lets
use static:253 however to be clear about current usage.
2022-06-14 19:09:39 +02:00
Jakub Sokołowski 0f54a4df9f
config: fix creating bootstrap file
Using `join("\n")` desn't work. It just inserts litaral `\n`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 11:21:20 +01:00
Jakub Sokołowski e448cb369a
consul: add ENR address to service metadata
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 00:57:42 +01:00
Jakub Sokołowski a97db210ce
consul: use rpc.sh and discv5_nodeInfo for check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-16 00:57:13 +01:00
Jakub Sokołowski f74b0199c7
parametrize name of service to restart after build
This will allow us to run just one build for all nodes and also restart
all nodes on the host once the build is finished using a wildcard.

Also drop useless `SERVICE_PATH` variable and `pushd`/`popd` calls.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-08 15:48:47 +01:00
Jakub Sokołowski 7945026dc7
add first working version
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-04 13:27:09 +01:00
Jakub Sokołowski c4a9150d3e
add Ansible metadata
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-04 11:56:24 +01:00
Jakub Sokołowski b3f2feb68d
initial empty commit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-04 11:05:23 +01:00