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

xdcr-setup CLI accepts --xdcr-demand-encryption=3 while it should 0 or 1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 2.5.0
    • XDCR
    • Security Level: Public
    • None
    • 2.5.0-1059

    Description

      [root@cen-1413 testrunner]# /opt/couchbase/bin/couchbase-cli xdcr-setup -c 10.3.2.109:8091 --create --xdcr-cluster-name=test --xdcr-hostname=10.3.4.175:8091 --xdcr-username=Administrator --xdcr-password=password --xdcr-demand-encryption=3 --xdcr-certificate=./remote.pem -u Administrator -p password
      SUCCESS: init/edit test

      It should throw error as per the command description --xdcr-demand-encryption can be 0 or 1.

      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
      --xdcr-demand-encryption=[0|1] allow data encrypted using ssl
      --xdcr-certificate=CERTIFICATE pem-encoded certificate. Need be present if xdcr-demand-encryption is true

      Attachments

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

        Activity

          People

            sangharsh Sangharsh Agarwal
            sangharsh Sangharsh Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty