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

Backup Service test one_off_merge fails with permission denied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Critical
    • None
    • Cheshire-Cat
    • tools
    • centos

    Description

      Summary
      As soon as the test finishes transferring all the data for a cluster, it attempts to access .collection_manifest and fails with permission denied.
       
      Steps to Reproduce

      Run the centos-backup_recovery_backup-service-general-samba test
       
      {Expected Results

      I expected the one off merge task to succeed{{}}
       
      Actual Results

      On trying to access .collection_manifest, fails with

      (Cmd) Error merging data: open /tmp/entbackup_172.23.106.116/da7b7aec-99ab-489e-8895-7e5095bf2ad6/.merge/default-4d38be5f5319834083138df1de7b2365/data/.collection_manifest: permission denied
      

      (Taken from backup-0.log)

      Artefacts
      Same error in test.log:

      [backup_service_base:538] INFO - 
      {'end': '2021-03-02T05:38:50.247087719-08:00',
       'error': 'exit status 1: open '
                '/tmp/entbackup_172.23.96.183/fa05a8de-0b39-45a3-84e3-18bb9f20c8a0/.merge/default-f38ccf88b049edee9dbab304849902b1/data/.collection_manifest: '
                'permission denied',
       'error_code': 2,
       'node_runs': [{'end': '2021-03-02T05:38:50.228419783-08:00',
                      'error': 'exit status 1: open '
                               '/tmp/entbackup_172.23.96.183/fa05a8de-0b39-45a3-84e3-18bb9f20c8a0/.merge/default-f38ccf88b049edee9dbab304849902b1/data/.collection_manifest: '
                               'permission denied',
                      'error_code': 2,
                      'node_id': '1ea820d0fd35ff5f3944cf7ca32560a5',
                      'out': None,
                      'progress': 0.0,
                      'start': '2021-03-02T05:37:03.179951981-08:00',
                      'stats': {'id': None, 'transfers': None},
                      'status': 'failed'}],
       'start': '2021-03-02T05:37:03.180290159-08:00',
       'status': 'failed',
       'target_cluster': None,
       'task_name': 'MERGE-fc769fc2-9f36-4e8e-a235-3b7f5061d5bb',
       'type': 'MERGE'}
      

      Attachments

        1. backup-0.log
          1.68 MB
          Joe Mitchell Jones
        2. backup-0-1.log
          1.68 MB
          James Lee
        3. dirlisting.txt
          1.23 MB
          James Lee
        4. merge-complete.log
          1.10 MB
          James Lee
        5. straces.tar.zst
          14.91 MB
          James Lee
        6. test.log
          202 kB
          Joe Mitchell Jones

        Issue Links

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

          Activity

            People

              joe.mitchelljones Joe Mitchell Jones
              joe.mitchelljones Joe Mitchell Jones
              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