Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-2134

Backup script failing in AKS: /data/backups "not an archive directory"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.2.0
    • None
    • None
    • None
    • 18: PE/Tasks/Docs, 20: PE/Docs/Cleanup
    • 1

    Description

      This is causing all backup tests to fail - but only on AKS; EKS and GKE backup tests are not experiencing this issue.

      This was with the latest operator 2.2.0-192 (latest), Server 6.6.1 (and seems to also be happening on 6.6.2 and 7.0), backup 6.6.0-116 (latest). To clarify: these same tests with the same parameters were run on EKS and GKE and passed.

      Attached is cbopinfo for TestFullOnly (other cbopinfos are available), but what I believe to be the important bit:

      2021-04-17T08:07:07 ERROR Failed to list repositories: return code: 1
       
      2021-04-17T08:07:07 ERROR Failed to list repositories: output: b'Error getting archive information: Error opening archive at /data/backups due to `Not an archive directory`\n'Traceback (most recent call last):
       
        File "/opt/couchbase/bin/backup.py", line 1052, in config_repo    cbbackupmgr(args_list)
       
        File "/opt/couchbase/bin/backup.py", line 65, in cbbackupmgr    output = subprocess.check_output(["cbbackupmgr"] + cmd).decode("utf-8").strip()
       
        File "/opt/couchbase/lib/python/runtime/lib/python3.7/subprocess.py", line 395, in check_output    **kwargs).stdout
       
        File "/opt/couchbase/lib/python/runtime/lib/python3.7/subprocess.py", line 487, in run    output=stdout, stderr=stderr)subprocess.CalledProcessError: Command '['cbbackupmgr', 'config', '--archive', '/data/backups', '--repo', 'test-couchbase-zg6j2-2021-04-17T08_07_06']' returned non-zero exit status 1.
      

      Attachments

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

        Activity

          People

            roo.thorp Roo Thorp
            roo.thorp Roo Thorp
            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