Commit Graph

45 Commits

Author SHA1 Message Date
Jakub Sokołowski 525e6db88a
requirements: bump nim-waku role to include sql flags
https://github.com/status-im/infra-status/issues/9

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-20 13:29:28 +02:00
Hanno Cornelius 09b3d95ad6
fix: sqlite retention time is uint64 (#10) 2022-06-20 12:46:29 +02:00
Hanno Cornelius 3858d8a85b
feat: config for sqlite-only store (#8) 2022-06-20 11:55:39 +02:00
Jakub Sokołowski 988af93ab3
upgrade Terraform version to 1.2.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-06-10 22:03:04 +02:00
Jakub Sokołowski dd76f2c212
status: lowering store capacity to 100k
https://github.com/status-im/infra-status/issues/7

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-26 21:11:51 +02:00
Jakub Sokołowski fc001b2985
status: raise thresholds for alerts and recovery
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-24 23:12:26 +02:00
Jakub Sokołowski 867c63ecfa
status: lowering store capacity further to 200k
This cannot work due to container memory limits set to 70%:
https://github.com/status-im/infra-role-nim-waku/blob/c59aaf4c/defaults/main.yml#L53-L57

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-23 20:07:08 +02:00
Jakub Sokołowski ccc074f24c
status: lower store capacity to half million
1 million is about 1.5 GB, which is a bit match for storing
entirely in memory, so I'm lowering to half of that for now.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-23 00:33:47 +02:00
Jakub Sokołowski f29af66ecb
status: increase store capacity to 1 million
10k is kinda low with message rate of 150 unique envelopes per minute.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-19 20:08:17 +02:00
Jakub Sokołowski 18cdeda02b
ansible/upgrade.yml: remove packages after reboot
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-17 18:58:50 +02:00
Jakub Sokołowski 2debab9c58
upgrade Terraform version to 1.1.0
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-17 18:58:12 +02:00
Jakub Sokołowski 49bbca00c3
Makefile: drop creating cosul-ca.key file
It's not necessary for Terraform backend.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-12 10:03:04 +02:00
Jakub Sokołowski 9dd731b604
ansible.cfg: drop remote_user=admin from config
It made sense when there was only one admin.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-12 10:02:56 +02:00
Jakub Sokołowski d681c21c3a
requirements: add ENR URI to consul services
https://github.com/status-im/infra-nim-waku/issues/42

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-06 19:19:10 +02:00
Jakub Sokołowski 847679f94c
fix opening of Discovery V5 UDP port
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-31 18:22:50 +02:00
Jakub Sokołowski 878231b6ed
readme: add link to prod fleet CI build
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-31 15:55:33 +02:00
Jakub Sokołowski 943fb68c70
enable Discovery V5 for all status nodes
Issue: https://github.com/status-im/infra-status/issues/6
Depends: https://github.com/status-im/infra-role-nim-waku/commit/1e5367c8

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-18 12:46:18 +01:00
Jakub Sokołowski 37c3508180
status: specify node keys from BitWarden
https://github.com/status-im/infra-status/issues/1

In order to make sure we can re-create the hosts with the same address.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-11 18:32:35 +01:00
Jakub Sokołowski 5c37c81859
ansible/main: run bridge setup first
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 18:48:36 +01:00
Jakub Sokołowski 708c86d0b0
bump waku-peers to include script improvements
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 18:44:05 +01:00
Jakub Sokołowski 6e200169fd
nim-waku-bridge: hack to fix 0.0.0.0 in multiaddr
Will be fixed in the code eventually:
https://github.com/status-im/infra-status/issues/4#issuecomment-1064271916

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 18:20:57 +01:00
Jakub Sokołowski 74f5ff8b23
nim-waku-bridge: add missing enode extraction
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 17:45:51 +01:00
Jakub Sokołowski b2142fd80b
add infra-role-waku-peers to connect peers
The logic was extracted to a separate role and Python script:

- https://github.com/status-im/infra-role-waku-peers
- https://github.com/status-im/infra-repos/commit/f3084d4e
- https://github.com/status-im/infra-role-nim-waku/commit/b8b64c0e
- https://github.com/status-im/infra-status/issues/4

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 17:26:44 +01:00
Jakub Sokołowski 4eac21225c
rename groups to be more generic, combine group_vars
This will make managing multiple fleets simpler.
Both prod and test files for nodes were identical.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 14:34:11 +01:00
Jakub Sokołowski 8ba39e1c77
bridge: add node keys for v1 and v2 from BitWarden
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 14:18:48 +01:00
Jakub Sokołowski 75fb7b0a8c
nim-waku-bridge: fix RPC port access and RPC script
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 14:11:19 +01:00
Jakub Sokołowski a95bc51918
nim-waku-bridge: deploy to new bridge nodes
Necessary to connect `eth.test` with `status.test` fleet.
https://github.com/status-im/infra-status/issues/4

Still needs peers to be connected to it.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 14:04:45 +01:00
Jakub Sokołowski ac96e859e1
deploy a new bridge host in each fleet
Will be running `wakubridge` to connect with `eth.*` fleets.
https://github.com/status-im/infra-nimbus/issues/88

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 14:03:17 +01:00
Jakub Sokołowski a7de9e9c6c
rename hosts.tf to nodes.tf
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 09:43:51 +01:00
Jakub Sokołowski 180704cb2f
bootstrap: add extra IP to sshguard whitelist
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-10 09:42:54 +01:00
Jakub Sokołowski a0886ef811
configure nodes on status.prod fleet
https://github.com/status-im/infra-status/issues/1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-09 15:46:53 +01:00
Jakub Sokołowski 64abaa95f8
deploy status.prod with 2 hosts in each DC
https://github.com/status-im/infra-status/issues/1

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-09 15:46:52 +01:00
Jakub Sokołowski aec2391fe7
requirements: bump bootstrap roles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-03 17:37:06 +01:00
Jakub Sokołowski b386e4b4b1
nim-waku: add missing setting for DNS4 domain name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-02 15:04:44 +01:00
Jakub Sokołowski d5f70a0676
readme: add CI Docker image build job link
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-01 15:21:18 +01:00
Jakub Sokołowski 50e58cd459
status.test: use deploy-status-test Docker tag
We want to deploy separate versions from `infra-nim-waku` fleet.
https://github.com/status-im/infra-status/issues/2

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-01 15:11:33 +01:00
Jakub Sokołowski f1a15d6bc4
requirements: bump bootstrap roles
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-24 01:21:51 +01:00
Jakub Sokołowski 380ca2ef46
deploy nim-waku nodes to the test fleet
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 20:40:39 +01:00
Jakub Sokołowski 343c6a5fc0
deploy 1 host in each DC for status.test fleet
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 17:23:44 +01:00
Jakub Sokołowski 129203cbd0
group_vars: fix names of boostrap secrets
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 15:56:27 +01:00
Jakub Sokołowski a0ae03a460
add Makefile
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 15:47:09 +01:00
Jakub Sokołowski 085e90370e
add Ansible boilerplate
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 13:33:51 +01:00
Jakub Sokołowski 1fb1cff06b
add Terraform boilerplate
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 13:28:32 +01:00
Jakub Sokołowski 2c1b2e0c93
add README and gitignore
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 13:23:34 +01:00
Jakub Sokołowski 173191824a
initial empty commit
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-15 13:20:44 +01:00