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

couchbase-cli usage incorrect, port shld not be passed in --cluster or -c parameter.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 2.1.0, 3.0
    • 2.1.0
    • tools
    • Security Level: Public
    • None
    • Centos 64-bit

    Description

      root@cen-1910 bin]# ./couchbase-cli -help
      usage: couchbase-cli COMMAND CLUSTER [OPTIONS]

      CLUSTER is --cluster=HOST[:PORT] or -c HOST[:PORT]

      Per cluster usage, port should be passed. But passing a port yields an error:

      [root@cen-1910 bin]# ./couchbase-cli server-list --cluster=10.3.2.49:9001 -u Administrator -p password
      ERROR: command: server-list: 10.3.2.49:9001, (111, 'Connection refused')

      ----------------------------------------------------------------------------------------------------------------
      [root@cen-1910 bin]# ./couchbase-cli server-list -c 10.3.2.49:9001 -u Administrator -p password
      ERROR: command: server-list: 10.3.2.49:9001, (111, 'Connection refused')

      SHOULD BE (without a port):
      [root@cen-1910 bin]# ./couchbase-cli server-list --cluster=10.3.2.49 -u Administrator -p password
      ns_1@127.0.0.1 10.3.2.49:8091 healthy active

      pls fix.

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            maria Maria McDuff (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty