Page MenuHomeSoftware Heritage

Simplify webapp's deployment in regards to indexer-storage
Closed, MigratedEdits Locked

Description

The actual webapps (moma, webapp0) defines a local indexer backend.
This local indexer backend bounce the query to a remote indexer.

Simplify this to directly make the webapp access the remote indexer.

Event Timeline

ardumont triaged this task as Normal priority.Sep 14 2018, 11:40 AM
ardumont created this task.
ardumont changed the task status from Open to Work in Progress.EditedSep 14 2018, 11:45 AM
ardumont claimed this task.

That also implies some dangling files clean up.

  • webapp0 [2/2]
    • Deploy
    • Clean up dangling files
      • sudo systemctl stop gunicorn-swh-indexer-storage.service
      • Check everything is still fine in regards to webapp
      • sudo systemctl disable gunicorn-swh-indexer-storage.service
      • sudo rm /etc/softwareheritage/storage/indexer.yml
      • sudo puppet agent --test --noop renders nothing to do
      • pergamon: Clean up unneeded icinga check
  • moma [2/2]
    • Deploy (no need)
    • Clean up dangling files [6/6]
      • sudo systemctl stop gunicorn-swh-indexer-storage.service
      • Check everything is still fine in regards to webapp
      • sudo systemctl disable gunicorn-swh-indexer-storage.service
      • sudo rm /etc/softwareheritage/storage/indexer.yml
      • sudo rm /etc/gunicorn/instances/swh-indexer-storage.cfg
      • pergamon: Clean up unneeded icinga check