[SERVER-33170] yum mongodb-org-tools-3.6.2-1.el6.x86_64.rpm fails with "more than max size" Created: 07/Feb/18  Updated: 12/Feb/18  Resolved: 12/Feb/18

Status: Closed
Project: Core Server
Component/s: Packaging
Affects Version/s: 3.6.2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: John Keltner Assignee: Zakhar Kleyman
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Red Hat Enterprise Linux Server release 6.9 (Santiago)


Operating System: ALL
Steps To Reproduce:

On Red Hat Enterprise Linux Server release 6.9 (Santiago) run:
yum install -y mongodb-org
using the repo configuration in the mongoDB documentation for a Red Hat installation.

Sprint: Build Expedite
Participants:

 Description   

==================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================
Updating:
mongodb-org x86_64 3.6.2-1.el6 mongodb-org-3.6 5.8 k
Updating for dependencies:
mongodb-org-mongos x86_64 3.6.2-1.el6 mongodb-org-3.6 12 M
mongodb-org-server x86_64 3.6.2-1.el6 mongodb-org-3.6 20 M
mongodb-org-shell x86_64 3.6.2-1.el6 mongodb-org-3.6 12 M
mongodb-org-tools x86_64 3.6.2-1.el6 mongodb-org-3.6 15 M

Transaction Summary
==================================================================================================================================
Upgrade 5 Package(s)

Total download size: 58 M
Downloading Packages:
(1/5): mongodb-org-3.6.2-1.el6.x86_64.rpm | 5.8 kB 00:00
(2/5): mongodb-org-mongos-3.6.2-1.el6.x86_64.rpm | 12 MB 00:00
(3/5): mongodb-org-server-3.6.2-1.el6.x86_64.rpm | 20 MB 00:00
(4/5): mongodb-org-shell-3.6.2-1.el6.x86_64.rpm | 12 MB 00:00
https://repo.mongodb.org/yum/redhat/6Server/mongodb-org/3.6/x86_64/RPMS/mongodb-org-tools-3.6.2-1.el6.x86_64.rpm: [Errno 14] Downloaded more than max size for https://repo.mongodb.org/yum/redhat/6Server/mongodb-org/3.6/x86_64/RPMS/mongodb-org-tools-3.6.2-1.el6.x86_64.rpm: 17168889 > 15597568

Comparing the tools package sizes from repodata:
3.6.2 <size package="15597568" installed="150222152" archive="150224944"/>
3.6.1 <size package="48633659" installed="150217240" archive="150220032"/>
3.6.0 <size package="48613799" installed="150154771" archive="150157560"/>
the package size for 3.6.2 is much smaller than its predecessors and matches the troubling size in the error report.



 Comments   
Comment by John Keltner [ 09/Feb/18 ]

Improvement is always welcome. I must say though, I've done a lot of mongoDb installs and this is the first one I've ever had any trouble with. Compared to everyone else, you all are easily the best!

Comment by Zakhar Kleyman [ 09/Feb/18 ]

I'm glad to hear it worked, thank you for letting us know!

We're also working on improving release process and repo monitoring. Once done, I hope you won't ever see this problem again.

Comment by John Keltner [ 09/Feb/18 ]

The yum install now succeeds:

MongoDB shell version v3.6.2
Enter password:
connecting to: mongodb://127.0.0.1:27017/admin
MongoDB server version: 3.6.2
> version();
3.6.2

Thank you very much! Cheers, John

Comment by Zakhar Kleyman [ 09/Feb/18 ]

I was able to reproduce the problem, so I re-generated the repo metadata.

It works for me now, but I had to run yum clean all before running yum install -y mongodb-org

Can you please try to install the package now?

Comment by Holger Joukl [ 09/Feb/18 ]

I'm having the same problem - probably means some (server-side i.e. mongodb) "createrepo --update --database <path-to-rpm-repo dir>" is necessary?

Comment by Mark Agarunov [ 07/Feb/18 ]

Hello j18638rho,

Thank you for the report. I've managed to reproduce this behavior and have set the fixVersion on this ticket to "Needs Triage" to be scheduled against our currently planned work. Please watch this ticket for updates on the issue.

Thanks,
Mark

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