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

We need an error message when no username or password is specified when using the cli interface

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 1.8.1
    • 1.6.5
    • tools
    • Security Level: Public
    • None

    Description

      One of our customers thought our cli was broken when he got an error with the following command below. The problem was that he didn't specify the username and password for the cluster, but the error message doesn't give any information about this being the problem.

      [root@mike_1 ~]# /opt/membase/bin/cli/membase server-list -c 127.0.0.1:8091 --debug
      INFO: running command: server-list
      METHOD: GET
      PARAMS: {}
      ENCODED_PARAMS:
      REST CMD: GET /pools/default
      response.status: 200
      ERROR: command: server-list: 127.0.0.1:8091, 'otpNode'

      [root@mike_1 ~]# /opt/membase/bin/cli/membase server-list -c 127.0.0.1:8091 -u Administrator -p password --debug
      INFO: running command: server-list
      METHOD: GET
      PARAMS: {}
      ENCODED_PARAMS:
      REST CMD: GET /pools/default
      response.status: 200
      ns_1@127.0.0.1 127.0.0.1:8091 healthy active
      [root@mike_1 ~]#

      Attachments

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

        Activity

          People

            farshid Farshid Ghods (Inactive)
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty