Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-1392

Jenkins mirrors missing repodata/repomd.xml

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Won't Fix
    • Component/s: etc
    • Labels:
      None
    • Environment:
      RHEL 7
    • Similar Issues:

      Description

      I'm trying to install Jenkins to a RHEL 7 system whose internet access has to be whitelisted. This causes problems with the Jenkins YUM mirror setup, as using the default https://pkg.jenkins.io/redhat-stable repo means I'll get redirected to a random (i.e. not-whitelisted) mirror.

      What I need to be able to do is "pin" a specific mirror and use it. I've created the following /etc/yum.repos.d/Jenkins-stable.repo file:

      [Jenkins-stable]
      baseurl = http://ftp-nyc.osuosl.org/pub/jenkins/redhat-stable
      gpgcheck = 1
      gpgkey = http://ftp-nyc.osuosl.org/pub/jenkins/redhat-stable/jenkins.io.key
      name = Jenkins release repo from https://jenkins.io/download/.

      Unfortunately, yum dies with HTTP 404 errors about being unable to get to http://ftp-nyc.osuosl.org/pub/jenkins/redhat-stable/repodata/repomd.xml. Any chance this file could get pushed out to the mirrors?

        Attachments

          Activity

          Hide
          rtyler R. Tyler Croy added a comment -

          Sorry to be a downer but I have no plans to support our secondary mirrors as "full" yum or apt repositories.

          Over the coming months we're going to continue to source more and more information in Azure storage, so the redirecting will at least (at that point) be consolidated to a single Azure endpoint

          Show
          rtyler R. Tyler Croy added a comment - Sorry to be a downer but I have no plans to support our secondary mirrors as "full" yum or apt repositories. Over the coming months we're going to continue to source more and more information in Azure storage, so the redirecting will at least (at that point) be consolidated to a single Azure endpoint

            People

            • Assignee:
              rtyler R. Tyler Croy
              Reporter:
              karlmdavis karlmdavis
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: