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

After upgrade cluster is in compatibility mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 5.0.0
    • 5.0.0
    • ns_server
    • 3217

    Description

      1. Create a 2 node cluster and create 2 buckets - one sasl and one non-sasl. Install travel-sample. Cluster is 4.6
      2. Create 10 users - admin, cluster_admin, bucket_admin(for both the buckets above), bucket_admin[*], views_admin[*], views_admin(non-sasl), replication admin, readonly admin. Another 5 users with 3 for bucket_admin[sasl] and bucket_admin[non_sasl]
      User above are ldap users.
      3. Upgrade the cluster using swap rebalance.
      4. After upgrade the cluster is in 4.6 compatibility mode.

      Upgrade of users fail:

      Unsuccessful user storage upgrade.
      {error,{badmatch,unchanged},
      [{menelaus_users,'-do_upgrade_to_spock/2-fun-1-',2,
      [{file,"src/menelaus_users.erl"},{line,598}]},
      {lists,foreach,2,[{file,"lists.erl"},{line,1323}]},
      {menelaus_users,upgrade_to_spock,2,
      [{file,"src/menelaus_users.erl"},{line,526}]},
      {cluster_compat_mode,do_upgrades,5,
      [{file,"src/cluster_compat_mode.erl"},
      {line,212}]},
      {cluster_compat_mode,do_consider_switching_compat_mode,2,
      [{file,"src/cluster_compat_mode.erl"},
      {line,233}]},
      {ns_orchestrator,consider_switching_compat_mode_dont_exit,0,
      [{file,"src/ns_orchestrator.erl"},{line,1065}]},
      {ns_orchestrator,consider_switching_compat_mode,0,
      [{file,"src/ns_orchestrator.erl"},{line,1055}]},

      Attachments

        Issue Links

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

          Activity

            People

              artem Artem Stemkovski
              ritam.sharma Ritam Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty