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

[Windows] Rebalancing Out CBAS node fails

    XMLWordPrintable

Details

    • Untriaged
    • Windows 64-bit
    • 1
    • No
    • CX Sprint 285

    Description

      Step to reproduce -
      1. Create cluster as below -

      Node Services CPU_utilization Mem_total Mem_free Swap_mem_used Active / Replica Version
      172.23.137.171 index, kv, n1ql 0.545009083485 5.99 GiB 4.28 GiB 1.98 GiB / 7.62 GiB 0 / 0 7.1.0-2549-enterprise
      172.23.137.168 cbas 17.6566666667 5.99 GiB 3.67 GiB 4.28 GiB / 7.62 GiB 0 / 0 7.1.0-2549-enterprise
      172.23.137.170 kv 36.0982205455 5.99 GiB 3.98 GiB 2.20 GiB / 7.62 GiB 0 / 0 7.1.0-2549-enterprise
      172.23.137.169 cbas 8.725 5.99 GiB 3.78 GiB 4.30 GiB / 7.62 GiB 0 / 0 7.1.0-2549-enterprise
      172.23.137.166 cbas 2.68587453677 5.99 GiB 4.05 GiB 4.05 GiB / 7.62 GiB 0 / 0 7.1.0-2549-enterprise
      172.23.137.167 cbas 3.125 5.99 GiB 4.06 GiB 4.07 GiB / 7.62 GiB 0 / 0 7.1.0-2549-enterprise

      2. Create KV bucket.
      3. Create dataverses, datasets and indexes on CBAS.
      4. Set cbas replica to 3 and rebalance.
      5. Rebalance Out 2 of the CBAS nodes.
      6. While rebalance is under progress, stop couchbase server on one of the outgoing nodes.
      7. Rebalance fails as expected.
      8. Start the couchbase server on the node it was stopped on in step 6.
      9. Try to rebalance out same nodes again. rebalance fails.

      2022-04-07 10:10:32,150 | test  | ERROR   | pool-3-thread-2 | [rest_client:_rebalance_status_and_progress:1541] {u'errorMessage': u'Rebalance failed. See logs for detailed reason. You can try again.', u'type': u'rebalance', u'masterRequestTimedOut': False, u'statusId': u'98b361b48f4ab300fd7d190f973d3b67', u'subtype': u'rebalance', u'statusIsStale': False, u'lastReportURI': u'/logs/rebalanceReport?reportID=7a4d51e0e87672e09cd5da398fdc0d04', u'status': u'notRunning'} - rebalance failed
      

      This test case was passing with build 7.1.0-2534

      Attachments

        Issue Links

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

          Activity

            People

              umang.agrawal Umang
              umang.agrawal Umang
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty