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

couchbase-cli rebalance --server-remove argument parsing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.0.0
    • 5.0.0
    • tools
    • Amazon Linux
      5.0 Beta
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      This command works to rebalance multiple nodes out of the cluster in 4.x:

      /opt/couchbase/bin/couchbase-cli rebalance c 0 -u Administrator -p password --server-remove=ec2-34-209-53-182.us-west-2.compute.amazonaws.com:8091  server-remove=ec2-34-210-223-48.us-west-2.compute.amazonaws.com:8091  server-remove=ec2-34-211-36-85.us-west-2.compute.amazonaws.com:8091  server-remove=ec2-35-163-131-21.us-west-2.compute.amazonaws.com:8091  server-remove=ec2-35-167-62-125.us-west-2.compute.amazonaws.com:8091  server-remove=ec2-52-24-98-172.us-west-2.compute.amazonaws.com:8091  server-remove=ec2-52-38-147-221.us-west-2.compute.amazonaws.com:8091  -server-remove=ec2-52-43-238-163.us-west-2.compute.amazonaws.com:8091

       

       

      On a 5.x cluster, only the last --server-remove is accepted and removed.  The command ignores the remaining servers.  

      In this example only the node ec2-52-43-238-163.us-west-2.compute.amazonaws.com is reblanced out of the cluster.

      Bug is either in the parsing of the arguments or the command line help/online docs do not specify the correct syntax for removing multiple nodes.

       

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            alex Alex Ma [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty