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

YUM virtual repo gives 404 on repodata with overlapping path if auth is enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 4 - Normal
    • Resolution: Deferred
    • Affects Version/s: 5.0.1, 5.4.5
    • Fix Version/s: None
    • Component/s: YUM
    • Labels:
      None
    • Environment:

      CentOS 6.8 Final
      Java OpenJDK 1.8.0_121b13
      8GB RAM
      2 CPU Core's

    • Severity:
      Medium

      Description

      I found that when using this kind of combination:
      Force authentication, YUM virtual repo, local yum repos has overlapping paths with repodata
      Sometimes artifactory gives 404 error on download YUM metada from that overlapping path
      I know it affect's versions 5.0.1 - 5.4.5
      For example if i have virtual repo named virt, it contais these local repos local1 local2 local3, and local1 and local2 repo path is generated at level 2 and i both repo's has same folder name at level 2, when i try to use virtual repo virt and download yum metadata from that level 2 path, i occasionally get 404 error on repodata xml files. If i enable anonymous access, this does not happen.
      So i made that path's do not overlap in local repo, and all errors are gone.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            tomaxsas Tomas Zaleniakas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-14671 -
                SYNCHRONIZED
                • Last Sync Date: