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

couchbase-cli: There is no description/example for cluster-edit, it is identical to cluster-init( Do we really need this duplication?)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.0
    • 2.1.0
    • tools
    • Security Level: Public
    • None

    Description

      build 2.0.2-764

      1.I have not found any mention about cluster-edit in http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-admin-cmdline-couchbase-cli.html
      2. help contains only:
      cluster-edit modify cluster settings
      (there is no information on the parameters)
      3. seems like parameters for cluster-edit & cluster-init are identical and are interchangeable

      [root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password
      SUCCESS: init localhost
      [root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password --cluster-init-password=password1
      SUCCESS: init localhost
      [root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password --cluster-init-password=password1
      ERROR: unable to access the REST API - please check your username (-u) and password (-p)
      [root@localhost bin]# ./couchbase-cli cluster-edit -c localhost:8091 -u Administrator -p password1 --cluster-init-password=password
      SUCCESS: init localhost
      [root@localhost bin]# ./couchbase-cli cluster-init -c localhost:8091 -u Administrator -p password --cluster-init-password=password1
      SUCCESS: init localhost

      I believe that we need to correct such conflict

      Attachments

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

        Activity

          People

            andreibaranouski Andrei Baranouski
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty