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

Remote XDCR cluster still listed after removal

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.0.0
    • 3.0.1, 3.0.3
    • XDCR
    • Security Level: Public
    • None
    • CentOS 6.5 w/ Couchbase-server EE 3.0.3 (also 3.0.1)
    • Untriaged
    • Centos 64-bit
    • Unknown

    Description

      After deleting a remote XDCR cluster definition (either via the GUI or CLI) it is gone in the GUI, but still listed via the CLI.

      Steps to reproduce:
      0. Clean install of couchbase-server-3.0.3-1716.x86_64

      1. cluster init

      2. Define remote XDCR cluster

      1. couchbase-cli xdcr-setup -u Administrator -p admin123 -c 127.0.0.1 --create \
        --xdcr-cluster-name=OtherCluster --xdcr-hostname=test1d.lab:8091 \
        --xdcr-username=Administrator --xdcr-password=admin123
        SUCCESS: init/edit OtherCluster
      1. couchbase-cli xdcr-setup -u Administrator -p admin123 -c 127.0.0.1 --list
        cluster name: OtherCluster
        uuid: 4a4d2ae53f323b727ac11aa7449fc768
        host name: test1d.lab:8091
        user name: Administrator
        uri: /pools/default/remoteClusters/OtherCluster

      3. Remove remote XDCR cluster

      1. couchbase-cli xdcr-setup -u Administrator -p admin123 -c 127.0.0.1 --delete \
        --xdcr-cluster-name="OtherCluster"
        SUCCESS: delete OtherCluster

      Still visible via CLI, gone in GUI:

      1. couchbase-cli xdcr-setup -u Administrator -p admin123 -c 127.0.0.1 --list
        cluster name: OtherCluster
        uuid: 4a4d2ae53f323b727ac11aa7449fc768
        host name: test1d.lab:8091
        user name: Administrator
        uri: /pools/default/remoteClusters/OtherCluster

      4. It is actually removed, as deleting again fails:

      1. couchbase-cli xdcr-setup -u Administrator -p admin123 -c 127.0.0.1 --delete \
        --xdcr-cluster-name="OtherCluster"
        ERROR: unable to delete xdcr remote site 127.0.0.1 (404) Object Not Found
        unknown remote cluster

      Attachments

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

        Activity

          People

            arunkumar Arunkumar Senthilnathan (Inactive)
            penacho Robert Groenenberg
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty