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

Offline upgrade from 7.0.0 or 7.0.1 on debian and ubuntu package install corrupts config files

    XMLWordPrintable

Details

    • Untriaged
    • Ubuntu 64-bit
    • 1
    • Yes
    • Build Team 2021 Sprint 20

    Description

      Problem
      When an offline upgrade is performed on a debian or ubuntu package install of 7.0.0 or 7.0.1, the chronicle directory gets erased due to an issue in the installer. This regression was introduced due to the fix made for MB-44229. This issue was originally reported by a forum user (https://forums.couchbase.com/t/couchbase-upgrade-issues-from-7-0-0-to-7-0-1/31867/2).

      Steps to reproduce
      1. Create a 2 node Ubuntu 18.04 cluster on 7.0.0 or 7.0.1
      2. Create the travel-sample bucket
      3. Offline upgrade cluster to 7.0.1 (steps can be found here: https://docs.couchbase.com/server/current/install/upgrade-cluster-offline.html)

      What happens:

      Upgrade is marked as successful in the CLI but the admin console does not come up

      What is expected to happen:

      Upgrade goes through fine and we are able to access the admin console. All the data remains intact.

      Logs:
      This issue was originally reproduced on an AWS instance. Logs to which have been attached to the ticket.

      Appendix
      QE has validated that this issue is not observed in all other supported platforms (Centos 7/8, Rhel 7/8, Suse 12/15, Oel 7/8, Amazon Linux 2 and Windows). It is only observed in deb installs in QE testing (Debian 10/11, Ubuntu 18/20).

      Attachments

        Issue Links

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

          Activity

            tony.hillman Tony Hillman added a comment -

            Add to release notes.

            tony.hillman Tony Hillman added a comment - Add to release notes.

            Build cbdeps::erlang-neo-2 contains build-tools commit 9dd764a with commit message:
            MB-48783: Don't release 7.0.0/7.0.1 on apt

            build-team Couchbase Build Team added a comment - Build cbdeps::erlang-neo-2 contains build-tools commit 9dd764a with commit message: MB-48783 : Don't release 7.0.0/7.0.1 on apt

            Build couchbase-server-7.1.0-1637 contains voltron commit 2532c15 with commit message:
            MB-48783: Only purge chronicle files on final removal

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-1637 contains voltron commit 2532c15 with commit message: MB-48783 : Only purge chronicle files on final removal

            Build cbdeps::grpc-1.31.1-2 contains build-tools commit 9dd764a with commit message:
            MB-48783: Don't release 7.0.0/7.0.1 on apt

            build-team Couchbase Build Team added a comment - Build cbdeps::grpc-1.31.1-2 contains build-tools commit 9dd764a with commit message: MB-48783 : Don't release 7.0.0/7.0.1 on apt

            Build cbdeps::curl-7.78.0-5 contains build-tools commit 9dd764a with commit message:
            MB-48783: Don't release 7.0.0/7.0.1 on apt

            build-team Couchbase Build Team added a comment - Build cbdeps::curl-7.78.0-5 contains build-tools commit 9dd764a with commit message: MB-48783 : Don't release 7.0.0/7.0.1 on apt

            People

              thuan Thuan Nguyen
              thuan Thuan Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h

                  Gerrit Reviews

                    There are no open Gerrit changes

                    PagerDuty