Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-34057

can't join node from "new-node" using localhost

    XMLWordPrintable

Details

    • Untriaged
    • Unknown

    Description

      When trying to join nodes to my cluster using the pre-TLS commands against 'localhost', I'm getting this error:
       

      [root@ip-10-0-103-129 ~]# /opt/couchbase/bin/couchbase-cli server-add -c [ec2-52-41-160-226.us-west-2.compute.amazonaws.com|http://ec2-52-41-160-226.us-west-2.compute.amazonaws.com/] -u Administrator -p password --server-add localhost:8091 --server-add-username Administrator --server-add-password password
       
      ERROR: Prepare join failed. Failed to establish TLS connection to localhost:8091: "bad record mac"
      

       

      and then trying with :18091 - 

       

      [root@ip-10-0-103-129 ~]# /opt/couchbase/bin/couchbase-cli server-add -c [ec2-52-41-160-226.us-west-2.compute.amazonaws.com|http://ec2-52-41-160-226.us-west-2.compute.amazonaws.com/] -u Administrator -p password --server-add localhost:18091 --server-add-username Administrator --server-add-password password
       
      ERROR: Prepare join failed. Joining node to itself is not allowed.
       
      [root@ip-10-0-103-129 ~]# 
      ---------------------------------^ this is incorrect error
      

       

      and finally doing it with it's DNS name or an IP worked:

      [root@ip-10-0-103-129 ~]# /opt/couchbase/bin/couchbase-cli server-add -c [ec2-52-41-160-226.us-west-2.compute.amazonaws.com|http://ec2-52-41-160-226.us-west-2.compute.amazonaws.com/] -u Administrator -p password --server-add [ec2-54-69-221-253.us-west-2.compute.amazonaws.com:18091|http://ec2-54-69-221-253.us-west-2.compute.amazonaws.com:18091/] --server-add-username Administrator --server-add-password password
       
      SUCCESS: Server added
      

       

      So it seems like there's an issue with using localhost on the 'new node'

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            timofey.barmin Timofey Barmin
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty