-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Not Needed
Problem Description
On RHEL 8, when upgrading MongoDB via yum (for example from 4.4.1 to 4.4.4) using
yum upgrade mongodb-enterprise
only the engine binaries get correctly upgraded while tools won't. In order to upgrade the tools we need to run explicitly
yum upgrade mongodb-database-tools
Steps to Reproduce
yum install mongodb-enterprise-4.4.1 mongodb-enterprise-server-4.4.1 mongodb-enterprise-shell-4.4.1 mongodb-enterprise-mongos-4.4.1 mongodb-enterprise-tools-4.4.1 mongodb-database-tools-100.2.0 [root@n1 /]# mongodump --version mongodump version: 100.2.0 git version: 832fb10e683cddd68dbd39b7e735362d9430d312 Go version: go1.12.17 os: linux arch: amd64 compiler: gc [root@n1 /]# mongod --version db version v4.4.1 Build Info: { "version": "4.4.1", "gitVersion": "ad91a93a5a31e175f5cbf8c69561e788bbc55ce1", "openSSLVersion": "OpenSSL 1.0.1e-fips 11 Feb 2013", "modules": [ "enterprise" ], "allocator": "tcmalloc", "environment": { "distmod": "rhel70", "distarch": "x86_64", "target_arch": "x86_64" } } yum upgrade mongodb-enterprise [root@n1 /]# mongod --version db version v4.4.4 Build Info: { "version": "4.4.4", "gitVersion": "8db30a63db1a9d84bdcad0c83369623f708e0397", "openSSLVersion": "OpenSSL 1.0.1e-fips 11 Feb 2013", "modules": [ "enterprise" ], "allocator": "tcmalloc", "environment": { "distmod": "rhel70", "distarch": "x86_64", "target_arch": "x86_64" } } [root@n1 /]# mongodump --version mongodump version: 100.2.0 git version: 832fb10e683cddd68dbd39b7e735362d9430d312 Go version: go1.12.17 os: linux arch: amd64 compiler: gc yum upgrade mongodb-database-tools [root@n1 /]# mongodump --version mongodump version: 100.3.1 git version: 32632b931f9c41d8314b75ecc88e551b012b1e30 Go version: go1.15.8 os: linux arch: amd64 compiler: gc