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

"Unexpected server error, request logged" returned on hard failover and ejecting master node

    XMLWordPrintable

Details

    • Untriaged
    • Centos 64-bit
    • 1
    • Unknown

    Description

      Since build: 7.0.0-4291

      Setup: 4 Nodes:

      1. kv
      2. kv, query, index, search
      3. kv, query, index, search
      4. kv, query, index, search

      Issue:
      When performing a hard failover on the 1st node (master), and then ejecting the node, the server returns a "Unexpected server error, request logged" 500 error. It appears that the node does indeed get ejected successfully though. Also, this only happens when the node being ejected was the master node.

      Steps to reproduce:
      On a 4 node cluster as above.

      Hard failover the master node:
      curl -v -X POST -u Administrator:password <node2>/controller/failOver -d 'otpNode=ns_1@<node1>'

      Then try to ejectNode:
      curl -v -X POST -u Administrator:password <node2>:8091/controller/ejectNode -d 'otpNode=ns_1@<node1>'
      This will return the error message.

       

      I've attached logs from a test run that does this.
      Setup of test cluster
      172.23.109.23:::kv
      172.23.104.143:::kv,index,fts,n1ql
      172.23.109.21:::kv,index,fts,n1ql
      172.23.109.22:::kv,index,fts,n1ql

      Attachments

        1. 172.23.104.143.zip
          2.61 MB
        2. 172.23.109.21.zip
          2.77 MB
        3. 172.23.109.22.zip
          2.91 MB
        4. 172.23.109.23.zip
          4.55 MB

        Issue Links

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

          Activity

            People

              artem Artem Stemkovski
              will.broadbelt Will Broadbelt
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty