Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-4363

REST call for rebalance, examples does not work

    XMLWordPrintable

Details

    Description

      The docs use this syntax,
      curl -v -X POST -u Administrator:password \
      'http://192.168.0.77:8091/controller/rebalance'\
      -d 'knownNodes=ns_1@192.168.0.77,ns_1@192.168.0.56'

      This gives an error with 4.6.5 and higher. The rest API call in the console looks like this.

      curl -v -X POST -u Administrator:password \
      'http://192.168.0.77:8091/controller/rebalance'\
      -d 'ejectedNodes=&knownNodes=ns_1@192.168.0.77,ns_1@192.168.0.56'

      Reporter: Timothy Wong
      E-mail: tim.wong@couchbase.com

      Attachments

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

        Activity

          People

            tony.hillman Tony Hillman (Inactive)
            tim.wong Tim Wong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty