Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17727

Resolving from a Virtual repository with a local repo with include patterns will fail docker push at the local repository

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.3.3, 6.5.2
    • Fix Version/s: 6.5.6
    • Component/s: None
    • Labels:
      None

      Description

      if you have an include patterns in a local repo, and trying to push an image from a virtual that aggregates the local repo. 

      It gives the below error

      unauthorized: The client does not have permission to push to the repository.

      Steps to reproduce:- 

      -Create docker virtual repo, local and remote repo. include local and remote to docker virtual 

      • Add include patterns to docker local **/ or "///*/ .    
      • Pull an image from the virtual repo. Tag the image before pushing to local
      • Try pushing an image to docker local. 
      • The docker image push fails with "unauthorized: The client does not have permission to push to the repository."

       

      2018-10-26 19:26:13,080 [http-nio-8081-exec-3] [WARN ] (o.a.a.c.r.ArtifactoryService:507) - The repository 'docker-local' rejected the artifact 'docker-local:nginx/_uploads' due to its include/exclude pattern settings.
      2018-10-26 19:26:13,080 [http-nio-8081-exec-1] [WARN ] (o.a.a.c.r.ArtifactoryService:507) - The repository 'docker-local' rejected the artifact 'docker-local:nginx/_uploads' due to its include/exclude pattern settings.

       

      20181029111923|11|REQUEST|10.8.16.43|admin|PUT|/api/docker/docker-local/v2/tomcat/manifests/latest|HTTP/1.1|403|27733

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                balajis Balaji Satish
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: