Error in Cloning Submodule with LFS files in Pipeline

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • Component/s: Repository - LFS
    • None
    • 2
    • Severity 2 - Major
    • 262

      Issue Summary

      Cloning a Submodule with LFS files in a Pipeline result into "Authorization Error" with some specific build images

      This is reproducible on Data Center: No

      Steps to Reproduce

      1. Create a Pipeline in a main repository using build image Debian
      2. Create SSH keys in the Pipeline settings of the main repository
      3. Add the generated Public key in the Submodule repository
      4. Clone the submodule in the main repository 

      Expected Results

      The submodule should be cloned without any issues

      Actual Results

      The submodule clone results into the following error

       

      Cloning into '/opt/atlassian/pipelines/agent/build/tools'...
      Downloading <file> (<File Size>)
      Error downloading object: <object name>: batch response: Authorization error: https://bitbucket.org/<Repo_UUID>/info/lfs/objects/batch
      Check that you have proper access to the repository 

      Workaround

      There are multiple workarounds

            Assignee:
            Unassigned
            Reporter:
            Sandeep K
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: