Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-25039

Download of docker tags from hosted repository can fail with 400 response

    XMLWordPrintable

    Details

    • Notability:
      2

      Description

      Upload an image to a hosted docker repository that has its deployment policy set to disallow overwrites.  This works fine.

      Now attempt to download the tag of the recently uploaded image.  This will fail with a 400 response. The log shows the warning:

       

      2020-08-24 13:07:42,301-0400 WARN [qtp608516739-82642] EnterprisePrimaryNode_1 nexusadmin org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: GET /v2/pipeline/python-webapp/manifests/3.0.10: 400 - Repository does not allow updating assets: docker-hosted

      Expected: Download of an asset should not cause the deployment policy to be evaluated.

      Temporary workaround (until this is fixed)... set the deployment policy of the repository to allow redeploys.

        Attachments

          Activity

            People

            Assignee:
            rharaiev Roman Haraiev
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Joseph Stephens
            Team:
            NXRM - Rocket Raccoon
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title

                  PagerDuty