Details
-
Bug
-
Resolution: User Error
-
Major
-
6.5.0
-
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'