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

cluster-init CLI done changes on the server even if parameter not specified error thrown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 3.0
    • 2.5.1, 2.5.0
    • tools
    • Security Level: Public
    • None
    • Untriaged

    Description

      [Output of Cluster-init]

      /opt/couchbase/bin/couchbase-cli cluster-init --cluster=localhost:8099 -u Administrator1 -p password1 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8091
      2014-02-05 23:24:21 | INFO | MainProcess | MainThread | [remote_util.execute_command_raw] command executed successfully
      ERROR: option cluster-init-ramsize is not specified

      There are two problems:

      1. Why cluster-init command done the changes on the server if parameter was not right.
      2. Why cluster-init command done the changes if server was already initialized. It should fail that "Server is already initialized, to make any changes use cluster-edit command"

      NOTE: cluster-edit works fine.

      [Output of cluster-edit]
      /opt/couchbase/bin/couchbase-cli cluster-edit --cluster=127.0.0.1:8099 -u Administrator1 -p password1 --cluster-init-username=Administrator --cluster-init-password=password --cluster-init-port=8091
      SUCCESS: init 127.0.0.1

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            sangharsh Sangharsh Agarwal
            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