[SERVER-26583] MongoDB 3.4 packages appearing in 3.2 repo when running yum update Created: 11/Oct/16  Updated: 23/Nov/16  Resolved: 14/Oct/16

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.2.9
Fix Version/s: 3.2.11

Type: Bug Priority: Critical - P2
Reporter: Mark Fletcher Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 1
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-26564 Yum errors out when trying to install... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

See about output

Participants:

 Description   

Ive installed mongodb using the instructions on the mongodb wiki here:
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/

OS is CentOS 7.2. Im currently running MongoDB 3.2.9.

Running yum update from the command line, I expect to upgrade to version 3.2.10. But in this case Im being prompted to upgrade to 3.4, which I understand is pre-release and shouldnt be in the 3.2 repo?

Output from terminal:

[root@q-sl-ldb04 ~]# cat /etc/centos-release
CentOS Linux release 7.2.1511 (Core)
[root@q-sl-ldb04 ~]# more /etc/yum.repos.d/mongodb-org-3.2.repo
[mongodb-org-3.2]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-3.2.asc
[root@q-sl-ldb04 ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.math.princeton.edu
  • epel: mirror.math.princeton.edu
  • extras: mirror.vcu.edu
  • updates: mirror.symnds.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package bind-libs-lite.x86_64 32:9.9.4-29.el7_2.3 will be updated
    ---> Package bind-libs-lite.x86_64 32:9.9.4-29.el7_2.4 will be an update
    ---> Package bind-license.noarch 32:9.9.4-29.el7_2.3 will be updated
    ---> Package bind-license.noarch 32:9.9.4-29.el7_2.4 will be an update
    ---> Package kernel.x86_64 0:3.10.0-327.36.2.el7 will be installed
    ---> Package kernel-devel.x86_64 0:3.10.0-327.36.2.el7 will be installed
    ---> Package kernel-headers.x86_64 0:3.10.0-327.28.3.el7 will be updated
    ---> Package kernel-headers.x86_64 0:3.10.0-327.36.2.el7 will be an update
    ---> Package kernel-tools.x86_64 0:3.10.0-327.28.3.el7 will be updated
    ---> Package kernel-tools.x86_64 0:3.10.0-327.36.2.el7 will be an update
    ---> Package kernel-tools-libs.x86_64 0:3.10.0-327.28.3.el7 will be updated
    ---> Package kernel-tools-libs.x86_64 0:3.10.0-327.36.2.el7 will be an update
    ---> Package kmod.x86_64 0:20-5.el7 will be updated
    ---> Package kmod.x86_64 0:20-8.el7_2 will be an update
    ---> Package kmod-libs.x86_64 0:20-5.el7 will be updated
    ---> Package kmod-libs.x86_64 0:20-8.el7_2 will be an update
    ---> Package kpartx.x86_64 0:0.4.9-85.el7_2.5 will be updated
    ---> Package kpartx.x86_64 0:0.4.9-85.el7_2.6 will be an update
    ---> Package mongodb-org.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org.x86_64 0:3.4.0-0.1.rc0.el7 will be an update
    ---> Package mongodb-org-mongos.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-mongos.x86_64 0:3.4.0-0.1.rc0.el7 will be an update
    ---> Package mongodb-org-server.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-server.x86_64 0:3.4.0-0.1.rc0.el7 will be an update
    ---> Package mongodb-org-shell.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-shell.x86_64 0:3.4.0-0.1.rc0.el7 will be an update
    ---> Package mongodb-org-tools.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-tools.x86_64 0:3.4.0-0.1.rc0.el7 will be an update
    ---> Package openssl.x86_64 1:1.0.1e-51.el7_2.5 will be updated
    ---> Package openssl.x86_64 1:1.0.1e-51.el7_2.7 will be an update
    ---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.5 will be updated
    ---> Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.7 will be an update
    ---> Package python.x86_64 0:2.7.5-38.el7_2 will be updated
    ---> Package python.x86_64 0:2.7.5-39.el7_2 will be an update
    ---> Package python-libs.x86_64 0:2.7.5-38.el7_2 will be updated
    ---> Package python-libs.x86_64 0:2.7.5-39.el7_2 will be an update
    ---> Package python-perf.x86_64 0:3.10.0-327.28.3.el7 will be updated
    ---> Package python-perf.x86_64 0:3.10.0-327.36.2.el7 will be an update
    ---> Package selinux-policy.noarch 0:3.13.1-60.el7_2.7 will be updated
    ---> Package selinux-policy.noarch 0:3.13.1-60.el7_2.9 will be an update
    ---> Package selinux-policy-targeted.noarch 0:3.13.1-60.el7_2.7 will be updated
    ---> Package selinux-policy-targeted.noarch 0:3.13.1-60.el7_2.9 will be an update
    ---> Package systemd.x86_64 0:219-19.el7_2.12 will be updated
    ---> Package systemd.x86_64 0:219-19.el7_2.13 will be an update
    ---> Package systemd-libs.x86_64 0:219-19.el7_2.12 will be updated
    ---> Package systemd-libs.x86_64 0:219-19.el7_2.13 will be an update
    ---> Package systemd-python.x86_64 0:219-19.el7_2.12 will be updated
    ---> Package systemd-python.x86_64 0:219-19.el7_2.13 will be an update
    ---> Package systemd-sysv.x86_64 0:219-19.el7_2.12 will be updated
    ---> Package systemd-sysv.x86_64 0:219-19.el7_2.13 will be an update
    ---> Package tuned.noarch 0:2.5.1-4.el7_2.3 will be updated
    ---> Package tuned.noarch 0:2.5.1-4.el7_2.6 will be an update
    ---> Package tzdata.noarch 0:2016f-1.el7 will be updated
    ---> Package tzdata.noarch 0:2016g-2.el7 will be an update
    --> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================================
Installing:
kernel x86_64 3.10.0-327.36.2.el7 updates 33 M
kernel-devel x86_64 3.10.0-327.36.2.el7 updates 11 M
Updating:
bind-libs-lite x86_64 32:9.9.4-29.el7_2.4 updates 724 k
bind-license noarch 32:9.9.4-29.el7_2.4 updates 82 k
kernel-headers x86_64 3.10.0-327.36.2.el7 updates 3.2 M
kernel-tools x86_64 3.10.0-327.36.2.el7 updates 2.4 M
kernel-tools-libs x86_64 3.10.0-327.36.2.el7 updates 2.3 M
kmod x86_64 20-8.el7_2 updates 114 k
kmod-libs x86_64 20-8.el7_2 updates 47 k
kpartx x86_64 0.4.9-85.el7_2.6 updates 60 k
mongodb-org x86_64 3.4.0-0.1.rc0.el7 mongodb-org-3.2 5.8 k
mongodb-org-mongos x86_64 3.4.0-0.1.rc0.el7 mongodb-org-3.2 12 M
mongodb-org-server x86_64 3.4.0-0.1.rc0.el7 mongodb-org-3.2 20 M
mongodb-org-shell x86_64 3.4.0-0.1.rc0.el7 mongodb-org-3.2 11 M
mongodb-org-tools x86_64 3.4.0-0.1.rc0.el7 mongodb-org-3.2 48 M
openssl x86_64 1:1.0.1e-51.el7_2.7 updates 712 k
openssl-libs x86_64 1:1.0.1e-51.el7_2.7 updates 953 k
python x86_64 2.7.5-39.el7_2 updates 89 k
python-libs x86_64 2.7.5-39.el7_2 updates 5.6 M
python-perf x86_64 3.10.0-327.36.2.el7 updates 2.4 M
selinux-policy noarch 3.13.1-60.el7_2.9 updates 377 k
selinux-policy-targeted noarch 3.13.1-60.el7_2.9 updates 3.9 M
systemd x86_64 219-19.el7_2.13 updates 5.1 M
systemd-libs x86_64 219-19.el7_2.13 updates 358 k
systemd-python x86_64 219-19.el7_2.13 updates 100 k
systemd-sysv x86_64 219-19.el7_2.13 updates 54 k
tuned noarch 2.5.1-4.el7_2.6 updates 194 k
tzdata noarch 2016g-2.el7 updates 440 k

Transaction Summary
=================================================================================================================================================
Install 2 Packages
Upgrade 26 Packages

Total download size: 164 M
Is this ok [y/d/N]: n



 Comments   
Comment by Sam Kleinman (Inactive) [ 14/Oct/16 ]

Hello,

I just successfully attempted to install 3.2.10, and found that the packages were signed. We think that the root cause of this is that the unsigned packages were caught in the CDN cache, and the new/better packages have taken longer than expected to propagate. Please let know if you continue to see this behavior: if the signed packages haven't propagated yet, I expect that they will propagate soon.

Cheers,
sam

Comment by Mark Fletcher [ 11/Oct/16 ]

Alright, looks like the 3.4 package has gone - unfortunately cant upgrade to 3.2.10 as this version of the package is unsigned.

Steps to recreate:
yum update --disablerepo=mongodb-org-3.2
yum update # Will update everything else
yum update --enablerepo=mongodb-org-3.2

Output:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.math.princeton.edu
  • epel: reflector.westga.edu
  • extras: mirror.vcu.edu
  • updates: mirror.symnds.com
    Resolving Dependencies
    --> Running transaction check
    ---> Package mongodb-org.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org.x86_64 0:3.2.10-1.el7 will be an update
    ---> Package mongodb-org-mongos.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-mongos.x86_64 0:3.2.10-1.el7 will be an update
    ---> Package mongodb-org-server.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-server.x86_64 0:3.2.10-1.el7 will be an update
    ---> Package mongodb-org-shell.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-shell.x86_64 0:3.2.10-1.el7 will be an update
    ---> Package mongodb-org-tools.x86_64 0:3.2.9-1.el7 will be updated
    ---> Package mongodb-org-tools.x86_64 0:3.2.10-1.el7 will be an update
    --> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
Package Arch Version Repository Size
==============================================================================================================================================================
Updating:
mongodb-org x86_64 3.2.10-1.el7 mongodb-org-3.2 4.7 k
mongodb-org-mongos x86_64 3.2.10-1.el7 mongodb-org-3.2 5.6 M
mongodb-org-server x86_64 3.2.10-1.el7 mongodb-org-3.2 12 M
mongodb-org-shell x86_64 3.2.10-1.el7 mongodb-org-3.2 6.7 M
mongodb-org-tools x86_64 3.2.10-1.el7 mongodb-org-3.2 41 M

Transaction Summary
==============================================================================================================================================================
Upgrade 5 Packages

Total size: 65 M
Is this ok [y/d/N]: y
Downloading packages:

Package mongodb-org-3.2.10-1.el7.x86_64.rpm is not signed

Comment by Sam Kleinman (Inactive) [ 11/Oct/16 ]

Sorry for this error and any inconvenience that it caused, I believe that we've fixed this issue, which was a transient error in an attempt to fix SERVER-26583 (which is now also fixed,) I've opened MAKE-109, which should prevent the kind of error that caused this issue in the future.

I'm going to go ahead and close this issue, but thanks so much for this report, and sorry again for any trouble that this caused.

Comment by Mark Fletcher [ 11/Oct/16 ]

[root@q-sl-ldb04 ~]# yum --showduplicates list mongodb-org
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: mirror.math.princeton.edu
  • epel: mirror.math.princeton.edu
  • extras: mirror.vcu.edu
  • updates: mirror.symnds.com
    Installed Packages
    mongodb-org.x86_64 3.2.9-1.el7 @mongodb-org-3.2
    Available Packages
    mongodb-org.x86_64 3.2.0-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.1-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.2-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.3-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.4-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.5-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.6-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.7-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.8-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.9-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.2.10-1.el7 mongodb-org-3.2
    mongodb-org.x86_64 3.4.0-0.1.rc0.el7 mongodb-org-3.2
Generated at Thu Feb 08 04:12:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.