Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-3583

Upgrade started before completion of couchstore to magma migration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • 2.8.0
    • 2.7.0
    • operator
    • Initial Couchbase Version : 7.6.0-2176
      Upgrade Couchbase Version : 7.6.1-3200
      Kubernetes Version : v1.30.0
      CAO and operator : 2.7.0 built locally
      Environment : Kind cluster
    • 0

    Description

      Cluster Setup

      • Kind cluster locally run on Mac
      • 5 nodes with all services
      • 2 buckets
      • Cluster version : 7.6.0-2176
      • Upgrade version : 7.6.1-3200

      Steps taken in the scenario

      • Created a cluster
      • Created 2 buckets
      • Changed the storage backend of one of the cluster from couchstore to magma
      • After swap rebalance of first pod for migration, issued an upgrade
      • The upgrade was started before the migration was fully completed
      • Henceforth, migration and upgrade were completed in a single swap rebalance operation for each pod

      Issue

      • Should the upgrade start before migration is completed?
      • While this definitely saves cost and resources, there could be many failures since this is untested territory.

      cc : Chris Malarky 


      Operator logs:

      https://cb-engineering.s3.amazonaws.com/K8S-3583/cbopinfo-20240717T213656+0530.tar.gz

      Cluster logs:
      https://cb-engineering.s3.amazonaws.com/K8S-3583/collectinfo-2024-07-17T160636-ns_1%40cb-example-0006.cb-example.default.svc.zip
      https://cb-engineering.s3.amazonaws.com/K8S-3583/collectinfo-2024-07-17T160636-ns_1%40cb-example-0007.cb-example.default.svc.zip
      https://cb-engineering.s3.amazonaws.com/K8S-3583/collectinfo-2024-07-17T160636-ns_1%40cb-example-0008.cb-example.default.svc.zip
      https://cb-engineering.s3.amazonaws.com/K8S-3583/collectinfo-2024-07-17T160636-ns_1%40cb-example-0009.cb-example.default.svc.zip
      https://cb-engineering.s3.amazonaws.com/K8S-3583/collectinfo-2024-07-17T160636-ns_1%40cb-example-0010.cb-example.default.svc.zip


      The cao tool and operator images were built locally on this commit

      commit e00cf70597dbc0a7422c82f0efd0a1a28f75bfcd (HEAD -> master, origin/master, origin/HEAD)
      Author: usamah jassat <usamah.jassat@couchbase.com>
      Date:   Thu Jul 11 15:55:19 2024 +0100    K8S-3564: fix TestServerGroupRescheduling when more SGs
          
          Change-Id: I13dabc775ad8f47e6f9f89b3445a19a4dd28112e
          Reviewed-on: [https://review.couchbase.org/c/couchbase-operator/+/212585]
          Reviewed-by: Justin Ashworth <justin.ashworth@couchbase.com>
          Tested-by: Build Bot <build@couchbase.com>

      Attachments

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

        Activity

          People

            justin.ashworth Justin Ashworth
            raghav.sk Raghav S K
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty