Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38862

mongod --enableFreeMonitoring flag still not supported on generic Linux build

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.3, 4.0.4, 4.0.5
    • Component/s: Build, Packaging
    • None
    • ALL
    • Hide

      > uname -a
      {{ Linux benjamn 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux}}
      > curl http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.5.tgz | tar xz
      {{ % Total % Received % Xferd Average Speed Time Time Time Current}}
      {{ Dload Upload Total Spent Left Speed}}
      {{ 100 69.8M 100 69.8M 0 0 26.6M 0 0:00:02 0:00:02 -::- 26.6M}}
      {{ > mongodb-linux-x86_64-4.0.5/bin/mongod --enableFreeMonitoring off}}
      {{ Error parsing command line: unrecognised option '--enableFreeMonitoring'}}
      {{ try 'mongodb-linux-x86_64-4.0.5/bin/mongod --help' for more information}}

      Show
      > uname -a {{ Linux benjamn 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64 GNU/Linux}} > curl http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.5.tgz | tar xz {{ % Total % Received % Xferd Average Speed Time Time Time Current}} {{ Dload Upload Total Spent Left Speed}} {{ 100 69.8M 100 69.8M 0 0 26.6M 0 0:00:02 0:00:02 - : : - 26.6M}} {{ > mongodb-linux-x86_64-4.0.5/bin/mongod --enableFreeMonitoring off}} {{ Error parsing command line: unrecognised option '--enableFreeMonitoring'}} {{ try 'mongodb-linux-x86_64-4.0.5/bin/mongod --help' for more information}}

      TheĀ --enableFreeMonitoring flag was fixed in MongoDB 4.0.3 to avoid a segmentation fault, so I was hopeful that we could begin using it in Meteor to silence the banner about free monitoring whenever our developers start the Mongo shell: https://jira.mongodb.org/browse/SERVER-36474

      Although the --enableFreeMonitoring off flag works on Mac OS, virtually all of our CircleCI integration tests began failing, because the flag seems not to be supported on Linux.

      I have verified this problem using MongoDB 4.0.4 and 4.0.5, and I presume it affects 4.0.3 as well. Earlier versions suffer from the segmentation fault problem linked above.

      If we are unable to disable the free monitoring advertisement, we will have to go back to starting the shell with --quiet, which is not ideal because it hides some other useful information.

      I understand that you might (consciously or unconsciously) prefer for developers to see the advertising banner, but that's not the experience we at Meteor want to expose to our developers.

            Assignee:
            ramon.fernandez@mongodb.com Ramon Fernandez Marina
            Reporter:
            benjamn Ben Newman
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: