Between November 16th and 17th, 2022, a problem was introduced to the RedHat 8 repositories in repo.monogodb.org, where only the latest versions are listed for the 4.4 and 5.5 series.
The following repomd.xml files reference <location href="repodata/primary.xml.gz"/>:
- https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/repodata/repomd.xml
-
https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/repomd.xml
…but the referencedprimary.xmlonly includes the latest version of each package, so we are unable to install the versions pinned in our Ansible playbooks.
You can see this with the following commands:
$ curl -Ls https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/repodata/primary.xml.gz | gunzip | fgrep -B1 -A2 '<name>mongodb-org</name>'
<package type="rpm">
<name>mongodb-org</name>
<arch>x86_64</arch>
<version epoch="0" ver="4.4.18" rel="1.el8"/>
$ curl -Ls https://repo.mongodb.org/yum/redhat/8/mongodb-org/5.0/x86_64/repodata/primary.xml.gz | gunzip | fgrep -B1 -A2 '<name>mongodb-org</name>'
<package type="rpm">
<name>mongodb-org</name>
<arch>x86_64</arch>
<version epoch="0" ver="5.0.14" rel="1.el8"/>