Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3119

Cluster setup: `add_node` fails if node name != "couchdb"

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Adding nodes to a cluster fails if the node names (the `name` of `name@hostname` in vm.args) is different from "couchdb". The code currently infers this name from the port: "node1" if 15984, "node2" if 25984, "node3" if 35984, "couchdb" otherwise. No other possibility.

      This is not suited for a production set-up, where multiple servers could have different names.

        Activity

        Hide
        adrienverge Adrien Vergé added a comment -
        Show
        adrienverge Adrien Vergé added a comment - I posted a fix at: https://github.com/apache/couchdb-setup/pull/11

          People

          • Assignee:
            Unassigned
            Reporter:
            adrienverge Adrien Vergé
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development