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

CLI needs to be able to take auth info for server-add

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Cannot Reproduce
    • Major
    • 1.6.5
    • 1.6.5
    • tools
    • Security Level: Public
    • None

    Description

      It's unclear exactly how, but when using the 'server-add' command of the CLI, we need to be able to provide (possibly different) authentication for the node being added

      [perry@Membase2 ~]$ /opt/membase/bin/cli/membase server-add -p norths -u Administrator -c 10.1.5.7:8091 --server-add=self
      ERROR: unable to server-add 10.1.5.8: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.1.5.8:8091/engageCluster2. Body was: []']
      ERROR: command: server-add: 10.1.5.7:8091, 2
      [perry@Membase2 ~]$

      Attachments

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

        Activity

          People

            keith Keith Batten (Inactive)
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty