Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-11928

Drop consul-template for deployment

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2021-09-06
    • Component/s: Admin, Back-end
    • Labels:
      None

      Description

      consul-template frequently writes invalid DBDefs.pm files in production (possibly due to services flapping in consul) and sometimes doesn't recover without manual intervention. Since we're not sure why it does this, and because DBDefs.pm rarely actually changes, removing it altogether would greatly lessen the sysadmin burden of constantly dealing with 50x errors due to mysterious consul behavior.

      The production flow following this commit will be to store a DBDefs.pm for each type of container in docker server configs, copy them into the containers once started, run dbdefs_to_js.pl, and start either the website or webservice runit service.

        Attachments

          Activity

            People

            Assignee:
            bitmap Michael Wiencek
            Reporter:
            yvanzo yvanzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2021-09-06