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

cbbackupmgr "unambiguous timeout" after 60s when user has incorrect permissions/credentials

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Yes

    Description

      What's the issue?
      We've seen a couple of cases where cbbackupmgr will fail to perform a backup with an "unambiguous timeout" error. This can happen when the given user doesn't have the correct permissions to perform a backup (e.g. the RBAC role lacks DCP_DATA_READER).

      Why are we getting an "unambiguous timeout"?
      gocbcore is not correctly propagating errors to the application though the 'WaitUntilReady' function (see GOCBC-905 for more information). Internally gocbcore continues trying until we have reached the timeout (which we set to 60s).

      What's the fix?
      We must wait until the fix has landed in gocbcore then we can update the manifest. There should be no code changes in cbbackupmgr.

      Attachments

        Issue Links

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

          Activity

            People

              james.lee James Lee
              james.lee James Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty