[SERVER-54057] Mongodb-org-server el8 package has dependency on python2 Created: 26/Jan/21 Updated: 29/Oct/23 Resolved: 05/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | 4.4.5, 4.2.14, 4.0.25 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | INVADE International Ltd | Assignee: | Ryan Egesdahl (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.4, v4.2, v4.0
|
||||||||||||
| Sprint: | Dev Platform 2021-02-22, Dev Platform 2021-03-08 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
I’ve just deployed MongoDB Community Edition to a CentOS 8 system using the repo detailed here: I noticed that the installation prompted a number of Python 2 packages to be installed as a dependency. Querying the mongodb-org-server package confirms the dependency: As Python 2 was sunset at the beginning of last year: CentOS 8 uses Python 3 by default. I’m not sure what the dependency on Python 2 is but, are there any known plans to move to Python 3? |
| Comments |
| Comment by Githook User [ 07/May/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: This requirement should never have been on the server package once the (cherry picked from commit 364c92daaa4666e6428b6e0b805d71a01edf395c) |
| Comment by Githook User [ 05/Mar/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: This requirement should never have been on the server package once the (cherry picked from commit 364c92daaa4666e6428b6e0b805d71a01edf395c) |
| Comment by Githook User [ 05/Mar/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: (cherry picked from commit 27723699479793778e7198f9e88483c72717c08e) |
| Comment by Githook User [ 05/Mar/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: This requirement should never have been on the server package once the (cherry picked from commit 364c92daaa4666e6428b6e0b805d71a01edf395c) |
| Comment by Githook User [ 05/Mar/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: Revert " This reverts commit f695de2d08902dc69c45cb6795be9eae51265643. |
| Comment by Githook User [ 03/Mar/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: This requirement should never have been on the server package once the (cherry picked from commit 364c92daaa4666e6428b6e0b805d71a01edf395c) |
| Comment by Githook User [ 03/Mar/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: (cherry picked from commit 27723699479793778e7198f9e88483c72717c08e) |
| Comment by Githook User [ 25/Feb/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: This requirement should never have been on the server package once the |
| Comment by Githook User [ 16/Feb/21 ] |
|
Author: {'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}Message: |
| Comment by Chris Dellaway [ 02/Feb/21 ] |
|
Both openssl and python are listed as explicit requires in the server spec ( the mongodb-org-shell also has an unneeded dependency on openssl). Requires: openssl, %{timezone_pkg}, %{python_pkg}
None of the rpm scripts or package files seem to invoke these. Ignoring missing dependencies of openssl and python2 results in a perfectly functioning mongod:
cat /etc/redhat-release
rpm -Uvh mongodb-org-server-4.4.3-1.el8.x86_64.rpm
rpm -Uvh --nodeps mongodb-org-server-4.4.3-1.el8.x86_64.rpm
mongod --dbpath /var/lib/mongo/ --tlsCertificateKeyFile /src/us-mongo-combined.pem --tlsMode requireTLS --fork --logpath /var/log/mongodb/mongod.log
mongo 127.0.0.1 --tls --eval 'db.isMaster()' ,"s":"W", "c":"NETWORK", "id":23237, "ctx":"js","msg":"You have an IP Address in the DNS Name field on your certificate. This formulation is deprecated."} ,
|