Page MenuHomeSoftware Heritage

staging: Deploy swh-search rpc backend on search0
ClosedPublic

Authored by ardumont on Dec 4 2020, 4:13 PM.

Details

Summary

Related to T2817

Test Plan

vagrant up staging-search0 happy

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

anlambert added inline comments.
data/deployments/staging/common.yaml
270

The webapp can query elasticsearch to get some info related to scheduler tasks associated to save code now requests https://forge.softwareheritage.org/source/swh-web/browse/master/swh/web/common/origin_save.py$505

That line is webapp specific config so I do not think it is at the the right place ;-)

data/deployments/staging/common.yaml
270

The webapp can query elasticsearch to get some info related to scheduler tasks associated to save code now requests
https://forge.softwareheritage.org/source/swh-web/browse/master/swh/web/common/origin_save.py$505

Thanks, I completely forgot about that ;)

That line is webapp specific config so I do not think it is at the the right place ;-)

Right.

We are pondering whether we should move those tasks in the new dedicated cluster outside of the logging cluster (the production one is a logging cluster mostly, it just so happens we have origins and tasks related thrown in the mix as well).

Also there is the consideration that the scheduler db will at some point migrate to a new schema (current refactoring on scheduler/lister).
That actually means the tasks won't stay in their current form (or something...)

ardumont retitled this revision from wip: staging: Deploy swh-search rpc backend on search0 to staging: Deploy swh-search rpc backend on search0.Dec 7 2020, 6:37 PM
vsellier added a subscriber: vsellier.

As discussed together, we will need several instances of the journal to be able to use different prefixes.
It should be managed by puppet to

This revision now requires changes to proceed.Dec 8 2020, 11:17 AM

My previous comment was not for this diff but for D4668 :)

This revision is now accepted and ready to land.Dec 8 2020, 11:31 AM
  • squash commits together
  • Rework comment message