Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2829

mongodb-database-tools doesn't get upgrade with mongodb-enterprise via yum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: No versions
    • Component/s: None
    • Labels:
      None
    • Documentation Changes:
      Not Needed

      Description

      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
      
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            renato.riccio Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: