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

Yum proxy repository with relative paths in "location" cannot be proxied

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.6.0, 3.7.0
    • Fix Version/s: None
    • Component/s: Yum
    • Labels:

      Description

      This yum repository:

      https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64

      has relative paths in it's "location" tags in the primary.xml.gz file:

      <location href="../../pool/5116fa4b73c700823cfc76b3cedff6622f2fbd0a3d2fa09bce6d93329771e291-kubeadm-1.6.0-0.x86_64.rpm"/>
      

      It is not possible to create a proxy repository of this location in Nexus 3, because the "location" tags are not rewritten.  The yum client attempts to make a request to the "../../pool" location against nexus, and this is not valid.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Peter Lynch
              Team:
              Nexus - Formats
              Votes:
              3 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title