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

Drop consul-template for deployment

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2021-09-06
    • None
    • Admin, Back-end
    • None

      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.

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

              Created:
              Updated:
              Resolved:

                Version Package
                2021-09-06