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

[upgrade] cbbackupmgr failed to restore with cluster_admin role

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Test Blocker
    • 5.5.0
    • 5.5.0
    • ns_server, rbac
    • Centos 7.4 64-bit
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Install Couchbase Server 4.6.0-3573 on 2 centos servers (224 and 225).
      Create default bucket.
      Load 1K to bucket.
      Backup data using cbbackupmgr on 4.6.0 node with admin user.
      Install Couchbase Server 5.5.0-2361 on 2 other centos 7.4 servers (226 and 227).
      Add node 226 and 227 to 4.6.0 cluster and do swap rebalance.
      Cluster is now 5.5.0
      Add user role like admin, cluster_admin, bucket_admin[ALL], bucket_admin[default]
      On node 227 with cbbackupmgr of version 5.5.0, do restore cluster using cluster admin role, Restore failed with error

       [root@s44018 ~]# /opt/couchbase/bin//cbbackupmgr restore --archive /tmp/entbackup --repo backup --cluster http://172.23.121.226:8091 --username cluster_admin  --password password  --start 2018-04-02T13_59_02.20264798-07_00 --end 2018-04-02T13_59_02.20264798-07_00 --no-progress-bar
      Error restoring cluster: Invalid permissions for `set_with_meta` API in the data service
      [root@s44018 ~]# 
      

      This test passed in build 5.5.0-1911

      All upgrade tests with add cluster_admin after upgrade failed due to this error

      Attachments

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

        Activity

          People

            Abhijeeth.Nuthan Abhijeeth Nuthan
            thuan Thuan Nguyen
            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