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

Can't create cluster reference

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.6.1, 7.0.0
    • Cheshire-Cat
    • cbauth, ns_server
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Just repo synced, made clean and did a fresh build. Seeing this when I try to add a cluster reference:

      CLI works, but UI doesn't.

      I see 401s come back from the remoteClusters endpoint from the UI:

      $ grep remoteClusters http_access.log 
      ::1 - Administrator/UI [28/Sep/2020:16:19:58 -0700] "GET /pools/default/remoteClusters HTTP/1.1" 401 22 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" 19
      ::1 - Administrator/UI [28/Sep/2020:16:20:07 -0700] "POST /pools/default/remoteClusters HTTP/1.1" 401 22 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" 24
      ::1 - Administrator/UI [28/Sep/2020:16:20:15 -0700] "POST /pools/default/remoteClusters HTTP/1.1" 401 22 "http://localhost:9000/ui/index.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36" 19
      

      And 200s from the CLI:

      ::1 - Administrator [28/Sep/2020:16:28:58 -0700] "GET /pools/default/remoteClusters/ HTTP/1.1" 200 2 - "couchbase-cli  7.0.0-0000" 23
      ::1 - Administrator [28/Sep/2020:16:29:44 -0700] "POST /pools/default/remoteClusters HTTP/1.1" 200 264 - "couchbase-cli  7.0.0-0000" 86
      

      Nodes: n_0, n_1 and n_2 are the source cluster. n_3 is the target cluster.

      Attachments

        Issue Links

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

          Activity

            People

              pavithra.mahamani Pavithra Mahamani (Inactive)
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty