Uploaded image for project: 'OpenLMIS General'
  1. OLMIS-5051

Reporting Stack doesn't run due to duplicate Consul containers

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects versions: 3.3
    • Fix versions: 3.4
    • Components: None
    • Labels:

      Description

      Problem:
      When OpenLMIS is already running on a developer's machine and they enter the reporting folder and type `docker-compose up` they get an error due to duplicate consul containers trying to bind to the same port

      Error Message:
      "ERROR: for openlmis-ref-distro_consul_1 Cannot start service consul: driver failed programming external connectivity on endpoint openlmis-ref-distro_consul_1: Bind for 0.0.0.0:8500 failed: port is already allocated"

      Expected Behaviour:
      If consul is already running, the reporting service will connect to that running version.

        Checklists

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  peter Peter Lubell-Doughtie
                  Reporter:
                  cappl1 Craig Appl
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: