[SERVER-26564] Yum errors out when trying to install mongo-org on RHEL 7.2 Created: 10/Oct/16  Updated: 19/Nov/16  Resolved: 14/Oct/16

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: None
Fix Version/s: 3.4.0-rc1

Type: Bug Priority: Major - P3
Reporter: Jared Bristow Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-26583 MongoDB 3.4 packages appearing in 3.2... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Evergreen 2016-10-31
Participants:
Linked BF Score: 0

 Description   

Here's the output from the command line:
Dependencies Resolved

===================================================================================================================================================================================
Package Arch Version Repository Size
===================================================================================================================================================================================
Installing:
mongodb-org x86_64 3.2.10-1.el7 mongodb 5.8 k
Installing for dependencies:
mongodb-org-mongos x86_64 3.2.10-1.el7 mongodb 5.6 M
mongodb-org-server x86_64 3.2.10-1.el7 mongodb 5.5 M
mongodb-org-shell x86_64 3.2.10-1.el7 mongodb 6.7 M
mongodb-org-tools x86_64 3.2.10-1.el7 mongodb 41 M

Transaction Summary
===================================================================================================================================================================================
Install 1 Package (+4 Dependent packages)

Total size: 59 M
Total download size: 5.5 M
Installed size: 201 M
Is this ok [y/d/N]: y
Downloading packages:
mongodb-org-server-3.2.10-1.el FAILED [=====================================- ] 0.0 B/s | 3.2 MB -::- ETA
https://repo.mongodb.org/yum/redhat/7Server/mongodb-org/3.2/x86_64/RPMS/mongodb-org-server-3.2.10-1.el7.x86_64.rpm: [Errno 14] curl#63 - "Callback aborted" | 3.2 MB -::- ETA
Trying other mirror.

Error downloading packages:
mongodb-org-server-3.2.10-1.el7.x86_64: [Errno 256] No more mirrors to try.

I'm not having issues on other OSes (CentOS 7, CentOS 6, RHEL 6). Just RHEL7.

I can download the RPM with my browser just fine, so I think the issue is with a GPG key

The URL for the mongo repo is:
https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64/

On my redhat server, the $releasever variable resolves to "7Server".

Browsing to "https://repo.mongodb.org/yum/redhat/", and can see that "7" is an available option. I changed the $releasever variable to that in my mongo repo file, and then run the yum install. It asks me to accept a key, and then the install works.

Here's the request to accept the key:
Retrieving key from https://www.mongodb.org/static/pgp/server-3.2.asc
Importing GPG key 0xEA312927:
Userid : "MongoDB 3.2 Release Signing Key <packaging@mongodb.com>"
Fingerprint: 42f3 e95a 2c4f 0827 9c49 60ad d68f a50f ea31 2927
From : https://www.mongodb.org/static/pgp/server-3.2.asc
Is this ok [y/N]: y

Because I was suspicious about the key being the issue, I tried removing the mongodb-org, switching my repo back to using $relesasever, and then installing mongodb-org again. This time it worked.



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

Sorry for not updating this ticket sooner, I've been tracking this repair work in other tickets and have neglected to update this ticket.

There was an underlying problem in our package publishing jobs that lead to occasionally uploading data that was not properly signed, which should now be fixed for all branches. I've attempted to clean up the existing repositories but there are some reports that I've not been able to observe about unsigned packages in this repository. I've not been able to reproduce these reports at this point, and they may be due to caching in the CDN, but I will continue to look into this today.

I'm glad that the /7/ repository gave you a quick work around to this issue, and sorry for any inconvenience or confusion that this has caused.

Regards,
sam

Comment by Githook User [ 14/Oct/16 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-26564: update curator release
Branch: v3.0
https://github.com/mongodb/mongo/commit/d2e92e8dfba251131827182fa4b6f36f5dbd22aa

Comment by Githook User [ 14/Oct/16 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-26564: update curator release

(cherry picked from commit 4b06a21895f292f45f58659a2e674d4e80e65614)
Branch: v3.2
https://github.com/mongodb/mongo/commit/c696e41238589270f7aab873ae1e81645be860df

Comment by Githook User [ 14/Oct/16 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: SERVER-26564: update curator release
Branch: master
https://github.com/mongodb/mongo/commit/4b06a21895f292f45f58659a2e674d4e80e65614

Generated at Thu Feb 08 04:12:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.