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

couchbase-cli - not able to add server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • 2.1.0
    • 2.1.0
    • tools
    • Security Level: Public
    • None
    • Linux 64-bit

    Description

      I am trying to add a server using couchbase-cli. Command :

      ./couchbase-cli server-add -c caper-002.hq.northscale.net:8091 --server-add=caper-004.hq.northscale.net:8091 -u Administrator -p password

      and getting the following error :

      ERROR: unable to server-add caper-004.hq.northscale.net:8091 (400) Bad Request
      [u'Prepare join failed. Authentication failed. Verify username and password. Got HTTP status 401 from REST call post to http://caper-004.hq.northscale.net:8091/engageCluster2. Body was: []']
      ERROR: command: server-add: caper-002.hq.northscale.net:8091, 2

      Tried using IP address instead of hostname :

      ./couchbase-cli server-add -c caper-002.hq.northscale.net:8091 --server-add=10.3.3.96:8091 -u Administrator -p password

      but getting the same error:

      ERROR: unable to server-add 10.3.3.96:8091 (400) Bad Request
      [u'Prepare join failed. Authentication failed. Verify username and password. Got HTTP status 401 from REST call post to http://10.3.3.96:8091/engageCluster2. Body was: []']
      ERROR: command: server-add: 10.3.3.100:8091, 2

      Build used : 2.0.2-769-rel

      Attachments

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

        Activity

          People

            shashank Shashank Gupta
            shashank Shashank Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty