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

couchbase-cli: not enough params to edit Cluster Name in xdcr-setup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 3.0
    • 2.2.0
    • tools, XDCR
    • Security Level: Public
    • None
    • 2.2.0-809
    • PCI Team - Sprint 12

    Description

      to edit xdcr-setup we need to know 'previous' Cluster Name and provide 'new' values for
      password
      username
      hostname
      name

      see example of response:

      Request URL:http://10.3.4.144:8091/pools/default/remoteClusters/10.3.4.145a
      Request Method:POST
      Status Code:200 OK
      Request Headersview source
      Accept:application/json, text/javascript, /; q=0.01
      Accept-Encoding:gzip,deflate,sdch
      Accept-Language:en-US,en;q=0.8
      Cache-Control:no-cache
      Connection:keep-alive
      Content-Length:83
      Content-Type:application/x-www-form-urlencoded
      Cookie:ui-auth-10.3.4.144%3A8091=ea2af22e87dc69ede7910eb8c19e1711
      Host:10.3.4.144:8091
      invalid-auth-response:on
      Origin:http://10.3.4.144:8091
      Pragma:no-cache
      Referer:http://10.3.4.144:8091/index.html
      User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
      X-Requested-With:XMLHttpRequest
      Form Dataview sourceview URL encoded
      password:password
      username:Administrator
      hostname:10.3.4.145:8091
      name:10.3.4.145
      Response Headersview source
      Cache-Control:no-cache
      Content-Length:257
      Content-Type:application/json
      Date:Fri, 23 Aug 2013 13:23:30 GMT
      Pragma:no-cache
      Server:Couchbase Server 2.2.0-809-rel-enterprise

      i can't change cluster-name using only the following params:
      xdcr-setup OPTIONS:
      --create create a new xdcr configuration
      --edit modify existed xdcr configuration
      --delete delete existed xdcr configuration
      --xdcr-cluster-name=CLUSTERNAME cluster name
      --xdcr-hostname=HOSTNAME remote host name to connect to
      --xdcr-username=USERNAME remote cluster admin username
      --xdcr-password=PASSWORD remote cluster admin password

      Attachments

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

        Activity

          People

            bcui Bin Cui (Inactive)
            andreibaranouski Andrei Baranouski
            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