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

Updating certificate without stopping xdcr replication causes errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1.0
    • 4.0.0
    • XDCR
    • Security Level: Public
    • None
    • Untriaged
    • Unknown

    Description

      1. Create 2 clusters (A, B), 1 node each
      2. Create ssl enabled cluster ref B -> A
      3. Create replication B/default -> A/default
      4. Regenerate ssl cert on A
      5. Pause replication
      6. Start replication
      7. You'll see bunch of errors like this one: ":x509: certificate signed by unknown authority". Which is OK.
      8. Edit cluster reference, specifying new certificate from A
      9. You'll see the following errors:
      2015-10-06 15:11:22 127.0.0.1:xmem_9f6d7a104b2973bde87710e7846f037d/default/default_127.0.0.1:12000_0:Failed to repair connections to target cluster.
      2015-10-06 15:11:22 127.0.0.1:Can't move update state from 0 to 1
      2015-10-06 15:11:12 127.0.0.1:xmem_9f6d7a104b2973bde87710e7846f037d/default/default_127.0.0.1:12000_1:Failed to repair connections to target cluster.
      2015-10-06 15:11:12 127.0.0.1:Can't move update state from 0 to 1

      10. Pause/Start of replication doesn't help
      11. If you delete replication and create it again, everything gets back to normal

      Attachments

        1. Screen Shot 2015-10-27 at 3.25.59 pm.png
          497 kB
          Arunkumar Senthilnathan
        2. Screen Shot 2015-10-27 at 3.42.28 pm.png
          300 kB
          Arunkumar Senthilnathan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            arunkumar Arunkumar Senthilnathan (Inactive)
            artem Artem Stemkovski
            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