Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-10837

Hazelcast only binds to local interface

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 5.11.1
    • None
    • None
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Summary

      When running Bitbucket Server in a dockerised multi-node environment you may run into an issue where the nodes advertise their private networks to each other and thus refuse to let them join the cluster.

      Environment

      • Docker on multiple hosts

      Steps to Reproduce

      1. Configure Bitbucket server to run in a multi node environment inside docker on more than one host

      Expected Results

      Bitbucket server starts up and nodes join the cluster

      Actual Results

      Nodes do not join the cluster

      Wrong bind request from [privateIP]:5701! This node is not requested endpoint: [publicIp]
      

      Workaround

      At present the best workaround is to setup a docker-overlay network
      https://docs.docker.com/network/overlay/

      Suggested Solution

      Hazelcast has a solution to this by way of the configuration property
      hazelcast.local.publicAddress but it is not exposed. Exposing this property should solve this problem.

      Attachments

        Issue Links

          Activity

            People

              dkjellin Daniel
              dkjellin Daniel
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: