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

[Analytics][K8S] : Service 'cbas' exited with status 2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 7.6.4
    • 7.6.1
    • analytics
    • CAO Image : couchbase/couchbase-operator:2.7.0-arm64
      Couchbase Enterprise Edition 7.6.1-3200
      Couchbase Enterprise Edition 7.2.5-7596
      Environment : Kind Kubernetes environment run locally on Mac

    Description

      Steps to reproduce

      1. Created a 3 node cluster on k8s with operator with all services. 
      2. Created a bucket with 0 docs.
      3. Upgraded the cluster from 7.2.5-7596 to 7.6.1-3200.
      4. The last node swap rebalance was failed manually by killing memcached.
      5. A downgrade was issued post that.
      6. Post full cluster downgrade, an upgrade was issued.
      7. Post upgrade the storage backend of the bucket was changed from couchstore to magma.
      8. Service analytics crashes

      Service 'cbas' exited with status 2. Restarting. Messages:
      main.(*Mgr).areServerGroupsBalancedLOCKED(0x40000ca280)
      goproj/src/github.com/couchbase/cbas/cbas/manager.go:1948 +0x80
      main.(*Mgr).ensureSeverGroupsLOCKED(0x40000ca280)
      goproj/src/github.com/couchbase/cbas/cbas/manager.go:1930 +0x20
      main.monitorServerGroups.func1.(*Mgr).serverGroupsVersionUpdated.func1(0x4000563d88?)
      goproj/src/github.com/couchbase/cbas/cbas/manager.go:1924 +0x23c
      main.(*Mgr).updateStateLOCKED(0x40000ca280, 0x8106b0?)
      goproj/src/github.com/couchbase/cbas/cbas/manager.go:1247 +0x34
      main.(*Mgr).updateState(0x40000ca280, 0x26?)
      goproj/src/github.com/couchbase/cbas/cbas/manager.go:1243 +0x68
      main.(*Mgr).serverGroupsVersionUpdated(...)
      goproj/src/github.com/couchbase/cbas/cbas/manager.go:1913
      main.monitorServerGroups.func1({0x83ae80?, 0x40004bc140?})
      goproj/src/github.com/couchbase/cbas/cbas/high_availability.go:86 +0x6c
      main.runObserveStreamingEndpoint.func1()
      goproj/src/github.com/couchbase/cbas/cbas/compat.go:400 +0x264
      created by main.runObserveStreamingEndpoint in goroutine 47
      goproj/src/github.com/couchbase/cbas/cbas/compat.go:380 +0x53c 

      Attachments

        Issue Links

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

          Activity

            People

              raghav.sk Raghav S K
              raghav.sk Raghav S K
              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