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

cbbackupmgr error message is not clear about rbac

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • tools
    • Centos 7.x 64-bit
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Install Couchbase Server 5.0.0-3497 on 4 centos 7.x servers
      Create a default bucket and load 1000 docs.
      Create a user rbacuser with roles views_admin[*] that does not have permission to do backup
      Run cbbackupmgr with rbacuser.
      Backup failed as expected but error message does not mention it's permission issue.
      Error message: "Error backing up cluster: Unable to find the latest vbucket sequence numbers. This might be due to a node in the cluster being unreachable"

      /opt/couchbase/bin//cbbackupmgr backup --archive /tmp/entbackup --repo backup --cluster http://172.23.121.224:8091 --username rbacbackup --password password  --no-progress-bar
      2017-08-21 23:25:21,088 - root - INFO - command executed successfully
      2017-08-21 23:25:21,088 - root - INFO - Error backing up cluster: Unable to find the latest vbucket sequence numbers. This might be due to a node in the cluster being unreachable.
      

      Build with error message "Error backing up cluster: Invalid permissions" is 5.0.0-3456

      Attachments

        For Gerrit Dashboard: MB-25767
        # Subject Branch Project Status CR V

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            thuan Thuan Nguyen
            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