Ivan Folgueira Bande
062cb6d51a
set max_locks_per_transaction to 2160
...
We are using partitions in our postgres DBs. And we have one
partition per hour (24 partitions per day.)
The default max_locks_per_transaction value (64) can cause
"our of memory" and block issues in the DB because we use to
have more than 64 partitions.
With 2160 we aim to avoid that issue for 90 days (2160 == 90*24.)
if we consider a time retention policy of 90 days. Nevertheless,
we usually have time retention policy of 30 days in our Status fleets,
but we are just adding some extra margin.
2024-06-26 13:15:24 +02:00
46c7a759b9
versions.tf: upgrade pass provider to 2.1.1
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-24 13:29:35 +02:00
a7e9cb6e30
ansible/roles.py: fix pull call to handle up-to-date repo
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-24 08:50:45 +02:00
9fce0e4211
ansible: add roles.py script to manage roles
...
https://github.com/status-im/infra-template/pull/5
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-13 17:17:56 +02:00
6ae82c6c09
requirements: bump postgres-ha role
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-13 17:17:42 +02:00
a8162303d8
store-db: double size of hosts to handle big queries
...
We've been experience extremely high average load reaching 30-40, most
probably due to unoptimized queries. Doubling hosts to at least allow
easier debugging of issues.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-12 17:22:13 +02:00
Alexis Pentori
7178fc4d83
store: set logrotate frequency to hourly
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-06-10 10:31:15 +02:00
f26e7f2708
readme: update entrees for all fleets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-06 15:06:52 +02:00
89c487dfcc
requirements: bump nim-waku to use new compose module
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-03 14:19:59 +02:00
Ivan Folgueira Bande
dc9b6f5a81
boot: set max msg size to 1024KiB to fit store nodes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-03 10:21:08 +02:00
9bbed44078
test: bump data volumes to 150 GB
...
Migrations introduced in `0.26.0` need more than twice the currently
used space to be performed. Stupid.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-24 10:04:03 +02:00
e1b4be4a24
store: un-command nim_waku_node_key variable
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-23 18:10:15 +02:00
aa3e653a53
store: lower sensitivity of consul healthchecks
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-12 10:30:30 +02:00
e7b1cdcb85
lookup_plugins/bitwarden: ignore stderr
...
Otherwise we get weird JSON parsing errors:
```
An unhandled exception occurred while running the lookup plugin 'bitwarden'.
Error was a <class 'json.decoder.JSONDecodeError'>, original message:
Extra data: line 1 column 843 (char 842). Extra data: line 1 column 843 (char 842)
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-07 14:55:51 +02:00
Anton Iakimov
f39afef54d
boot: logrotate hourly due to lots of DBG logs
2024-04-24 16:01:04 +02:00
883893f547
deploy new shards.staging fleet
...
https://github.com/status-im/infra-shards/issues/29
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-18 20:48:58 +01:00
4ef143ed20
ansible/main: run DB setup before node setup
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-18 20:06:16 +01:00
f116eef7ce
requirements: bump certbot to fix init
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-18 18:39:43 +01:00
ae852ef9b1
versions: upgrade cloudflare provider, drop account_id
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-18 16:25:08 +01:00
3f5c9ea4cb
store: drop temporary image lock for store-02.gc
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-15 19:15:59 +01:00
3c60a6dcde
boot,store: go back to using proper deploy branches
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-15 14:27:38 +01:00
74be1115c6
boot,store: use both new and old domain names
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-15 14:27:37 +01:00
c87a3310ac
ansible/inventory: update to use status.im domain
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-14 22:57:09 +01:00
81850e6466
requirements: use full names for all roles
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-14 21:56:06 +01:00
01e2f7bc1e
drop statusim.net domain config in favor of status.im
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-14 21:56:05 +01:00
dbb007ef4d
requirements: bump nim-waku role
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-14 17:19:09 +01:00
717b37aa0c
node: expose config.toml using Nginx server
...
This can then be linked from the new https://fleets.waku.org/ .
https://github.com/status-im/infra-misc/issues/229
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-07 12:44:09 +01:00
04be3c33d4
requirements: bump nim-waku role to use config file
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-04 22:15:17 +01:00
bde743c656
boot,store: add /waku/2/rs/16/1 topic
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-04 22:09:38 +01:00
1e025a18ff
boot,store: temporarily lock image at v0.24.0
...
Attempt to upgrade to 0.25.0 caused major connectivity issues.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-29 20:11:22 +01:00
352c55ff73
boot,store,db: add serial setting for playbook
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-29 13:36:08 +01:00
6004610d63
boot,store: add cluster ID required for 0.25.0
...
16 is the value "reserved" for status fleets with static sharding
https://rfc.vac.dev/spec/51/#static-sharding
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-29 12:34:10 +01:00
5169eb13a5
requirements: bump nim-waku to fix consul definition
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-23 12:34:41 +01:00
Alexis Pentori
968ebdf925
store-db: increasing data volume to 100GB
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-02-02 09:47:17 +01:00
1813cf46ca
store: set max-msg-size to 1024KiB
...
https://github.com/waku-org/nwaku/issues/2305
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-02-01 13:41:18 +01:00
Anton Iakimov
abe3642480
nim-waku: add --ip-colocation-limit flag
...
https://github.com/status-im/infra-shards/issues/27
2024-01-24 15:25:34 +01:00
8a94903ad0
store-db: disable database backups
...
We don't need them currently.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:53:23 +01:00
32662b3bd8
store-db: add Write Ahead Log size limits
...
Related to:
https://github.com/status-im/infra-role-postgres-ha/issues/3
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:05:26 +01:00
6b5b7046af
boot,store: drop stopping non-existent websockify
...
It causes certbot timer to fail at startup.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-08 13:43:26 +01:00
b664180c9d
requirements: bump certbot role
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-08 13:43:24 +01:00
9345291a26
store-db: disable db dump timer
...
Not necessary for now, failes due to timeouts.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-02 13:38:44 +01:00
Anton Iakimov
ae8ff33aa2
nim-waku: switch to harbor and nim-waku service id
2023-12-29 17:14:00 +01:00
Alexis Pentori
85894a4713
shards: enable native websocket port
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-12-14 14:25:34 +01:00
Alexis Pentori
c4b1eaf9ea
requirements: bump infra-role-nim-waku and infra-role-postgres-ha
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-12-14 09:52:41 +01:00
1cb58b2c23
boot: disable trace logs, switch to debug
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-23 11:31:50 +01:00
710444384b
node-db: disable replication explicitly
...
https://github.com/status-im/infra-role-postgres-ha/commit/97f525e9
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-22 13:30:26 +01:00
bd0b6f510e
requirements: bump nim-waku and postgres-ha
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-03 18:27:38 +01:00
41fb07ca6f
ansible/main.yml: provide 2 fleets to hosts attr
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-14 11:46:21 +02:00
Richard Ramos
40b64f883c
nim-waku: add pubsub topic (32)
2023-10-13 13:44:50 -04:00
5737509777
readme: improve formatting
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-04 15:44:03 +02:00