Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decommission wakuv2 fleets #91

Closed
14 of 23 tasks
jakubgs opened this issue Jan 31, 2024 · 19 comments
Closed
14 of 23 tasks

Decommission wakuv2 fleets #91

jakubgs opened this issue Jan 31, 2024 · 19 comments
Assignees

Comments

@jakubgs
Copy link
Member

jakubgs commented Jan 31, 2024

After discussion in Doha we've come to a conclusion it makes no sense to migrate the wakuv2.* fleets to use Postgres if we already have waku.test that uses it correctly. We have an overabundance of fleets and this chaos needs to be curtailed.

The wakuv2.test fleet is not depended upon the same way as wakuv2.prod is so it should not require a grace period.
In order to decommission wakuv2.prod extra caution will be necessary, due to it's usage in documentation and by 3rd parties.
Only the waku.sandbox fleet should be referenced in public-facing documentation in lieu of wakuv2.prod.

@jakubgs
Copy link
Member Author

jakubgs commented Jan 31, 2024

We don't need to fix ALL references in ALL repos, just the ones that matter, the rest can be fixed when the need arises.

@NagyZoltanPeter
Copy link

@yakimant : Can we wait decomissioning wakuv2.test till this Wed EOB, 14th of Feb?
Last weekend we ran a stress test on our upcoming release and encountered a strange peer disconnect and unsuccessful reconnects afterwards. We would like to ensure if its a continuous issue to trace and/or related to the fleet maybe.
Thank you.

@yakimant
Copy link
Member

Ok, please don't forget to update, when you finish.

@yakimant
Copy link
Member

We have a lot of multiaddr records like this in repostories (this one is for node-01.do-ams3.wakuv2.test.statusim.net):

/ip4/134.209.139.210/tcp/60000/p2p/16Uiu2HAmJb2e28qLXxT5kZxVUUoJt72EMzNGXB47Rxx5hw3q4YjS

I wonde if we can replace them with dns ones (for waku fleet)?

/dns4/node-01.do-ams3.waku.test.statusim.net/tcp/30303/p2p/16Uiu2HAkykgaECHswi3YKJ5dMLbq2kPVCo89fcyTd38UcQD6ej5W

@jakubgs
Copy link
Member Author

jakubgs commented Feb 13, 2024

It should be supported.

@NagyZoltanPeter
Copy link

Ok, please don't forget to update, when you finish.

@yakimant : nwaku 0.25.0 Release testing is ready. You can continue with decommissioning. Thank you for the support.

@yakimant
Copy link
Member

yakimant commented Feb 19, 2024

Issues reappeared during waku.sandbox bootstrap:

@yakimant
Copy link
Member

New Google Cloud images introduced a clash with one of our Linux group ids.
Fixed by moving to another id:
https://github.com/status-im/infra-role-bootstrap-linux/commit/888e765be1c4bfdd464a07572d4494f18afb270c

@yakimant
Copy link
Member

@Ivansete-status please help to figure out waku.sandbox parameters.

Here are ones from waku.test:
https://github.com/status-im/infra-waku/blob/master/ansible/group_vars/node.yml

@Ivansete-status
Copy link
Contributor

Here are ones from waku.test: https://github.com/status-im/infra-waku/blob/master/ansible/group_vars/node.yml

Hi Anton!
For now, we could use similar values but we should separate the waku.test network from the waku.sandbox network.

I vote for just having The Waku Network in waku.sandbox and then waku.test to be connected in a cluster-id != 1.

Then, we need to adapt the following settings accordingly in both fleets:
https://github.com/status-im/infra-waku/blob/master/ansible/group_vars/node.yml#L11-L23
https://github.com/status-im/infra-waku/blob/85e8ad0f7ed46377aec301cf70ee6d2c342867c1/ansible/group_vars/node.yml#L45

WDYT about this fleet separation @jm-clius @alrevuelta ?

@alrevuelta
Copy link

What is waku.sandbox? Does it refer to the sandbox machine? If so, IMHO that's a machine, not a fleet nor a network.

I vote for just having The Waku Network in waku.sandbox and then waku.test to be connected in a cluster-id != 1.
Why do we want these 2 fleets? And when you refer to cluster-id!=1 to which cluster are you referring to?
Why moving TWN to waku.sandbox? afaik that's in waku.test?

@alrevuelta
Copy link

Deploy a new waku.stanbox fleet with autosharding which will be used by js-waku and reference in docs.

Okay, found this in the tittle of the issue. Unsure why this is needed. @fryorcraken ?

@Ivansete-status
Copy link
Contributor

Okay, found this in the tittle of the issue. Unsure why this is needed. @fryorcraken ?

This task is part of the wakuv2.* decommission and therefore, we need replacements beforehand for those fleets.

As an analogy with the current wakuv2.* fleets, it is interesting to keep a stable fleet, waku.sandbox, which users and partners can work with while having a separate testing fleet, waku.test, which receives more regular updates and can be broken more frequently.

The waku.test fleet would be updated on every merged PR.
The waku.sandbox fleet will be updated monthly, per each new nwaku version.

@yakimant
Copy link
Member

yakimant commented Mar 1, 2024

Then, we need to adapt the following settings accordingly in both fleets:
https://github.com/status-im/infra-waku/blob/master/ansible/group_vars/node.yml#L11-L23
https://github.com/status-im/infra-waku/blob/85e8ad0f7ed46377aec301cf70ee6d2c342867c1/ansible/group_vars/node.yml#L45

@Ivansete-status, can you please help to figure out the correct values for the sandbox fleet?

@yakimant
Copy link
Member

yakimant commented Mar 8, 2024

yakimant added a commit to waku-org/waku-tests that referenced this issue Mar 12, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
yakimant added a commit to status-im/status-go that referenced this issue Mar 15, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
yakimant added a commit to status-im/status-mobile that referenced this issue Mar 15, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.

status-im/status-go@a3ad05d...be17e84
yakimant added a commit to status-im/status-desktop that referenced this issue Mar 19, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
yakimant added a commit to status-im/status-go that referenced this issue Mar 19, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
yakimant added a commit to waku-org/nwaku that referenced this issue Mar 20, 2024
yakimant added a commit to waku-org/nwaku that referenced this issue Mar 20, 2024
yakimant added a commit to status-im/status-go that referenced this issue Mar 21, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
yakimant added a commit to status-im/status-mobile that referenced this issue Mar 21, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.

status-im/status-go@894eb57...84ef0ce
yakimant added a commit to status-im/status-desktop that referenced this issue Mar 21, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
@yakimant
Copy link
Member

https://github.com/waku-org/waku-tests is not updated for years.

@jakubgs, @fryorcraken, is it worth it?
waku-org/waku-tests#6

yakimant added a commit to status-im/status-go that referenced this issue Mar 27, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
yakimant added a commit to status-im/status-mobile that referenced this issue Mar 27, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.

status-im/status-go@158bd70...73b2f56
yakimant added a commit to status-im/status-desktop that referenced this issue Mar 27, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
jakubgs pushed a commit to status-im/status-go that referenced this issue May 17, 2024
See status-im/infra-nim-waku#91 for details.

Mostly done automatically. Some parts manually.

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-go that referenced this issue May 17, 2024
See status-im/infra-nim-waku#91 for details.

Mostly done automatically. Some parts manually.

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 17, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@0dbbf7c...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 17, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@0dbbf7c...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 18, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@3103c29...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 20, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@3103c29...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 20, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@3103c29...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 20, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@3103c29...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this issue May 20, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
jakubgs pushed a commit to status-im/status-desktop that referenced this issue May 20, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
@fryorcraken
Copy link

waku-org/waku-tests is not updated for years.

@jakubgs, @fryorcraken, is it worth it? waku-org/waku-tests#6

Repo archived. It's unused.

jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 21, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@3103c29...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-mobile that referenced this issue May 21, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
status-im/status-go@0dbbf7c...92ef58d

Signed-off-by: Jakub Sokołowski <[email protected]>
jakubgs pushed a commit to status-im/status-desktop that referenced this issue May 21, 2024
See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.
jakubgs added a commit that referenced this issue May 27, 2024
@jakubgs
Copy link
Member Author

jakubgs commented May 27, 2024

I've decomissioned wakuv2.test:

jakubgs added a commit to status-im/status-desktop that referenced this issue May 28, 2024
* chore: switch wakuv2 fleet to waku

See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.

* chode: drop eth.staging fleet

Signed-off-by: Jakub Sokołowski <[email protected]>

---------

Signed-off-by: Jakub Sokołowski <[email protected]>
Co-authored-by: Jakub Sokołowski <[email protected]>
@jakubgs
Copy link
Member Author

jakubgs commented Jun 6, 2024

I have also decomissioned most nodes in wakuv2.prod:

The only host remaining is node-01.do-ams3.wakuv2.prod.status.im and will remain until js-waku supports RLN and sharding.

@jakubgs jakubgs closed this as completed Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants