Skip to content

Confirm haproxy state infromation from DFSL before starting the DFP container #28

@jwalkins2017

Description

@jwalkins2017

Description
I am using DFP and DFSL together, if the DFP and DFSL container is on the same docker node and the node needs to be taking down for maintenance, the DFP container will general startup before the DFSL, causing 503 to be sent until the DFSL is available.

Steps to reproduce the issue:

  1. Establish a 2 or 3 node docker swarm cluster
  2. Set the replica for DFP service to match the number of nodes in the cluster
  3. Set the node that hosts the DFSL and one of the DFP to drain, while generating http requests

Describe the results you received:
When the DFP moves to another node, it will generate 503's until the DFSL is online

Describe the results you expected:
If the DFP service is configured to use a DFSL, do not start the DFP until the container can gather the correct haproxy cfg from the DFSL.

Additional information you deem important (e.g. issue happens only occasionally):

Additional environment details (AWS, VirtualBox, physical, etc.):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions