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

User roles upgrade is unsafe

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • Morpheus
    • 6.6.3, 7.0.2, 7.1.0
    • ns_server
    • Triaged
    • 1
    • Unknown

    Description

      We upgrade user roles before the corresponding upgrade of compat version.

      This has multiple implications when the compat version upgrade fails:

      1. It's possible to add an older node to the cluster. This node will not understand the updated user roles.

      2. Until the compat version is properly updated, the users whose roles were updated may not be able to perform certain operations. This is because the set of roles that we check against depends on the compat version. So, for example, a security_admin that got upgraded will be locked out until compat version is upgraded.

      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
              Aliaksey Artamonau Aliaksey Artamonau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty