Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13719

$releaseserver variable Red Hat Enterprise Linux 7 creates a repo URL where mongodb RPMs are absent

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: 4.2.7
    • Component/s: manual, Server
    • Labels:
      None
    • Environment:
      Red Hat Enterprise Linux Workstation release 7.7 (Maipo)

      Description

      In the tutorial it's listed that a repo needs to be created like this:

      [mongodb-org-4.2]

      name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.2/x86_64/ gpgcheck=1
      enabled=1
      gpgkey=https://www.mongodb.org/static/pgp/server-4.2.asc

       

      Here $releasever variable points to 7Workstation

      { "arch": "ia32e", "basearch": "x86_64", "osver": "7.7", "uuid": "--------------------------", "releasever": "7Workstation" }

      which eventually leads to baseurl  = https://repo.mongodb.org/yum/redhat/7Workstation/mongodb-org/4.2/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

      ===============================
      The Repo URL originally is 
      https://repo.mongodb.org/yum/redhat/7/mongodb-org/4.2/x86_64/
      or
      For server edition
      https://repo.mongodb.org/yum/redhat/7Server/mongodb-org/4.2/x86_64/

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            Reporter:
            abhinavshrivastava1592@gmail.com Abhinav Shrivastava
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 44 weeks, 5 days ago