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

CLI Command allows rebalance when a node of cluster is down

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Blocker
    • 3.0
    • 3.0
    • tools
    • Security Level: Public
    • None
    • All operating systems
    • Untriaged
    • Unknown

    Description

      1. Create 3 node cluster
      2. Stop 1 Node
      3. Add one node
      4. Rebalance cluster via cli

      Step 4 should not be allowed since UI disallows rebalance in this case. However, it is allowed by CLI and it fails

      Example

      Rebalance failed. See logs for detailed reason. You can try rebalance again.
      [root@palm-10308 bin]# ./couchbase-cli server-add -c 10.6.2.144 -u Administrator -p password --server-add=10.6.2.149:8091 --server-add-username=Administrator --server-add-password=password
      SUCCESS: server-add 10.6.2.149:8091
      [root@palm-10308 bin]# ./couchbase-cli rebalance -c 10.6.2.144 -u Administrator -p password
      INFO: rebalancing
      Rebalance failed. See logs for detailed reason. You can try rebalance again.
      [root@palm-10308 bin]# ./couchbase-cli rebalance -c 10.6.2.144 -u Administrator -p password
      INFO: rebalancing
      Rebalance failed. See logs for detailed reason. You can try rebalance again.
      [root@palm-10308 bin]#

      Attachments

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

        Activity

          People

            anil Anil Kumar (Inactive)
            parag Parag Agarwal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty