Page MenuHomeSoftware Heritage

webapp: Point main frontend to main db (belvedere)
ClosedPublic

Authored by ardumont on Fri, Sep 4, 8:55 AM.

Details

Summary

As a temporary solution for somerset running out of disk space.

Related to T2562

Test Plan

octocatalog-diff:

.../puppet-environment $ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging moma
Found host moma.softwareheritage.org
Cloning into '/tmp/swh-ocd.wkxiuUdR/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.wkxiuUdR/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host moma.softwareheritage.org
I, [2020-09-04T08:55:50.643782 #16833]  INFO -- : Catalogs compiled for moma.softwareheritage.org
I, [2020-09-04T08:55:52.138109 #16833]  INFO -- : Diffs computed for moma.softwareheritage.org
diff origin/production/moma.softwareheritage.org current/moma.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/storage/storage.yml] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         cls: local
         args:
      -    db: host=somerset.internal.softwareheritage.org port=5432 user=swhstorage dbname=softwareheritage
      +    db: host=db.internal.softwareheritage.org port=5432 user=swhstorage dbname=softwareheritage
             password=swh::deploy::storage::db::password
           objstorage:
*******************************************
*** End octocatalog-diff on moma.softwareheritage.org

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

ardumont created this revision.Fri, Sep 4, 8:55 AM
ardumont added inline comments.Fri, Sep 4, 10:14 AM
data/hostname/moma.softwareheritage.org.yaml
16

should be db.internal....
Fixing

ardumont updated this revision to Diff 13686.Fri, Sep 4, 10:20 AM

Fix to use db instead of belvedere (which moma does not know how to resolve)

ardumont edited the test plan for this revision. (Show Details)Fri, Sep 4, 10:20 AM
This revision was not accepted when it landed; it landed in state Needs Review.Fri, Sep 4, 10:21 AM
This revision was automatically updated to reflect the committed changes.