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

RPM remote repository feature does not work with certain repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 3 - High
    • Resolution: Not a Bug
    • Affects Version/s: 4.3.2, 4.14.1, 4.14.2
    • Fix Version/s: None
    • Component/s: YUM
    • Labels:
      None
    • Severity:
      High

      Description

      RPM remote repository feature does not work with certain repositories, such as: https://packages.cloud.google.com/yum/repos/google-cloud-logging-el7-x86_64

      Artifactory is able to download the repodata and parse it but produces bad results:

      Downloading Packages:
      http://192.168.99.1:8081/artifactory/google-logging-el7-remote/../../pool/969adef813d924832352a52b5f0702ee873ce6c4033e478674aa3f6a2529dca9-google-fluentd-1.5.7-1.el7.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
      Trying other mirror.
      
      
      Error Downloading Packages:
        google-fluentd-1.5.7-1.el7.x86_64: failure: ../../pool/969adef813d924832352a52b5f0702ee873ce6c4033e478674aa3f6a2529dca9-google-fluentd-1.5.7-1.el7.x86_64.rpm from Artifactory: [Errno 256] No more mirrors to try.
      

      Using the Google repository directly instead of through Artifactory works:

      Total download size: 45 M
      Installed size: 174 M
      Is this ok [y/N]: y
      Downloading Packages:
      969adef813d924832352a52b5f0702ee873ce6c4033e478674aa3f6a2529dca9-google-fluentd-1.5.7-1.el7.x86_64.rpm                                                                                                                 |  45 MB     00:12     
      Running rpm_check_debug
      Running Transaction Test
      Transaction Test Succeeded
      Running Transaction
        Installing : google-fluentd-1.5.7-1.el7.x86_64                                                                                                                                                                                          1/1 
      adding 'google-fluentd' group...
      adding 'google-fluentd' user...
      Configure google-fluentd to start, when booting up the OS...
        Verifying  : google-fluentd-1.5.7-1.el7.x86_64                                                                                                                                                                                          1/1 
      
      Installed:
        google-fluentd.x86_64 0:1.5.7-1.el7                                                                                                                                                                                      
      

      To reproduce:
      1. Create a remote repository with the remote url: https://packages.cloud.google.com/yum/repos/google-cloud-logging-el7-x86_64
      2. Create the necessary .repo file
      3. Attempt to download a package (google-fluentd), as such:

      yum --disablerepo=* --enablerepo=Artifactory install google-fluentd
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              aviz Avi Zaig (Inactive)
              Reporter:
              arturoa Arturo Aparicio (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

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